Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Pure n Natural Systems, Inc
                    [Contact_First] => Katie 
                    [Contact_Last] => Ng
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 02139
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 116783
                    [mascustnum] => PUR6010
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 116783
                    [mas_cust_no] => PUR6010
                )

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

            [billing] => Array
                (
                    [Company] => Pure n Natural Systems, Inc
                    [Contact_First] => Katie 
                    [Contact_Last] => Ng
                    [Address1] => 45 Prospect St.
                    [Address2] => PO# 753177
                    [Address3] => 
                    [City] => Cambridge
                    [State] => MA
                    [Zip] => 02139
                    [Country] => USA
                    [Email] => katie@purenatural.com
                    [Phone] => (800) 237-9199
                )

            [shipping] => Array
                (
                    [ShipToName] => North Winds Mechanical 
                    [Address1] => C/O Sun Island Delivery 
                    [Address2] => 10 Attucks Lane 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Hyannis 
                    [State] => MA
                    [Zip] => 02601
                    [Country] => USA
                    [Email] => katie@purenatural.com
                    [Phone] => (800) 237-9199
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => high
                    [forecasting_expected_close_date] => 06/25/2024
                    [generate_quote] => true
                    [keep_sonum] => Q048171
                    [change_notes] => changes 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 1 Week, depending on stock and availability.
                    [email_quote_to] => katie@purenatural.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-CF Specs 11-13-22.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 116783
    [mas_cust_no] => PUR6010
    [mas_cust_exists] => true
    [exportid] => 71235
    [masquotenum] => Q048171
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => high
    [forecasting_expected_close_date] => 06/25/2024
    [generate_quote] => true
    [keep_sonum] => Q048171
    [change_notes] => changes 
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 1 Week, depending on stock and availability.
    [email_quote_to] => katie@purenatural.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-CF 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 ... 71235: 0.09423303604126 secs since start
Session ID: o6ouv0ut4s8f1r68d4o0bces09
just before engaging cartlink ...: 0.094316005706787 secs since start
after most cartlink items ...: 0.095247983932495 secs since start
after getting new so num ...: 0.095268964767456 secs since start
after remaining cartlink items ...: 0.095283031463623 secs since start
SO Number: Q048171
just prior to terms gathering ...: 0.095299959182739 secs since start
after getting customer terms ...: 0.18277406692505 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-CF
            [name] => CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

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

-2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually)

Color: Grey [qty] => 1 [price] => 1,890.00 [cost] => 1,168.17 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048171','CL1250D-CF','CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: -1x CLF-1250DCF-1YRPCK +4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) +2x CLF-552898 (25x15x28" 95% 8 Pocket Bag Filter; changed semi-annually) -2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually) Color: Grey','Y','1168.17','1','1','1890.00','1890.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.20698308944702 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CF Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1719328395_2170.pdf
after merging and generating email/quote PDFs ...: 3.842570066452 secs since start
File: files[Quote.pdf] => @/tmp/tmp_quote_20240625101311_77952.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1719328395_2170.pdf
Rep opted not to send an email ...
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 4.0286180973053 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 6.0538740158081 secs since start
strJSON:
{"exportid":"71235","import_result":null,"import_error":"","fileurl":"GMImport_71235_1719328397_81778.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Pure n Natural Systems, Inc","goldmine_email":"katie@purenatural.com","goldmine_phone":"(800) 237-9199","mas_quote_number":"Q048171","mas_customer_number":"PUR6010"}
end: 6.0771901607513 secs since start