Session Data

Array
(
    [HubSpot] => Array
        (
            [hs_deal_id] => 48859407116
            [hs_company_id] => 44361057057
            [salesorderno] => 
            [repid] => 0064
            [contact_id] => 173827812204
            [contact_email] => dminter@adastramn.com
            [contact_phone] => 913-575-8384
            [contact_address] => 5115 Excelsior Blvd #402 St, Louis Park, MN, 55343
            [company_name] => 
            [company_mas_customer_no] => 
            [mas_customer_no] => 
            [FirstName] => David
            [LastName] => Minter
            [Zip] => 55343
            [Phone] => 9135758384
            [Email] => dminter@adastramn.com
            [Address] => 5115 Excelsior Blvd #402 St
            [City] => Louis Park
            [State] => MN
            [Company] => 
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => 
                    [Contact_First] => David
                    [Contact_Last] => Minter
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 55343
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                )

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

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

            [billing] => Array
                (
                    [Company] => 
                    [Contact_First] => David
                    [Contact_Last] => Minter
                    [Address1] => 5115 Excelsior Blvd #402 St
                    [Address2] => 
                    [Address3] => 
                    [City] => Louis Park
                    [State] => MN
                    [Zip] => 55343
                    [Country] => USA
                    [Email] => dminter@adastramn.com
                    [Phone] => 9135758384
                )

            [shipping] => Array
                (
                    [ShipToName] => David Minter
                    [Address1] => 5115 Excelsior Blvd #402 St
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Louis Park
                    [State] => MN
                    [Zip] => 55343
                    [Country] => USA
                    [Email] => dminter@adastramn.com
                    [Phone] => 9135758384
                )

            [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] => api_freight
                    [freight_estimate_value] => CallforFreight
                    [lead_time] => 2-3 Weeks, depending on stock and availability.
                    [email_quote_to] => dminter@adastramn.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-warranty-card.pdf
                            [4] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 
    [mas_cust_no] => MIN5534
    [mas_cust_exists] => false
    [exportid] => 91654
    [masquotenum] => Q060963
    [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] => CallforFreight
    [lead_time] => 2-3 Weeks, depending on stock and availability.
    [email_quote_to] => dminter@adastramn.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-warranty-card.pdf [4] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 5.0067901611328E-6 secs since start
after getting new exportid ... 91654: 0.10372710227966 secs since start
Session ID: ioprrkleuvt7onala7jogf1n4a
just before engaging cartlink ...: 0.30819511413574 secs since start
after most cartlink items ...: 0.30928611755371 secs since start
after getting new so num ...: 0.4690580368042 secs since start
after remaining cartlink items ...: 0.46909499168396 secs since start
SO Number: Q060963
just prior to terms gathering ...: 0.46911001205444 secs since start
after getting customer terms ...: 0.56289219856262 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => 
            [name] => 3700 X 12 = 44,400 Cubic Feet 
44,400 X 12 (Air Changes Per Hour) = 532,800 Total Cubic Feet Of Air In Need Of Filtration Per Hour
532,800/ 60 = 8,880 CFM Needed
8,880/ 2000 = 4.44
5 Units Needed [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [1] => 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] => 5 [price] => 4,764.00 [cost] => 1,675.57 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q060963','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','5','5','4764.00','23820.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.58488512039185 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-warranty-card.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1762806833_4583.pdf
after merging and generating email/quote PDFs ...: 63.273696184158 secs since start
File: files[Quote.pdf] => @
File DNE! Skipping ... :
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1762806833_4583.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 63.492697000504 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 63.659304141998 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 65.685482978821 secs since start
strJSON:
{"exportid":"91654","import_result":null,"import_error":"","fileurl":"GMImport_91654_1762806836_33444.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"","goldmine_email":"dminter@adastramn.com","goldmine_phone":"9135758384","mas_quote_number":"Q060963","mas_customer_number":"MIN5534"}
end: 68.269248008728 secs since start