Session Data

Array
(
    [HubSpot] => Array
        (
            [hs_deal_id] => 53353264037
            [hs_company_id] => 0
            [salesorderno] => 
            [repid] => 0076
            [contact_id] => 132634744173
            [contact_email] => jimh@acamn.com
            [contact_phone] => 
            [contact_address] => Saint Paul, Minnesota, United States
            [company_name] => 
            [company_mas_customer_no] => 
            [mas_customer_no] => 
            [Company] => 
            [FirstName] => Brandon
            [LastName] => Anderson
            [Zip] => 55117
            [Phone] => 651-280-8172
            [Email] => brandon@acamn.com
            [Address] => 
            [City] => Brandon
            [State] => Vermont
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Air Conditioning Associates, I
                    [Contact_First] => Jim
                    [Contact_Last] => Harvey
                    [Contact_Email] => brandon@acamn.com
                    [Contact_Phone] => 651-280-8172
                    [contactid] => 
                    [Zip] => 55117
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 109503
                    [mascustnum] => air5511
                )

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

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

            [billing] => Array
                (
                    [Company] => Air Conditioning Associates, I
                    [Contact_First] => Jim
                    [Contact_Last] => Harvey
                    [Address1] => 55 W Ivy Ave
                    [Address2] => 
                    [Address3] => 
                    [City] => Saint Paul
                    [State] => MN
                    [Zip] => 55117
                    [Country] => USA
                    [Email] => drewl@acamn.com
                    [Phone] => (612) 221-938
                )

            [shipping] => Array
                (
                    [ShipToName] => Air Conditioning Associates, I
                    [Address1] => 55 W Ivy Ave
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Saint Paul
                    [State] => MN
                    [Zip] => 55117
                    [Country] => USA
                    [Email] => drewl@acamn.com
                    [Phone] => (612) 221-938
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0076
                    [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] => api_freight
                    [freight_estimate_value] => CallforFreight
                    [lead_time] => 2-3 Weeks, depending on stock and availability.
                    [email_quote_to] => drewl@acamn.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/CL2500D-CF Specs 11-13-22.pdf
                            [2] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCPHE Drawing.pdf
                            [3] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 2500D Door Clearance.pdf
                            [4] => /mnt/product_media/cleanleaf/pdf/CL Sizing Guide 9-13-22.pdf
                            [5] => /mnt/product_media/cleanleaf/pdf/CL_TDS Disposable Panel Filters_Nov-2022.pdf
                            [6] => /mnt/product_media/cleanleaf/pdf/CL_TDS Bag filters MERV15-Nov-2022.pdf
                            [7] => /mnt/product_media/cleanleaf/pdf/CL2500D-series-owners-manual2.pdf
                            [8] => /mnt/product_media/cleanleaf/pdf/cleanleaf-warranty-card.pdf
                            [9] => /mnt/product_media/RM-2500D-INLET-18IN (RAW).pdf
                            [10] => /mnt/product_media/RM-2500D-OUTLET-18IN (QF).pdf
                            [11] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 109503
    [mas_cust_no] => air5511
    [mas_cust_exists] => true
    [exportid] => 93575
    [masquotenum] => Q062633
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0076
    [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] => api_freight
    [freight_estimate_value] => CallforFreight
    [lead_time] => 2-3 Weeks, depending on stock and availability.
    [email_quote_to] => drewl@acamn.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/CL2500D-CF Specs 11-13-22.pdf [2] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCPHE Drawing.pdf [3] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 2500D Door Clearance.pdf [4] => /mnt/product_media/cleanleaf/pdf/CL Sizing Guide 9-13-22.pdf [5] => /mnt/product_media/cleanleaf/pdf/CL_TDS Disposable Panel Filters_Nov-2022.pdf [6] => /mnt/product_media/cleanleaf/pdf/CL_TDS Bag filters MERV15-Nov-2022.pdf [7] => /mnt/product_media/cleanleaf/pdf/CL2500D-series-owners-manual2.pdf [8] => /mnt/product_media/cleanleaf/pdf/cleanleaf-warranty-card.pdf [9] => /mnt/product_media/RM-2500D-INLET-18IN (RAW).pdf [10] => /mnt/product_media/RM-2500D-OUTLET-18IN (QF).pdf [11] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 4.0531158447266E-6 secs since start
after getting new exportid ... 93575: 0.10602498054504 secs since start
Session ID: qsaf6ek1ntfpmdrgvtg5jcsjcq
just before engaging cartlink ...: 0.31221199035645 secs since start
after most cartlink items ...: 0.3134880065918 secs since start
after getting new so num ...: 0.47276091575623 secs since start
after remaining cartlink items ...: 0.47281098365784 secs since start
SO Number: Q062633
just prior to terms gathering ...: 0.47284603118896 secs since start
after getting customer terms ...: 0.56459403038025 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL2500D-CF
            [name] => CleanLeaf Model CL2500D-CF, 2,000 CFM Self-Contained Odor Mitigation & Filtration System, Color: Gray
Side Access Filter Housing with a year supply of filters, which includes:

4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly)
2x CLF-662898 (26x26x28" 95% 8 Pocket Bag Filter; changed semi-annually)
2x CLF-6602-CF (26x26x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually)

*Ambient/Ductable [qty] => 3 [price] => 3,871.00 [cost] => 1,424.92 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => RM-2500D-INLET-18IN [name] => Inlet for 2500D series air cleaners [qty] => 0 [price] => 723.58 [cost] => 416.06 [pdfFileURL] => ) [3] => Array ( [sku] => RM-2500D-OUTLET-18IN [name] => Outlet for 2500D series air cleaners [qty] => 0 [price] => 252.56 [cost] => 145.22 [pdfFileURL] => ) [4] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [5] => Array ( [sku] => CLF-2500DCF-1YRKIT [name] => 1 year kit of filters for CL2500D-CF
Includes:

-4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly)
-2x CLF-662898 (26x26x28" 95% 8 Pocket Bag Filter; changed semi-annually)
-2x CLF-6602-CF (26x26x2" Honeycomb Carbon Afterfilter; semi-annually)

*Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson. [qty] => 0 [price] => 517.00 [cost] => 238.42 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q062633','CL2500D-CF','CleanLeaf Model CL2500D-CF, 2,000 CFM Self-Contained Odor Mitigation & Filtration System, Color: Gray Side Access Filter Housing with a year supply of filters, which includes: 4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly) 2x CLF-662898 (26x26x28" 95% 8 Pocket Bag Filter; changed semi-annually) 2x CLF-6602-CF (26x26x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually) *Ambient/Ductable','Y','1424.92','3','3','3871.00','11613.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q062633','RM-2500D-INLET-18IN','Inlet for 2500D series air cleaners','Y','416.06','0','0','723.58','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q062633','RM-2500D-OUTLET-18IN','Outlet for 2500D series air cleaners','Y','145.22','0','0','252.56','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q062633','CLF-2500DCF-1YRKIT','1 year kit of filters for CL2500D-CF Includes: -4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly) -2x CLF-662898 (26x26x28" 95% 8 Pocket Bag Filter; changed semi-annually) -2x CLF-6602-CF (26x26x2" Honeycomb Carbon Afterfilter; semi-annually) *Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson.','Y','238.42','0','0','517.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.59118390083313 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-CF Specs 11-13-22.pdf
    [2] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCPHE Drawing.pdf
    [3] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 2500D Door Clearance.pdf
    [4] => /mnt/product_media/cleanleaf/pdf/CL Sizing Guide 9-13-22.pdf
    [5] => /mnt/product_media/cleanleaf/pdf/CL_TDS Disposable Panel Filters_Nov-2022.pdf
    [6] => /mnt/product_media/cleanleaf/pdf/CL_TDS Bag filters MERV15-Nov-2022.pdf
    [7] => /mnt/product_media/cleanleaf/pdf/CL2500D-series-owners-manual2.pdf
    [8] => /mnt/product_media/cleanleaf/pdf/cleanleaf-warranty-card.pdf
    [9] => /mnt/product_media/RM-2500D-INLET-18IN (RAW).pdf
    [10] => /mnt/product_media/RM-2500D-OUTLET-18IN (QF).pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1767721313_1934.pdf
after merging and generating email/quote PDFs ...: 63.788542985916 secs since start
File: files[Quote.pdf] => @
File DNE! Skipping ... :
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1767721313_1934.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 63.874212026596 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 64.105741977692 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 66.132901906967 secs since start
strJSON:
{"exportid":"93575","import_result":null,"import_error":"","fileurl":"GMImport_93575_1767721315_33856.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Air Conditioning Associates, I","goldmine_email":"drewl@acamn.com","goldmine_phone":"(612) 221-938","mas_quote_number":"Q062633","mas_customer_number":"air5511"}
end: 67.394921064377 secs since start