Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Seafoam
                    [Contact_First] => Richard
                    [Contact_Last] => Petron
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 04578
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 162352
                    [mascustnum] => SEA0457
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 162352
                    [mas_cust_no] => SEA0457
                )

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

            [billing] => Array
                (
                    [Company] => Seafoam
                    [Contact_First] => Richard
                    [Contact_Last] => Petron
                    [Address1] => 147 Brunswick Ave.
                    [Address2] => 
                    [Address3] => 
                    [City] => Gardiner
                    [State] => ME
                    [Zip] => 04345
                    [Country] => USA
                    [Email] => richard.petron@gmail.com
                    [Phone] => 207-808-0583
                )

            [shipping] => Array
                (
                    [ShipToName] => Seafoam
                    [Address1] => 493 Gardiner Rd.
                    [Address2] => ATTN: Richard Petron
                    [Address3] => 207-808-0583
                    [Address4] => 
                    [Address5] => 
                    [City] => Wiscasset
                    [State] => ME
                    [Zip] => 04578
                    [Country] => USA
                    [Email] => richard.petron@gmail.com
                    [Phone] => 207-808-0583
                )

            [leadid] => 141886
            [summary] => Array
                (
                    [SalesPersonNo] => 0060
                    [ProductLine] => CL
                    [forecasting_likelihood] => high
                    [forecasting_expected_close_date] => 12/13/2023
                    [generate_quote] => true
                    [keep_sonum] => Q043147
                    [change_notes] => changes
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 1-2 Weeks
                    [email_quote_to] => richard.petron@gmail.com
                    [template_id] => 557
                    [email_quote_subject] => CleanLeaf Air Filtration Quote
                    [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] => 162352
    [mas_cust_no] => SEA0457
    [mas_cust_exists] => true
    [exportid] => 62724
    [masquotenum] => Q043147
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0060
    [ProductLine] => CL
    [forecasting_likelihood] => high
    [forecasting_expected_close_date] => 12/13/2023
    [generate_quote] => true
    [keep_sonum] => Q043147
    [change_notes] => changes
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 1-2 Weeks
    [email_quote_to] => richard.petron@gmail.com
    [template_id] => 557
    [email_quote_subject] => CleanLeaf Air Filtration Quote
    [email_quote_body] => 

Hello <<&dear>>

Thank you for reaching out to us, attached is our quote and literature per your request.

Please review and let me know if you have any questions or concerns.

***Shipping is not included and is billed separately at the time of delivery.


Sincerely,

<<&RepName>>

CleanLeaf - a product of Air Cleaning Specialists, Inc.

11088 Gravois Industrial Ct. Saint Louis, MO.

Saint Louis, MO 63128

866 455-2132 Ext <<&RepPhoneExt>>

<<&RepEmail>>

https://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: 4.0531158447266E-6 secs since start
after getting new exportid ... 62724: 0.088890075683594 secs since start
Session ID: njmaa660elg6rg7v31mi4jj67q
just before engaging cartlink ...: 0.088958978652954 secs since start
after most cartlink items ...: 0.089807033538818 secs since start
after getting new so num ...: 0.089818954467773 secs since start
after remaining cartlink items ...: 0.089828014373779 secs since start
SO Number: Q043147
just prior to terms gathering ...: 0.089843988418579 secs since start
after getting customer terms ...: 0.17277503013611 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] => 1 [price] => 3,739.00 [cost] => 2,336.66 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043147','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','1','1','3739.00','3739.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.19446706771851 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_1702497799_1897.pdf
after merging and generating email/quote PDFs ...: 6.3833990097046 secs since start
File: files[Quote.pdf] => @/tmp/tmp_quote_20231213140313_73157.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1702497799_1897.pdf
Rep opted not to send an email ...
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 6.5603189468384 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 8.6050360202789 secs since start
strJSON:
{"exportid":"62724","import_result":null,"import_error":"","fileurl":"GMImport_62724_1702497801_71552.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Seafoam","goldmine_email":"richard.petron@gmail.com","goldmine_phone":"207-808-0583","mas_quote_number":"Q043147","mas_customer_number":"SEA0457"}
end: 8.6205699443817 secs since start