Session Data

Array
(
    [HubSpot] => Array
        (
            [hs_deal_id] => 44081509273
            [hs_company_id] => 0
            [mas_customer_no] => 
            [company_mas_customer_no] => IND9723
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Indepak
                    [Contact_First] => John
                    [Contact_Last] => Brown
                    [Contact_Email] => jbrown@indepak.com
                    [Contact_Phone] => 5036616774
                    [contactid] => 117637
                    [Zip] => 97230
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 3722
                    [mascustnum] => IND9723
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 3722
                    [mas_cust_no] => IND9723
                )

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

            [billing] => Array
                (
                    [Company] => Indepak
                    [Contact_First] => John
                    [Contact_Last] => Brown
                    [Address1] => 2136 NE 194th Ave
                    [Address2] => 
                    [Address3] => 
                    [City] => Portland
                    [State] => OR
                    [Zip] => 97230
                    [Country] => USA
                    [Email] => jbrown@indepak.com
                    [Phone] => 5036616774
                )

            [shipping] => Array
                (
                    [ShipToName] => Indepak
                    [Address1] => 2136 NE 194th Ave
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Portland
                    [State] => OR
                    [Zip] => 97230
                    [Country] => USA
                    [Email] => jbrown@indepak.com
                    [Phone] => 5036616774
                )

            [leadid] => 354411
            [summary] => Array
                (
                    [SalesPersonNo] => 0026
                    [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] => 72.80
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote_to] => jbrown@indepak.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
                            [2] => /mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.pdf
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 3722
    [mas_cust_no] => IND9723
    [mas_cust_exists] => true
    [exportid] => 89851
    [masquotenum] => Q059355
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0026
    [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] => 72.80
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote_to] => jbrown@indepak.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 [2] => /mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.pdf ) [act] => submit_quote )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 89851: 0.12871408462524 secs since start
Session ID: s6r7qor78depjqen89bc6ucamu
just before engaging cartlink ...: 0.12879014015198 secs since start
after most cartlink items ...: 0.12979602813721 secs since start
after getting new so num ...: 0.28096294403076 secs since start
after remaining cartlink items ...: 0.28099799156189 secs since start
SO Number: Q059355
just prior to terms gathering ...: 0.28101396560669 secs since start
after getting customer terms ...: 0.3707320690155 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => BOF-4415912
            [name] => Fiberglass Bag, 24" X 24" X 15" MERV 15 (95%) 

12.0 Pockets, Gasket None, Loops None, Std Header, Nom Size

(Priced Each / Sold in Cartons of 4)

Used in OX2500-CFP/ -HE, CL2500-CFP/ -HE, OX2500D-CC/ -HE, CL2500D-CC, OX3000-HE, CL3000-HE [qty] => 4 [price] => 82.00 [cost] => 56.54 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q059355','BOF-4415912','Fiberglass Bag, 24" X 24" X 15" MERV 15 (95%) 12.0 Pockets, Gasket None, Loops None, Std Header, Nom Size (Priced Each / Sold in Cartons of 4) Used in OX2500-CFP/ -HE, CL2500-CFP/ -HE, OX2500D-CC/ -HE, CL2500D-CC, OX3000-HE, CL3000-HE','Y','56.54','4','4','82.00','328.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.39956212043762 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
)
arrIndividualPDFs:
Array
(
    [0] => /mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.pdf
)
temp_url:/tmp/merged-pdf_1758572595_7282.pdf
after merging and generating email/quote PDFs ...: 5.5941381454468 secs since start
File: files[Quote.pdf] => @/tmp/tmp_quote_20250922152310_88202.pdf
File: files[CC Authorization Form.pdf] => @/mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 5.6832690238953 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 5.8505129814148 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 7.8978879451752 secs since start
strJSON:
{"exportid":"89851","import_result":null,"import_error":"","fileurl":"GMImport_89851_1758572597_67322.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Indepak","goldmine_email":"jbrown@indepak.com","goldmine_phone":"5036616774","mas_quote_number":"Q059355","mas_customer_number":"IND9723"}
end: 7.9238770008087 secs since start