Session Data

Array
(
    [HubSpot] => Array
        (
            [hs_deal_id] => 55475436355
            [hs_company_id] => 0
            [salesorderno] => 
            [repid] => 0064
            [contact_id] => 199262392365
            [contact_email] => ryan@chillwatercannabis.com
            [contact_phone] => 
            [contact_address] => 
            [company_name] => 
            [company_mas_customer_no] => 
            [mas_customer_no] => 
            [FirstName] => Ryan
            [LastName] => Howe
            [Zip] => 
            [Phone] => 
            [Email] => ryan@chillwatercannabis.com
            [Address] => 
            [City] => 
            [State] => 
            [Company] => 
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => CHILLWATER DISPENSARIES
                    [Contact_First] => Ryan
                    [Contact_Last] => Howe
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 99999
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                )

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

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

            [billing] => Array
                (
                    [Company] => CHILLWATER DISPENSARIES
                    [Contact_First] => Ryan
                    [Contact_Last] => Howe
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => 
                    [State] => 
                    [Zip] => 99999
                    [Country] => USA
                    [Email] => ryan@chillwatercannabis.com
                    [Phone] => (805) 895-2578 
                )

            [shipping] => Array
                (
                    [ShipToName] => CHILLWATER DISPENSARIES
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => 
                    [State] => 
                    [Zip] => 99999
                    [Country] => USA
                    [Email] => ryan@chillwatercannabis.com
                    [Phone] => (805) 895-2578 
                )

            [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] => api_freight
                    [freight_estimate_value] => 3172.00
                    [lead_time] => 2-3 Weeks, depending on stock and availability.
                    [email_quote_to] => ryan@chillwatercannabis.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/CleanLeafCL2500D-Ducting-Drawing-Top-View.pdf
                            [4] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCPHE Drawing.pdf
                            [5] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 2500D Door Clearance.pdf
                            [6] => /mnt/product_media/cleanleaf/pdf/cleanleaf-warranty-card.pdf
                            [7] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Odor_Mitigation.pdf
                            [8] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCP Specs 11-13-22.pdf
                            [9] => /mnt/product_media/cleanleaf/pdf/CL1250D Series Owners Manual 11122021_compressed.pdf
                            [10] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 
    [mas_cust_no] => CHI999A
    [mas_cust_exists] => false
    [exportid] => 94849
    [masquotenum] => Q063704
    [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] => api_freight
    [freight_estimate_value] => 3172.00
    [lead_time] => 2-3 Weeks, depending on stock and availability.
    [email_quote_to] => ryan@chillwatercannabis.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/CleanLeafCL2500D-Ducting-Drawing-Top-View.pdf [4] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCPHE Drawing.pdf [5] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 2500D Door Clearance.pdf [6] => /mnt/product_media/cleanleaf/pdf/cleanleaf-warranty-card.pdf [7] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Odor_Mitigation.pdf [8] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCP Specs 11-13-22.pdf [9] => /mnt/product_media/cleanleaf/pdf/CL1250D Series Owners Manual 11122021_compressed.pdf [10] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 3.814697265625E-6 secs since start
after getting new exportid ... 94849: 0.10119390487671 secs since start
Session ID: e9d88cv891ic0noh2goajs7clf
just before engaging cartlink ...: 0.30841183662415 secs since start
after most cartlink items ...: 0.30955195426941 secs since start
after getting new so num ...: 0.4603579044342 secs since start
after remaining cartlink items ...: 0.46039199829102 secs since start
SO Number: Q063704
just prior to terms gathering ...: 0.46041297912598 secs since start
after getting customer terms ...: 0.55019092559814 secs since start
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q063704','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 ('Q063704','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','1','1','3190.00','3190.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.5761878490448 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/CleanLeafCL2500D-Ducting-Drawing-Top-View.pdf
    [4] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCPHE Drawing.pdf
    [5] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 2500D Door Clearance.pdf
    [6] => /mnt/product_media/cleanleaf/pdf/cleanleaf-warranty-card.pdf
    [7] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Odor_Mitigation.pdf
    [8] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCP Specs 11-13-22.pdf
    [9] => /mnt/product_media/cleanleaf/pdf/CL1250D Series Owners Manual 11122021_compressed.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1770226445_4723.pdf
after merging and generating email/quote PDFs ...: 63.591319799423 secs since start
File: files[Quote.pdf] => @
File DNE! Skipping ... :
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1770226445_4723.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 63.81605887413 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 64.006844997406 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 66.03387594223 secs since start
strJSON:
{"exportid":"94849","import_result":null,"import_error":"","fileurl":"GMImport_94849_1770226448_25211.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"CHILLWATER DISPENSARIES","goldmine_email":"ryan@chillwatercannabis.com","goldmine_phone":"(805) 895-2578","mas_quote_number":"Q063704","mas_customer_number":"CHI999A"}
end: 68.238656997681 secs since start