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] => 
                    [Address3] => 
                    [City] => Peoria
                    [State] => IL
                    [Zip] => 61615
                    [Country] => USA
                    [Email] => contactus@usairpurifiers.com
                    [Phone] => (888) 231-1463
                )

            [shipping] => Array
                (
                    [ShipToName] => United Cargo 
                    [Address1] => Main Cargo Facility 
                    [Address2] => 630 Main Cargo Rd. 
                    [Address3] => Rod Zimmerman 
                    [Address4] => 847-254-3949
                    [Address5] => 
                    [City] => Chicago 
                    [State] => IL
                    [Zip] => 60666
                    [Country] => USA
                    [Email] => rod.zimmerman@united.com
                    [Phone] => (888) 231-1463
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => high
                    [forecasting_expected_close_date] => 03/15/2024
                    [generate_quote] => true
                    [keep_sonum] => Q044708
                    [change_notes] => changes 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => estimate
                    [freight_estimate_value] => 656.19
                    [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/CL1250D-CCP Specs 11-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] => 66974
    [masquotenum] => Q044708
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => high
    [forecasting_expected_close_date] => 03/15/2024
    [generate_quote] => true
    [keep_sonum] => Q044708
    [change_notes] => changes 
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => estimate
    [freight_estimate_value] => 656.19
    [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/CL1250D-CCP Specs 11-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 ... 66974: 0.084505081176758 secs since start
Session ID: mup81t3d28iua9j0a0bb2v25qr
just before engaging cartlink ...: 0.084622144699097 secs since start
after most cartlink items ...: 0.085376977920532 secs since start
after getting new so num ...: 0.085389137268066 secs since start
after remaining cartlink items ...: 0.085399150848389 secs since start
SO Number: Q044708
just prior to terms gathering ...: 0.085406064987183 secs since start
after getting customer terms ...: 0.16835713386536 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-CCP
            [name] => CleanLeaf Model CL1250D-CCP, 1,000 CFM Self-Contained Odor Mitigation & Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly)
1x CLF-5502 (25x15x2 Pleated After-filter; changed annually)
8x CLF-C-100C (7 lb. Carbon Canister (56 lbs. total); changed annually)
8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.) [qty] => 2 [price] => 2,209.00 [cost] => 1,380.73 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => CLF-1250DCCP-1YRKIT [name] => 1 year kit of filters for CL1250D-CCP. Includes:

4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly)
1x CLF-5502 (25x15x2 Pleated Afterfilter; changed annually)
8x CLF-C-100C (100% Activated Carbon Canister; changed annually)
8x 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] => 360.00 [cost] => 223.87 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q044708','CL1250D-CCP','CleanLeaf Model CL1250D-CCP, 1,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: 4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) 1x CLF-5502 (25x15x2 Pleated After-filter; changed annually) 8x CLF-C-100C (7 lb. Carbon Canister (56 lbs. total); changed annually) 8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.)','Y','1380.73','2','2','2209.00','4418.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q044708','CLF-1250DCCP-1YRKIT','1 year kit of filters for CL1250D-CCP. Includes: 4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly) 1x CLF-5502 (25x15x2 Pleated Afterfilter; changed annually) 8x CLF-C-100C (100% Activated Carbon Canister; changed annually) 8x 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','223.87','2','2','360.00','720.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.19954395294189 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCP Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1710522134_1934.pdf
after merging and generating email/quote PDFs ...: 3.9232821464539 secs since start
File: files[Quote.pdf] => @/tmp/tmp_quote_20240315120210_56999.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1710522134_1934.pdf
Rep opted not to send an email ...
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 4.1405961513519 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 6.1655261516571 secs since start
strJSON:
{"exportid":"66974","import_result":null,"import_error":"","fileurl":"GMImport_66974_1710522136_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":"Q044708","mas_customer_number":"USA6161"}
end: 6.1866500377655 secs since start