Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Hydro 45
                    [Contact_First] => Leo
                    [Contact_Last] => Grant
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 49690
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 155990
                    [mascustnum] => HYD4969
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 155990
                    [mas_cust_no] => HYD4969
                )

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

            [billing] => Array
                (
                    [Company] => Hydro 45
                    [Contact_First] => Dillon
                    [Contact_Last] => Thompson
                    [Address1] => 5549 Bates Road
                    [Address2] => 
                    [Address3] => 
                    [City] => Williamsburg
                    [State] => MI
                    [Zip] => 49690
                    [Country] => USA
                    [Email] => dillon@hydro45.com
                    [Phone] => (231) 267-9001
                )

            [shipping] => Array
                (
                    [ShipToName] => Hydro 45
                    [Address1] => 5549 Bates Road
                    [Address2] => ATTN: Dillion Thompson 
                    [Address3] => (231) 267-9001
                    [Address4] => 
                    [Address5] => 
                    [City] => Williamsburg
                    [State] => MI
                    [Zip] => 49690
                    [Country] => USA
                    [Email] => dillon@hydro45.com
                    [Phone] => (231) 267-9001
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => high
                    [forecasting_expected_close_date] => 01/31/2024
                    [generate_quote] => true
                    [keep_sonum] => Q043716
                    [change_notes] => changes
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => estimate
                    [freight_estimate_value] => 620.50
                    [lead_time] => 1-2 Weeks
                    [email_quote_to] => dillon@hydro45.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-HE Specs 11-13-22.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 155990
    [mas_cust_no] => HYD4969
    [mas_cust_exists] => true
    [exportid] => 64766
    [masquotenum] => Q043716
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => high
    [forecasting_expected_close_date] => 01/31/2024
    [generate_quote] => true
    [keep_sonum] => Q043716
    [change_notes] => changes
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => estimate
    [freight_estimate_value] => 620.50
    [lead_time] => 1-2 Weeks
    [email_quote_to] => dillon@hydro45.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-HE Specs 11-13-22.pdf [2] => quote_bundle_separator ) [act] => submit_quote [not_in_mas] => true )

Debug Data

start: 2.1457672119141E-6 secs since start
after getting new exportid ... 64766: 0.085374116897583 secs since start
Session ID: n9svcq4sgihb825hgvd41is0lc
just before engaging cartlink ...: 0.085456132888794 secs since start
after most cartlink items ...: 0.08617115020752 secs since start
after getting new so num ...: 0.086184978485107 secs since start
after remaining cartlink items ...: 0.086194038391113 secs since start
SO Number: Q043716
just prior to terms gathering ...: 0.086200952529907 secs since start
after getting customer terms ...: 0.16877317428589 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-HE
            [name] => CleanLeaf Model CL1250D-HE, 1,000 CFM Self-Contained Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

-1x CLF-1250DHE-1YRPCK
+4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly)
+2x CLF-551298 (25x15x12" 95% 8 Pocket Bag Filter; changed semi-annually)

1x CLF-552099-HHC (25x15x20" 99.99% DOP V-Bank Medical Grade HEPA Filter; changed every two years) [qty] => 2 [price] => 2,052.00 [cost] => 1,283.05 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043716','CL1250D-HE','CleanLeaf Model CL1250D-HE, 1,000 CFM Self-Contained Filtration System Side Access Filter Housing with a year supply of filters, which includes: -1x CLF-1250DHE-1YRPCK +4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) +2x CLF-551298 (25x15x12" 95% 8 Pocket Bag Filter; changed semi-annually) 1x CLF-552099-HHC (25x15x20" 99.99% DOP V-Bank Medical Grade HEPA Filter; changed every two years)','Y','1283.05','2','2','2052.00','4104.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.19023394584656 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-HE Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1706733135_8302.pdf
after merging and generating email/quote PDFs ...: 5.1123280525208 secs since start
File: files[Quote.pdf] => @/tmp/tmp_quote_20240131143210_23557.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1706733135_8302.pdf
Rep opted not to send an email ...
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 5.3963301181793 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 7.4216959476471 secs since start
strJSON:
{"exportid":"64766","import_result":null,"import_error":"","fileurl":"GMImport_64766_1706733137_26985.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Hydro 45","goldmine_email":"dillon@hydro45.com","goldmine_phone":"(231) 267-9001","mas_quote_number":"Q043716","mas_customer_number":"HYD4969"}
end: 7.4380161762238 secs since start