Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => US Air Purifiers LLC
                    [Contact_First] => Barb
                    [Contact_Last] => Lulay
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 61615
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 138213
                    [mascustnum] => USA6161
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 138213
                    [mas_cust_no] => USA6161
                )

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

            [billing] => Array
                (
                    [Company] => US Air Purifiers LLC
                    [Contact_First] => Barb
                    [Contact_Last] => Lulay
                    [Address1] => 5221 Castleberry Dr.
                    [Address2] => Invoice # DH-1-22-2024
                    [Address3] => 
                    [City] => Peoria
                    [State] => IL
                    [Zip] => 61615
                    [Country] => USA
                    [Email] => contactus@usairpurifiers.com
                    [Phone] => (888) 231-1463
                )

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

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => high
                    [forecasting_expected_close_date] => 02/19/2024
                    [generate_quote] => true
                    [keep_sonum] => Q044721
                    [change_notes] => changes 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote_to] => contactus@usairpurifiers.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] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCP Specs11-13-22.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 138213
    [mas_cust_no] => USA6161
    [mas_cust_exists] => true
    [exportid] => 65619
    [masquotenum] => Q044721
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => high
    [forecasting_expected_close_date] => 02/19/2024
    [generate_quote] => true
    [keep_sonum] => Q044721
    [change_notes] => changes 
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote_to] => contactus@usairpurifiers.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] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCP Specs11-13-22.pdf [2] => quote_bundle_separator ) [act] => submit_quote [not_in_mas] => true )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 65619: 0.11328601837158 secs since start
Session ID: vke79emcb5bttrpou37c86b1sb
just before engaging cartlink ...: 0.11335706710815 secs since start
after most cartlink items ...: 0.11416816711426 secs since start
after getting new so num ...: 0.11418008804321 secs since start
after remaining cartlink items ...: 0.11419796943665 secs since start
SO Number: Q044721
just prior to terms gathering ...: 0.11420607566833 secs since start
after getting customer terms ...: 0.20279002189636 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL2500D-CCP
            [name] => CleanLeaf Model CL2500D-CCP, 2,000 CFM Self-Contained Odor Mitigation & Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly)
1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually)
16x CLF-C-100C (100% Activated Carbon Canister; changed annually)
16x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.) [qty] => 2 [price] => 3,738.00 [cost] => 2,336.66 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => CLF-2500DCCP-1YRKIT [name] => 1 year kit of filters for CL2500D-CCP Includes:

4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly)
1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually)
16x CLF-C-100C (100% Activated Carbon Canister; changed annually)
16x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.)

*Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson. [qty] => 2 [price] => 755.00 [cost] => 471.36 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q044721','CL2500D-CCP','CleanLeaf Model CL2500D-CCP, 2,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: 4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly) 1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually) 16x CLF-C-100C (100% Activated Carbon Canister; changed annually) 16x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.)','Y','2336.66','2','2','3738.00','7476.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q044721','CLF-2500DCCP-1YRKIT','1 year kit of filters for CL2500D-CCP Includes: 4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly) 1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually) 16x CLF-C-100C (100% Activated Carbon Canister; changed annually) 16x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.) *Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson.','Y','471.36','2','2','755.00','1510.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.22863817214966 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCP Specs11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1708362524_1268.pdf
after merging and generating email/quote PDFs ...: 4.1371459960938 secs since start
File: files[Quote.pdf] => @/tmp/tmp_quote_20240219110840_22127.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1708362524_1268.pdf
Rep opted not to send an email ...
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 4.3344871997833 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 6.3586940765381 secs since start
strJSON:
{"exportid":"65619","import_result":null,"import_error":"","fileurl":"GMImport_65619_1708362526_62684.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"US Air Purifiers LLC","goldmine_email":"contactus@usairpurifiers.com","goldmine_phone":"(888) 231-1463","mas_quote_number":"Q044721","mas_customer_number":"USA6161"}
end: 6.3753471374512 secs since start