Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Grow Light Heaven
                    [Contact_First] => Drew 
                    [Contact_Last] => De Guia 
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 10962
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 154805
                    [mascustnum] => GRO1096
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 154805
                    [mas_cust_no] => GRO1096
                )

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

            [billing] => Array
                (
                    [Company] => Grow Light Heaven
                    [Contact_First] => Drew 
                    [Contact_Last] => De Guia 
                    [Address1] => 33 Corporate Drive
                    [Address2] => 
                    [Address3] => 
                    [City] => Orangeburg
                    [State] => NY
                    [Zip] => 10962
                    [Country] => USA
                    [Email] => support@growlightheaven.com
                    [Phone] => (914) 219-6983
                )

            [shipping] => Array
                (
                    [ShipToName] => TBD
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Los Angeles 
                    [State] => CA
                    [Zip] => 91352
                    [Country] => USA
                    [Email] => support@growlightheaven.com
                    [Phone] => (914) 219-6983
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => medium
                    [forecasting_expected_close_date] => 08/30/2024
                    [application] => Odor
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote_to] => support@growlightheaven.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] => 154805
    [mas_cust_no] => GRO1096
    [mas_cust_exists] => true
    [exportid] => 73045
    [masquotenum] => Q049338
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 08/30/2024
    [application] => Odor
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote_to] => support@growlightheaven.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 )

Debug Data

start: 2.8610229492188E-6 secs since start
after getting new exportid ... 73045: 0.094871997833252 secs since start
Session ID: 1cre46of1sefd0qgllkp2u19ub
just before engaging cartlink ...: 0.09497594833374 secs since start
after most cartlink items ...: 0.095915794372559 secs since start
after getting new so num ...: 0.2501208782196 secs since start
after remaining cartlink items ...: 0.25015878677368 secs since start
SO Number: Q049338
just prior to terms gathering ...: 0.25017499923706 secs since start
after getting customer terms ...: 0.3388249874115 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) [qty] => 1 [price] => 2,280.00 [cost] => 1,424.57 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q049338','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)','Y','1424.57','1','1','2280.00','2280.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.36217594146729 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_1723558379_6484.pdf
after merging and generating email/quote PDFs ...: 5.7685577869415 secs since start
File: files[Quote.pdf] => @/tmp/tmp_quote_20240813091254_74323.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1723558379_6484.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 5.861564874649 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 6.0043339729309 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 8.0303390026093 secs since start
strJSON:
{"exportid":"73045","import_result":null,"import_error":"","fileurl":"GMImport_73045_1723558381_48535.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Grow Light Heaven","goldmine_email":"support@growlightheaven.com","goldmine_phone":"(914) 219-6983","mas_quote_number":"Q049338","mas_customer_number":"GRO1096"}
end: 8.0494658946991 secs since start