Session Data

Array
(
    [HubSpot] => Array
        (
            [hs_deal_id] => 49260414328
            [hs_company_id] => 0
            [salesorderno] => 
            [repid] => 0064
            [contact_id] => 175751494191
            [contact_email] => jwritchie76@gmail.com
            [contact_phone] => 15632193776
            [contact_address] => 
            [company_name] => 
            [company_mas_customer_no] => 
            [mas_customer_no] => 
            [FirstName] => Jason
            [LastName] => Ritchie
            [Zip] => 
            [Phone] => 15632193776
            [Email] => jwritchie76@gmail.com
            [Address] => 
            [City] => 
            [State] => 
            [Company] => 
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => 
                    [Contact_First] => Jason
                    [Contact_Last] => Ritchie
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 999999
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                )

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

            [mas_search] => Array
                (
                    [mas_cust_no] => RIT999A
                    [mas_cust_exists] => false
                )

            [billing] => Array
                (
                    [Company] => 
                    [Contact_First] => Jason
                    [Contact_Last] => Ritchie
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => 
                    [State] => 
                    [Zip] => 999999
                    [Country] => USA
                    [Email] => jwritchie76@gmail.com
                    [Phone] => 15632193776
                )

            [shipping] => Array
                (
                    [ShipToName] => Jason Ritchie
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => 
                    [State] => 
                    [Zip] => 999999
                    [Country] => USA
                    [Email] => jwritchie76@gmail.com
                    [Phone] => 15632193776
                )

            [leadid] => 0
            [summary] => Array
                (
                    [SalesPersonNo] => 0064
                    [ProductLine] => CL
                    [forecasting_likelihood] => 
                    [forecasting_expected_close_date] => 
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => call
                    [lead_time] => 2-3 Weeks, depending on stock and availability.
                    [email_quote_to] => jwritchie76@gmail.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-CCPHE Specs 11-13-22.pdf
                            [2] => /mnt/product_media/cleanleaf/pdf/CL1250D Series Owners Manual 11122021_compressed.pdf
                            [3] => /mnt/product_media/cleanleaf/pdf/CleanLeaf CCPHE Quick Start Guide.pdf
                            [4] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCPHE Drawing.pdf
                            [5] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 1250D Door Clearance.pdf
                            [6] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 
    [mas_cust_no] => RIT999A
    [mas_cust_exists] => false
    [exportid] => 91928
    [masquotenum] => Q061200
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0064
    [ProductLine] => CL
    [forecasting_likelihood] => 
    [forecasting_expected_close_date] => 
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => call
    [lead_time] => 2-3 Weeks, depending on stock and availability.
    [email_quote_to] => jwritchie76@gmail.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-CCPHE Specs 11-13-22.pdf [2] => /mnt/product_media/cleanleaf/pdf/CL1250D Series Owners Manual 11122021_compressed.pdf [3] => /mnt/product_media/cleanleaf/pdf/CleanLeaf CCPHE Quick Start Guide.pdf [4] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCPHE Drawing.pdf [5] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 1250D Door Clearance.pdf [6] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 4.0531158447266E-6 secs since start
after getting new exportid ... 91928: 0.10286998748779 secs since start
Session ID: d4rp6s5rgkvfrqrjlnol6amf7u
just before engaging cartlink ...: 0.31535887718201 secs since start
after most cartlink items ...: 0.31674098968506 secs since start
after getting new so num ...: 0.4691698551178 secs since start
after remaining cartlink items ...: 0.46921706199646 secs since start
SO Number: Q061200
just prior to terms gathering ...: 0.46924090385437 secs since start
after getting customer terms ...: 0.57175302505493 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => 
            [name] => 375 X 12 = 4500 Cubic Feet 
4500 X (10 (Air Changes Per Hour) = 45,000 Total Cubic Feet Of Air In Need Of Filtration Per Hour
45,000/ 60 = 750 CFM Needed
1 Unit Needed [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [1] => Array ( [sku] => CL1250D-CCPHE [name] => CleanLeaf Model CL1250D-CCPHE, 1,000 CFM Self-Contained Odor Mitigation & Filtration System, Color: White
Delta Motor Assembly Included
Side Access Filter Housing with one year supply of filters, which includes:

4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly)
1x CLF-5502 (25x15x2 Pleated After-filter; changed annually)
1x CLF-5504-HHC (25x15x4 Ultrafine HEPA Glass Fiber Filter; changed annually)
8x CLF-C-100C (7 lb. Carbon Canister (56 lbs. total); changed annually)

*Ambient/Ductable [qty] => 1 [price] => 5,238.00 [cost] => 1,875.20 [pdfFileURL] => ) [2] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [3] => Array ( [sku] => CLF-1250DCCPHE-1YRKIT [name] => 1 year kit of filters for CL1250D-CCPHE. Includes:

-4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly)
-1x CLF-5502 (25x15x2 Pleated Afterfilter; changed annually)
-1x CLF-5504-HHC (25x15x4 Ultrafine HEPA Glass Fiber Filter; changed annually)
-8x CLF-C-100C (100% Activated Carbon Canister; changed annually)

*Filter configurations and change-out times are based on standard recommendations.  Yours may vary, if unsure, please contact your salesperson. [qty] => 0 [price] => 656.00 [cost] => 251.77 [pdfFileURL] => ) [4] => Array ( [sku] => CLF-C-100C [name] => 100% Activated Carbon Canister
7lbs of carbon
(Priced Each / Sold in Cartons of 4)
Used in CL1250D-CCP, FX-AC-1250D-CCP, CL1250D-CCPHE, FX-AC-1250D-CCPHE, CL2500D-CCPHE, FX-AC-2500D-CCPHE, CL2500D-CCP, and FX-AC-2500D-CCP [qty] => 0 [price] => 56.64 [cost] => 18.85 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q061200','CL1250D-CCPHE','CleanLeaf Model CL1250D-CCPHE, 1,000 CFM Self-Contained Odor Mitigation & Filtration System, Color: White Delta Motor Assembly Included Side Access Filter Housing with one year supply of filters, which includes: 4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) 1x CLF-5502 (25x15x2 Pleated After-filter; changed annually) 1x CLF-5504-HHC (25x15x4 Ultrafine HEPA Glass Fiber Filter; changed annually) 8x CLF-C-100C (7 lb. Carbon Canister (56 lbs. total); changed annually) *Ambient/Ductable','Y','1875.20','1','1','5238.00','5238.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q061200','CLF-1250DCCPHE-1YRKIT','1 year kit of filters for CL1250D-CCPHE. Includes: -4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly) -1x CLF-5502 (25x15x2 Pleated Afterfilter; changed annually) -1x CLF-5504-HHC (25x15x4 Ultrafine HEPA Glass Fiber Filter; changed annually) -8x CLF-C-100C (100% Activated Carbon Canister; changed annually) *Filter configurations and change-out times are based on standard recommendations.  Yours may vary, if unsure, please contact your salesperson.','Y','251.77','0','0','656.00','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q061200','CLF-C-100C','100% Activated Carbon Canister 7lbs of carbon (Priced Each / Sold in Cartons of 4) Used in CL1250D-CCP, FX-AC-1250D-CCP, CL1250D-CCPHE, FX-AC-1250D-CCPHE, CL2500D-CCPHE, FX-AC-2500D-CCPHE, CL2500D-CCP, and FX-AC-2500D-CCP','Y','18.85','0','0','56.64','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.60356402397156 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCPHE Specs 11-13-22.pdf
    [2] => /mnt/product_media/cleanleaf/pdf/CL1250D Series Owners Manual 11122021_compressed.pdf
    [3] => /mnt/product_media/cleanleaf/pdf/CleanLeaf CCPHE Quick Start Guide.pdf
    [4] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCPHE Drawing.pdf
    [5] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 1250D Door Clearance.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1763400175_1656.pdf
after merging and generating email/quote PDFs ...: 63.808182001114 secs since start
File: files[Quote.pdf] => @
File DNE! Skipping ... :
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1763400175_1656.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 64.294565916061 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 64.504786014557 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 66.532041072845 secs since start
strJSON:
{"exportid":"91928","import_result":null,"import_error":"","fileurl":"GMImport_91928_1763400178_41649.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"","goldmine_email":"jwritchie76@gmail.com","goldmine_phone":"15632193776","mas_quote_number":"Q061200","mas_customer_number":"RIT999A"}
end: 69.05020904541 secs since start