Session Data

Array
(
    [HubSpot] => Array
        (
            [hs_deal_id] => 51339942812
            [hs_company_id] => 0
            [salesorderno] => 
            [repid] => 0076
            [contact_id] => 182444431255
            [contact_email] => lfzh2005@gmail.com
            [contact_phone] => 
            [contact_address] => 08057
            [company_name] => 
            [company_mas_customer_no] => 
            [mas_customer_no] => 
            [FirstName] => Lee
            [LastName] => Zhang
            [Zip] => 08057
            [Phone] => 
            [Email] => lfzh2005@gmail.com
            [Address] => 
            [City] => 
            [State] => 
            [Company] => 
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => 
                    [Contact_First] => Lee
                    [Contact_Last] => Zhang
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 08057
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                )

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

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

            [billing] => Array
                (
                    [Company] => 
                    [Contact_First] => Lee
                    [Contact_Last] => Zhang
                    [Address1] => 102 fellowship dr
                    [Address2] => 
                    [Address3] => 
                    [City] => morristown
                    [State] => NJ
                    [Zip] => 08057
                    [Country] => USA
                    [Email] => lfzh2005@gmail.com
                    [Phone] => (856) 448-1988
                )

            [shipping] => Array
                (
                    [ShipToName] => Lee Zhang
                    [Address1] => 102 fellowship dr
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => morristown
                    [State] => NJ
                    [Zip] => 08057
                    [Country] => USA
                    [Email] => lfzh2005@gmail.com
                    [Phone] => (856) 448-1988
                )

            [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] => 1-2 Weeks, depending on stock and availability.
                    [email_quote_to] => lfzh2005@gmail.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] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 
    [mas_cust_no] => ZHA0805
    [mas_cust_exists] => false
    [exportid] => 92658
    [masquotenum] => Q061838
    [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] => 1-2 Weeks, depending on stock and availability.
    [email_quote_to] => lfzh2005@gmail.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] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 5.0067901611328E-6 secs since start
after getting new exportid ... 92658: 0.10620307922363 secs since start
Session ID: 8cau62f6p09oq43hhi2oplr1dj
just before engaging cartlink ...: 0.31114721298218 secs since start
after most cartlink items ...: 0.31244611740112 secs since start
after getting new so num ...: 0.46419715881348 secs since start
after remaining cartlink items ...: 0.46423101425171 secs since start
SO Number: Q061838
just prior to terms gathering ...: 0.46424603462219 secs since start
after getting customer terms ...: 0.5596170425415 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => 
            [name] => 12 x 1000= 12000 cubic feet of air
12000 x 10 air changes per hour ( ideal for cannabis odor)= 120000 Total Volume of air in need of filtration
120000/60= 2000 CFM needed for each grow room
each unit 2000 CFM [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] => 8 [price] => 4,764.00 [cost] => 1,675.57 [pdfFileURL] => ) [2] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [3] => 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 ('Q061838','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','8','8','4764.00','38112.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q061838','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.59142303466797 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCP Specs11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1765208652_5717.pdf
after merging and generating email/quote PDFs ...: 63.384099006653 secs since start
File: files[Quote.pdf] => @
File DNE! Skipping ... :
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1765208652_5717.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 63.590862989426 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 63.777595996857 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 65.804408073425 secs since start
strJSON:
{"exportid":"92658","import_result":null,"import_error":"","fileurl":"GMImport_92658_1765208655_72477.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"","goldmine_email":"lfzh2005@gmail.com","goldmine_phone":"(856) 448-1988","mas_quote_number":"Q061838","mas_customer_number":"ZHA0805"}
end: 68.072508096695 secs since start