Session Data

Array
(
    [HubSpot] => Array
        (
            [hs_deal_id] => 36842187591
            [hs_company_id] => 31032484701
            [salesorderno] => 
            [repid] => 0064
            [contact_id] => 119766197018
            [contact_email] => erik.nina@mechhvacsolutions.com
            [contact_phone] => 89281234545
            [contact_address] => 
            [company_name] => MECHANICAL ENGINEERING
            [company_mas_customer_no] => MEC0710
            [mas_customer_no] => MEC0710
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => MECHANICAL ENGINEERING
                    [Contact_First] => Erik
                    [Contact_Last] => Erik
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 07109
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 165745
                    [mascustnum] => MEC0710
                )

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

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

            [billing] => Array
                (
                    [Company] => MECHANICAL ENGINEERING
                    [Contact_First] => Erik
                    [Contact_Last] => Erik
                    [Address1] => 58 Howard St #2
                    [Address2] => 
                    [Address3] => 
                    [City] => Belleville
                    [State] => NJ
                    [Zip] => 07109
                    [Country] => USA
                    [Email] => erik.nina@mechhvacsolutions.com
                    [Phone] => 8 (928) 123-45-45
                )

            [shipping] => Array
                (
                    [ShipToName] => MECHANICAL ENGINEERING
                    [Address1] => 58 Howard St #2
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Belleville
                    [State] => NJ
                    [Zip] => 07109
                    [Country] => USA
                    [Email] => erik.nina@mechhvacsolutions.com
                    [Phone] => 8 (928) 123-45-45
                )

            [leadid] => 
            [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] => erik.nina@mechhvacsolutions.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-CCP Specs11-13-22.pdf
                            [2] => /mnt/product_media/cleanleaf/pdf/CL2500D-series-owners-manual2.pdf
                            [3] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 2500D Door Clearance.pdf
                            [4] => /mnt/product_media/cleanleaf/pdf/cleanleaf-warranty-card.pdf
                            [5] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Odor_Mitigation.pdf
                            [6] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 165745
    [mas_cust_no] => MEC0710
    [mas_cust_exists] => true
    [exportid] => 90383
    [masquotenum] => Q059821
    [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] => erik.nina@mechhvacsolutions.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-CCP Specs11-13-22.pdf [2] => /mnt/product_media/cleanleaf/pdf/CL2500D-series-owners-manual2.pdf [3] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 2500D Door Clearance.pdf [4] => /mnt/product_media/cleanleaf/pdf/cleanleaf-warranty-card.pdf [5] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Odor_Mitigation.pdf [6] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 5.0067901611328E-6 secs since start
after getting new exportid ... 90383: 0.10928201675415 secs since start
Session ID: v6v59a302n3pvqt7cqnuea2blf
just before engaging cartlink ...: 0.31853008270264 secs since start
after most cartlink items ...: 0.31993198394775 secs since start
after getting new so num ...: 0.47378611564636 secs since start
after remaining cartlink items ...: 0.47382211685181 secs since start
SO Number: Q059821
just prior to terms gathering ...: 0.47384214401245 secs since start
after getting customer terms ...: 0.56362915039062 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL2500D-CCP
            [name] => CleanLeaf Model CL2500D-CCP, 2,000 CFM Self-Contained Odor Mitigation & Filtration System, Color: White
Side Access Filter Housing with a year supply of filters, which includes:

4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly)
1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually)
16x CLF-C-100C (100% Activated Carbon Canister; changed annually)

*Ambient/Ductable [qty] => 1 [price] => 4,764.00 [cost] => 1,675.57 [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-2500DCCP-1YRKIT [name] => 1 year kit of filters for CL2500D-CCP Includes:

4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly)
1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually)
16x 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] => 1,122.00 [cost] => 409.07 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q059821','CL2500D-CCP','CleanLeaf Model CL2500D-CCP, 2,000 CFM Self-Contained Odor Mitigation & Filtration System, Color: White Side Access Filter Housing with a year supply of filters, which includes: 4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly) 1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually) 16x CLF-C-100C (100% Activated Carbon Canister; changed annually) *Ambient/Ductable','Y','1675.57','1','1','4764.00','4764.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q059821','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 ('Q059821','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 ('Q059821','CLF-2500DCCP-1YRKIT','1 year kit of filters for CL2500D-CCP Includes: 4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly) 1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually) 16x 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','409.07','0','0','1122.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.59074711799622 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCP Specs11-13-22.pdf
    [2] => /mnt/product_media/cleanleaf/pdf/CL2500D-series-owners-manual2.pdf
    [3] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 2500D Door Clearance.pdf
    [4] => /mnt/product_media/cleanleaf/pdf/cleanleaf-warranty-card.pdf
    [5] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Odor_Mitigation.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1759861725_7330.pdf
after merging and generating email/quote PDFs ...: 63.456992149353 secs since start
File: files[Quote.pdf] => @
File DNE! Skipping ... :
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1759861725_7330.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 63.558994054794 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 63.792272090912 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 65.818412065506 secs since start
strJSON:
{"exportid":"90383","import_result":null,"import_error":"","fileurl":"GMImport_90383_1759861728_83321.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"MECHANICAL ENGINEERING","goldmine_email":"erik.nina@mechhvacsolutions.com","goldmine_phone":"8 (928) 123-45-45","mas_quote_number":"Q059821","mas_customer_number":"MEC0710"}
end: 66.822668075562 secs since start