Session Data

Array
(
    [copy_from_salesorderno] => Q061339
    [HubSpot] => Array
        (
            [hs_deal_id] => 49651550000
            [hs_company_id] => 32390712749
            [salesorderno] => Q061339
            [repid] => 0076
            [contact_id] => 119810663937
            [contact_email] => andreww@growgeneration.com
            [contact_phone] => 269-358-7818
            [contact_address] => Battle Creek, Michigan, United States
            [company_name] => Grow Generation Corp
            [company_mas_customer_no] => EAS0288
            [mas_customer_no] => EAS0288
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Grow Generation Corp
                    [Contact_First] => Jeremy
                    [Contact_Last] => Jeremy
                    [Zip] => 80111
                    [Email] => thomasm@growgeneration.com
                    [Phone] => 4012258704
                    [customerid] => 238
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [place_id] => 
                    [mascustnum] => EAS0288
                )

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

            [billing] => Array
                (
                    [Company] => Grow Generation Corp
                    [Contact_First] => Jeremy
                    [Contact_Last] => Jeremy
                    [Address1] => 5619 DTC Parkway
                    [Address2] => STE. 900
                    [Address3] => 
                    [City] => Greenwood Village
                    [State] => CO
                    [Zip] => 80111
                    [Country] => USA
                    [Email] => thomasm@growgeneration.com
                    [Phone] => 4012258704
                )

            [shipping] => Array
                (
                    [ShipToName] => Grow Generation Corp
                    [Address1] => 5619 DTC Parkway
                    [Address2] => STE. 900
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Greenwood Village
                    [State] => CO
                    [Zip] => 80111
                    [Country] => USA
                    [Email] => thomasm@growgeneration.com
                    [Phone] => 4012258704
                )

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

            [leadid] => 1074
            [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_value] => CallforFreight
                    [dealer_discount] => true
                    [discount_value] => 10
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote_to] => thomasm@growgeneration.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-CCP Specs 11-13-22.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [gm_account_no] => 238
    [mas_cust_no] => EAS0288
    [last_completed_step] => 5
    [copy_quote] => 1
    [mas_cust_exists] => true
    [exportid] => 92457
    [masquotenum] => Q061663
    [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_value] => CallforFreight
    [dealer_discount] => true
    [discount_value] => 10
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote_to] => thomasm@growgeneration.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-CCP Specs 11-13-22.pdf [2] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 5.9604644775391E-6 secs since start
after getting new exportid ... 92457: 0.097596883773804 secs since start
Session ID: fs61ri2brf855he4dugmqoled6
just before engaging cartlink ...: 0.30677580833435 secs since start
after most cartlink items ...: 0.30811381340027 secs since start
after getting new so num ...: 0.47239780426025 secs since start
after remaining cartlink items ...: 0.4724338054657 secs since start
SO Number: Q061663
just prior to terms gathering ...: 0.4724588394165 secs since start
after getting customer terms ...: 0.57122278213501 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-CCP
            [name] => CleanLeaf Model CL1250D-CCP, 1,000 CFM Self-Contained Odor Mitigation & Filtration System, Color: White
Side Access Filter Housing with a year supply of filters, which includes:
4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly)
1x CLF-5502 (25x15x2 Pleated After-filter; changed annually)
8x CLF-C-100C (7 lb. Carbon Canister (56 lbs. total); changed annually)

*Ambient. Upgrade to DC motor available for ducted units; service charge applies. [qty] => 4 [price] => 3,190.00 [cost] => 1,126.15 [pdfFileURL] => ) [1] => Array ( [sku] => CLF-1250DCCP-1YRKIT [name] => 1 year kit of filters for CL1250D-CCP. Includes:

4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly)
1x CLF-5502 (25x15x2 Pleated Afterfilter; 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] => ) [2] => 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 ('Q061663','CL1250D-CCP','CleanLeaf Model CL1250D-CCP, 1,000 CFM Self-Contained Odor Mitigation & Filtration System, Color: White Side Access Filter Housing with a year supply of filters, which includes: 4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) 1x CLF-5502 (25x15x2 Pleated After-filter; changed annually) 8x CLF-C-100C (7 lb. Carbon Canister (56 lbs. total); changed annually) *Ambient. Upgrade to DC motor available for ducted units; service charge applies.','Y','1126.15','4','4','3190.00','12760.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q061663','CLF-1250DCCP-1YRKIT','1 year kit of filters for CL1250D-CCP. Includes: 4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly) 1x CLF-5502 (25x15x2 Pleated Afterfilter; 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 ('Q061663','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.5963888168335 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCP Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1764693974_2624.pdf
after merging and generating email/quote PDFs ...: 63.335978984833 secs since start
File: files[Quote.pdf] => @
File DNE! Skipping ... :
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1764693974_2624.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 63.427114963531 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 63.639047861099 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 65.687839984894 secs since start
strJSON:
{"exportid":"92457","import_result":null,"import_error":"","fileurl":"GMImport_92457_1764693977_28695.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Grow Generation Corp","goldmine_email":"thomasm@growgeneration.com","goldmine_phone":"4012258704","mas_quote_number":"Q061663","mas_customer_number":"EAS0288"}
end: 66.981387853622 secs since start