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] => 
                    [Address3] => 
                    [City] => Cambridge
                    [State] => MA
                    [Zip] => 02139
                    [Country] => USA
                    [Email] => katie@purenatural.com
                    [Phone] => (800) 237-9199
                )

            [shipping] => Array
                (
                    [ShipToName] => TBD
                    [Address1] => 10-29 44th Road 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Long Island City 
                    [State] => NY
                    [Zip] => 11101
                    [Country] => USA
                    [Email] => katie@purenatural.com
                    [Phone] => (800) 237-9199
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => medium
                    [forecasting_expected_close_date] => 05/29/2024
                    [application] => other
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 5-6 Weeks
                    [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/CL1100-CF.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] => 70148
    [masquotenum] => Q047757
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 05/29/2024
    [application] => other
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 5-6 Weeks
    [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/CL1100-CF.pdf [2] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 4.0531158447266E-6 secs since start
after getting new exportid ... 70148: 0.095369100570679 secs since start
Session ID: dlj42o8h6k57p88nk32h6hdkb8
just before engaging cartlink ...: 0.095849990844727 secs since start
after most cartlink items ...: 0.096698999404907 secs since start
after getting new so num ...: 0.24584317207336 secs since start
after remaining cartlink items ...: 0.2458930015564 secs since start
SO Number: Q047757
just prior to terms gathering ...: 0.24598813056946 secs since start
after getting customer terms ...: 0.33546018600464 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1100-CF
            [name] => CleanLeaf Model CL1100-CF,  1,100 CFM Media Filtration System w/ Charcoal After Filter.
Airflow Reduced to 1000 CFM w/ Charcoal filter Installed.
Cabinet: 20"W x 15"T x 44" Long - 16GA CRS
Power: 115V 60Hz Single Phase 3.5 Amps
Filter Stage 1: 20 x 15 x 1" Washable Foam Pre-Filter
Filter Stage 2: 20 x 15 x 24" 95% (ASHRAE) 6 Pocket Bag Filter (15 sqft)
Filter Stage 3: 20 x 15 x 2" 7lb Carbon After-Filter [qty] => 8 [price] => 1,900.00 [cost] => 1,157.21 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q047757','CL1100-CF','CleanLeaf Model CL1100-CF, 1,100 CFM Media Filtration System w/ Charcoal After Filter. Airflow Reduced to 1000 CFM w/ Charcoal filter Installed. Cabinet: 20"W x 15"T x 44" Long - 16GA CRS Power: 115V 60Hz Single Phase 3.5 Amps Filter Stage 1: 20 x 15 x 1" Washable Foam Pre-Filter Filter Stage 2: 20 x 15 x 24" 95% (ASHRAE) 6 Pocket Bag Filter (15 sqft) Filter Stage 3: 20 x 15 x 2" 7lb Carbon After-Filter','Y','1157.21','8','8','1900.00','15200.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.35790395736694 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1100-CF.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1716997069_6881.pdf
after merging and generating email/quote PDFs ...: 4.5018889904022 secs since start
File: files[Quote.pdf] => @/tmp/tmp_quote_20240529103745_53977.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1716997069_6881.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 4.5855960845947 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 4.7279851436615 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 6.7538831233978 secs since start
strJSON:
{"exportid":"70148","import_result":null,"import_error":"","fileurl":"GMImport_70148_1716997072_79059.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":"Q047757","mas_customer_number":"PUR6010"}
end: 6.766725063324 secs since start