Session Data

Array
(
    [HubSpot] => Array
        (
            [hs_deal_id] => 55475249224
            [hs_company_id] => 0
            [salesorderno] => 
            [repid] => 0076
            [contact_id] => 199208554646
            [contact_email] => blang@vibecanna.com
            [contact_phone] => 
            [contact_address] => 
            [company_name] => 
            [company_mas_customer_no] => 
            [mas_customer_no] => 
            [FirstName] => Brandon
            [LastName] => Lang
            [Zip] => 
            [Phone] => 
            [Email] => blang@vibecanna.com
            [Address] => 
            [City] => 
            [State] => 
            [Company] => VIBE Cannabis
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => VIBE Cannabis
                    [Contact_First] => Brandon
                    [Contact_Last] => Lang
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 63147
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 154101
                    [mas_cust_no] => VIB6314
                )

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

            [billing] => Array
                (
                    [Company] => VIBE Cannabis
                    [Contact_First] => Brandon
                    [Contact_Last] => Lang
                    [Address1] => 7110 N. Broadway
                    [Address2] => 
                    [Address3] => 
                    [City] => Saint Louis
                    [State] => MO
                    [Zip] => 63147
                    [Country] => USA
                    [Email] => blang@vibecanna.com
                    [Phone] => (314) 814-5493
                )

            [shipping] => Array
                (
                    [ShipToName] => VIBE Cannabis
                    [Address1] => 7110 N. Broadway
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Saint Louis
                    [State] => MO
                    [Zip] => 63147
                    [Country] => USA
                    [Email] => blang@vibecanna.com
                    [Phone] => (314) 814-5493
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0076
                    [ProductLine] => CL
                    [forecasting_likelihood] => 
                    [forecasting_expected_close_date] => 
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [freight_estimate] => true
                    [freight_type] => api_freight
                    [freight_estimate_value] => 1339.00
                    [lead_time] => 2-3 Weeks, depending on stock and availability.
                    [email_quote_to] => blang@vibecanna.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
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 154101
    [mas_cust_no] => VIB6314
    [mas_cust_exists] => true
    [exportid] => 94829
    [masquotenum] => Q063684
    [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
    [freight_estimate] => true
    [freight_type] => api_freight
    [freight_estimate_value] => 1339.00
    [lead_time] => 2-3 Weeks, depending on stock and availability.
    [email_quote_to] => blang@vibecanna.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 ... 94829: 0.10097193717957 secs since start
Session ID: 1ah8qrtun5jjlodl5rpu2sq215
just before engaging cartlink ...: 0.30436897277832 secs since start
after most cartlink items ...: 0.30560898780823 secs since start
after getting new so num ...: 0.46246814727783 secs since start
after remaining cartlink items ...: 0.46250295639038 secs since start
SO Number: Q063684
just prior to terms gathering ...: 0.46251893043518 secs since start
after getting customer terms ...: 0.55128812789917 secs since start
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q063684','CLF-6604','26x26x4" Pleated Pre-Filter Acutal: 26.25x26x4 Merv 10 Priced Each / Sold in Cartons of 6 Used in CL2500D-CF, FX-AC-2500D-CF, CL2500D-CCPHE, FX2500D-CCPHE, CL2500D-CCP, FX-AC-2500D-CCP, CL2500D-HE, and FX-AC-2500D-HE','Y','23.88','60','60','39.80','2388.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q063684','CLF-662898','26x26x28" 95% 8 Pocket Bag Filter Merv 15 Price Each Carton of 5','Y','14.17','15','15','48.34','725.10','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q063684','CLF-6602-CF','26 x 26 x 2 Honeycomb Carbon Afterfilter, 75% Fill Actual Size 26.25 x 26.3125 x 1 7/8','Y','57.28','15','15','140.56','2108.40','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.57963514328003 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1770221490_3504.pdf
after merging and generating email/quote PDFs ...: 63.20512509346 secs since start
File: files[Quote.pdf] => @
File DNE! Skipping ... :
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 63.301054000854 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 63.513283014297 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 65.540485143661 secs since start
strJSON:
{"exportid":"94829","import_result":null,"import_error":"","fileurl":"GMImport_94829_1770221492_86899.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"VIBE Cannabis","goldmine_email":"blang@vibecanna.com","goldmine_phone":"(314) 814-5493","mas_quote_number":"Q063684","mas_customer_number":"VIB6314"}
end: 66.796540021896 secs since start