Session Data

Array
(
    [copy_from_salesorderno] => Q061398
    [HubSpot] => Array
        (
            [hs_deal_id] => 49718757435
            [hs_company_id] => 25395507082
            [salesorderno] => Q061398
            [repid] => 0076
            [contact_id] => 74364826737
            [contact_email] => info@blueraingrow.com
            [contact_phone] => 
            [contact_address] => 
            [company_name] => Blue Rain
            [company_mas_customer_no] => 
            [mas_customer_no] => BLU6000
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Blue Rain
                    [Contact_First] => Angela
                    [Contact_Last] => Vitacco
                    [Zip] => 49646
                    [Email] => info@blueraingrow.com
                    [Phone] => 8473667430
                    [customerid] => 144647
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [place_id] => 
                    [mascustnum] => BLU6000
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 144647
                    [mas_cust_no] => BLU6000
                )

            [billing] => Array
                (
                    [Company] => Blue Rain
                    [Contact_First] => Angela
                    [Contact_Last] => Vitacco
                    [Address1] => 417 Maple St. #417
                    [Address2] => 
                    [Address3] => 
                    [City] => Kalkaska
                    [State] => MI
                    [Zip] => 49646
                    [Country] => USA
                    [Email] => info@blueraingrow.com
                    [Phone] => 8473667430
                )

            [shipping] => Array
                (
                    [ShipToName] => Blue Rain
                    [Address1] => 417 Maple St. #417
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Kalkaska
                    [State] => MI
                    [Zip] => 49646
                    [Country] => USA
                    [Email] => info@blueraingrow.com
                    [Phone] => 8473667430
                )

            [mas_search] => Array
                (
                    [mas_cust_no] => BLU6000
                    [mas_cust_exists] => true
                )

            [leadid] => 21665
            [summary] => Array
                (
                    [SalesPersonNo] => 0076
                    [ProductLine] => CL
                    [forecasting_likelihood] => 
                    [forecasting_expected_close_date] => 
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => api_freight
                    [freight_estimate_value] => 93.60
                    [dealer_discount] => true
                    [discount_value] => 10
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote_to] => info@blueraingrow.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [gm_account_no] => 144647
    [mas_cust_no] => BLU6000
    [last_completed_step] => 5
    [copy_quote] => 1
    [mas_cust_exists] => true
    [exportid] => 93071
    [masquotenum] => Q062199
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0076
    [ProductLine] => CL
    [forecasting_likelihood] => 
    [forecasting_expected_close_date] => 
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => api_freight
    [freight_estimate_value] => 93.60
    [dealer_discount] => true
    [discount_value] => 10
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote_to] => info@blueraingrow.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [email_quote_body] => 

Hello <<&dear>>,

It was great speaking with you.

Attached is your quote and product literature.

Filter Change Schedule

Pre-filter:  2 Flower cycles
Bag:      6 Flower cycles
Carbon:    6 Flower cycles

If you have any questions, don't hesitate to contact me. 

Sincerely,


<<&RepName>>

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. <<&RepPhoneExt>>
866 422-4099 Fax
<<&RepEmail>>
http://www.cleanleaf.com/



[files] => [email_product_literature] => true [includedPDFs] => Array ( [0] => {QUOTE} [1] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 4.0531158447266E-6 secs since start
after getting new exportid ... 93071: 0.093963146209717 secs since start
Session ID: 8cau62f6p09oq43hhi2oplr1dj
just before engaging cartlink ...: 0.30112814903259 secs since start
after most cartlink items ...: 0.30266809463501 secs since start
after getting new so num ...: 0.45558714866638 secs since start
after remaining cartlink items ...: 0.45562314987183 secs since start
SO Number: Q062199
just prior to terms gathering ...: 0.45564913749695 secs since start
after getting customer terms ...: 0.54682898521423 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => BOF-051296
            [name] => Fiberglass Bag, 20" X 15" X 12" MERV 15 (95%) 

6.0 Pockets, Gasket None, Loops None, Std Header, Nom Size, with Velcro

(Priced Each / Sold in Cartons of 4)

Used in OX1100-CC/ -HE and CL1100-CC/ -HE [qty] => 8 [price] => 77.00 [cost] => 45.97 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q062199','BOF-051296','Fiberglass Bag, 20" X 15" X 12" MERV 15 (95%) 6.0 Pockets, Gasket None, Loops None, Std Header, Nom Size, with Velcro (Priced Each / Sold in Cartons of 4) Used in OX1100-CC/ -HE and CL1100-CC/ -HE','Y','45.97','8','8','77.00','616.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.57219696044922 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1765922140_2609.pdf
after merging and generating email/quote PDFs ...: 64.734143972397 secs since start
File: files[Quote.pdf] => @
File DNE! Skipping ... :
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 64.821988105774 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 65.011497020721 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 67.05904507637 secs since start
strJSON:
{"exportid":"93071","import_result":null,"import_error":"","fileurl":"GMImport_93071_1765922142_33062.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Blue Rain","goldmine_email":"info@blueraingrow.com","goldmine_phone":"8473667430","mas_quote_number":"Q062199","mas_customer_number":"BLU6000"}
end: 68.079807043076 secs since start