Session Data

Array
(
    [HubSpot] => Array
        (
            [hs_deal_id] => 40789861504
            [hs_company_id] => 0
            [mas_customer_no] => 
            [FirstName] => Tom
            [LastName] => Martin
            [Zip] => 
            [Phone] => (650) 642-8754
            [Email] => tmartin@kindredmotorworks.com
            [Address] => 
            [City] => 
            [State] => 
            [Company] => Kindred Motorworks
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Kindred Motorworks
                    [Contact_First] => Tom
                    [Contact_Last] => Martin
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 94592
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 210774
                    [mas_cust_no] => KIN9459
                )

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

            [billing] => Array
                (
                    [Company] => Kindred Motorworks
                    [Contact_First] => Tom
                    [Contact_Last] => Martin
                    [Address1] => 685 Walnut Ave
                    [Address2] => 
                    [Address3] => 
                    [City] => Vallejo
                    [State] => CA
                    [Zip] => 94592
                    [Country] => USA
                    [Email] => tsmith@kindredmotorworks.com
                    [Phone] => (707) 974-8125
                )

            [shipping] => Array
                (
                    [ShipToName] => Kindred Motorworks
                    [Address1] => 685 Walnut Ave
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Vallejo
                    [State] => CA
                    [Zip] => 94592
                    [Country] => USA
                    [Email] => tsmith@kindredmotorworks.com
                    [Phone] => (707) 974-8125
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0026
                    [ProductLine] => CL
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [freight_estimate] => true
                    [freight_type] => api_freight
                    [freight_estimate_value] => 108.16
                    [lead_time] => 2-3 weeks
                    [email_quote_to] => tsmith@kindredmotorworks.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] => 210774
    [mas_cust_no] => KIN9459
    [mas_cust_exists] => true
    [exportid] => 87792
    [masquotenum] => Q057573
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0026
    [ProductLine] => CL
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [freight_estimate] => true
    [freight_type] => api_freight
    [freight_estimate_value] => 108.16
    [lead_time] => 2-3 weeks
    [email_quote_to] => tsmith@kindredmotorworks.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: 2.1457672119141E-6 secs since start
after getting new exportid ... 87792: 0.097933053970337 secs since start
Session ID: efpekmerc6g9fohabfioo0cegs
just before engaging cartlink ...: 0.09802508354187 secs since start
after most cartlink items ...: 0.098871946334839 secs since start
after getting new so num ...: 0.2564799785614 secs since start
after remaining cartlink items ...: 0.25651502609253 secs since start
SO Number: Q057573
just prior to terms gathering ...: 0.25653195381165 secs since start
after getting customer terms ...: 0.35097098350525 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => BOF-4404
            [name] => 24 x 24 x 4 Pleated Prefilter, MERV 10
(Priced Each / Sold in Cartons of 6)
Used in many OX2500D, OX2500, OX3000, OX3000, OX3500C, CL2500D, CL2500, CL3000, FX Robor Hoods, and OX Filter Walls [qty] => 12 [price] => 11.96 [cost] => 7.77 [pdfFileURL] => ) [1] => Array ( [sku] => BOF-442298 [name] => Fiberglass Bag, 24" X 24" X 22" MERV 15 (95%)
8.0 Pockets, Gasket None, Loops None, Std Header, Nom Size
(Priced Each / Sold in Cartons of 4) [qty] => 12 [price] => 76.75 [cost] => 49.89 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q057573','BOF-4404','24 x 24 x 4 Pleated Prefilter, MERV 10 (Priced Each / Sold in Cartons of 6) Used in many OX2500D, OX2500, OX3000, OX3000, OX3500C, CL2500D, CL2500, CL3000, FX Robor Hoods, and OX Filter Walls','Y','7.77','12','12','11.96','143.52','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q057573','BOF-442298','Fiberglass Bag, 24" X 24" X 22" MERV 15 (95%) 8.0 Pockets, Gasket None, Loops None, Std Header, Nom Size (Priced Each / Sold in Cartons of 4)','Y','49.89','12','12','76.75','921.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.37546896934509 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_1753387535_4727.pdf
after merging and generating email/quote PDFs ...: 4.841637134552 secs since start
File: files[Quote.pdf] => @/tmp/tmp_quote_20250724150530_61521.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.0217390060425 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 5.2086479663849 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 7.2353630065918 secs since start
strJSON:
{"exportid":"87792","import_result":null,"import_error":"","fileurl":"GMImport_87792_1753387537_80115.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Kindred Motorworks","goldmine_email":"tsmith@kindredmotorworks.com","goldmine_phone":"(707) 974-8125","mas_quote_number":"Q057573","mas_customer_number":"KIN9459"}
end: 7.2527849674225 secs since start