Session Data

Array
(
    [copy_from_salesorderno] => Q054261
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Toll Compaction
                    [Contact_First] => Dan
                    [Contact_Last] => Husk
                    [Zip] => 16181
                    [Email] => dhusk@tollcompaction.com
                    [Phone] => 3044820785
                    [customerid] => 173079
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [place_id] => 
                    [mascustnum] => TOL1618
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 173079
                    [mas_cust_no] => TOL1618
                )

            [billing] => Array
                (
                    [Company] => Toll Compaction
                    [Contact_First] => Dan
                    [Contact_Last] => Husk
                    [Address1] => 130 Commerce Dr.
                    [Address2] => 
                    [Address3] => 
                    [City] => Washington
                    [State] => WV
                    [Zip] => 16181
                    [Country] => USA
                    [Email] => dhusk@tollcompaction.com
                    [Phone] => 3044820785
                )

            [shipping] => Array
                (
                    [ShipToName] => Toll Compaction
                    [Address1] => 130 Commerce Dr.
                    [Address2] => Dan Husk 304-482-0785
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Washington
                    [State] => WV
                    [Zip] => 16181
                    [Country] => USA
                    [Email] => dhusk@tollcompaction.com
                    [Phone] => 3044820785
                )

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

            [leadid] => 312450
            [summary] => Array
                (
                    [SalesPersonNo] => 0026
                    [ProductLine] => CL
                    [forecasting_likelihood] => high
                    [forecasting_expected_close_date] => 05/19/2025
                    [application] => 
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [freight_estimate] => true
                    [freight_type] => api_freight
                    [freight_estimate_value] => 268.71
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote_to] => dhusk@tollcompaction.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] => 173079
    [mas_cust_no] => TOL1618
    [last_completed_step] => 5
    [copy_quote] => 1
    [mas_cust_exists] => true
    [exportid] => 85131
    [masquotenum] => Q055786
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0026
    [ProductLine] => CL
    [forecasting_likelihood] => high
    [forecasting_expected_close_date] => 05/19/2025
    [application] => 
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [freight_estimate] => true
    [freight_type] => api_freight
    [freight_estimate_value] => 268.71
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote_to] => dhusk@tollcompaction.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 ... 85131: 0.096989154815674 secs since start
Session ID: r53ieg90p6ie5e06au1j694agd
just before engaging cartlink ...: 0.097097158432007 secs since start
after most cartlink items ...: 0.09807300567627 secs since start
after getting new so num ...: 0.24895310401917 secs since start
after remaining cartlink items ...: 0.24899005889893 secs since start
SO Number: Q055786
just prior to terms gathering ...: 0.24900698661804 secs since start
after getting customer terms ...: 0.34301495552063 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CLF-C-100C
            [name] => 100% Activated Carbon Canister
(Priced Each / Sold in Cartons of 4)
Used in CL1250D-CCP, FX-AC-1250D-CCP, CL1250D-CCPHE, FX-AC-1250D-CCPHE, CL2500D-CCPHE, FX-AC-2500D-CCPHE, CL2500D-CCP, and FX-AC-2500D-CCP [qty] => 32 [price] => 56.64 [cost] => 18.85 [pdfFileURL] => ) [1] => Array ( [sku] => CLF-6604 [name] => 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 [qty] => 6 [price] => 39.80 [cost] => 23.88 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q055786','CLF-C-100C','100% Activated Carbon Canister (Priced Each / Sold in Cartons of 4) Used in CL1250D-CCP, FX-AC-1250D-CCP, CL1250D-CCPHE, FX-AC-1250D-CCPHE, CL2500D-CCPHE, FX-AC-2500D-CCPHE, CL2500D-CCP, and FX-AC-2500D-CCP','Y','18.85','32','32','56.64','1812.48','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q055786','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','6','6','39.80','238.80','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.36521005630493 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1747676626_4161.pdf
after merging and generating email/quote PDFs ...: 5.3344509601593 secs since start
File: files[Quote.pdf] => @/tmp/tmp_quote_20250519124342_54465.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 5.4183521270752 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 5.6033999919891 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 7.6496469974518 secs since start
strJSON:
{"exportid":"85131","import_result":null,"import_error":"","fileurl":"GMImport_85131_1747676629_38848.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Toll Compaction","goldmine_email":"dhusk@tollcompaction.com","goldmine_phone":"3044820785","mas_quote_number":"Q055786","mas_customer_number":"TOL1618"}
end: 7.6703560352325 secs since start