Session Data

Array
(
    [copy_from_salesorderno] => Q057828
    [HubSpot] => Array
        (
            [hs_deal_id] => 41336116634
            [hs_company_id] => 0
            [mas_customer_no] => HIG4809
            [company_mas_customer_no] => HIG4890
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => High Society
                    [Contact_First] => Cory
                    [Contact_Last] => Darrow
                    [Zip] => 48902
                    [Email] => dustin@highsocietydispo.com
                    [Phone] => 9374474851
                    [customerid] => 168224
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [place_id] => 
                    [mascustnum] => HIG4890
                )

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

            [billing] => Array
                (
                    [Company] => High Society
                    [Contact_First] => Cory
                    [Contact_Last] => Sawn
                    [Address1] => 6985 miller road
                    [Address2] => 
                    [Address3] => 
                    [City] => warren
                    [State] => MI
                    [Zip] => 48093
                    [Country] => USA
                    [Email] => corysawn@yahoo.com
                    [Phone] => 9374474851
                )

            [shipping] => Array
                (
                    [ShipToName] => High Society
                    [Address1] => 6985 miller road
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => warren
                    [State] => MI
                    [Zip] => 48093
                    [Country] => USA
                    [Email] => corysawn@yahoo.com
                    [Phone] => 9374474851
                )

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

            [leadid] => 0
            [summary] => Array
                (
                    [SalesPersonNo] => 0026
                    [ProductLine] => CL
                    [forecasting_likelihood] => 
                    [forecasting_expected_close_date] => 
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [freight_estimate] => true
                    [freight_type] => api_freight
                    [freight_estimate_value] => 207.45
                    [lead_time] => 2-3 Weeks, depending on stock and availability.
                    [email_quote_to] => corysawn@yahoo.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] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [gm_account_no] => 168224
    [mas_cust_no] => HIG4890
    [last_completed_step] => 5
    [copy_quote] => 1
    [mas_cust_exists] => true
    [exportid] => 88792
    [masquotenum] => Q058422
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0026
    [ProductLine] => CL
    [forecasting_likelihood] => 
    [forecasting_expected_close_date] => 
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [freight_estimate] => true
    [freight_type] => api_freight
    [freight_estimate_value] => 207.45
    [lead_time] => 2-3 Weeks, depending on stock and availability.
    [email_quote_to] => corysawn@yahoo.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] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 2.1457672119141E-6 secs since start
after getting new exportid ... 88792: 0.094832181930542 secs since start
Session ID: 5kdidckjjgm5m8hc71qfqgfg20
just before engaging cartlink ...: 0.094904184341431 secs since start
after most cartlink items ...: 0.09564208984375 secs since start
after getting new so num ...: 0.24492907524109 secs since start
after remaining cartlink items ...: 0.24497604370117 secs since start
SO Number: Q058422
just prior to terms gathering ...: 0.24500012397766 secs since start
after getting customer terms ...: 0.33101797103882 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CLF-5504-HHC
            [name] => 25x15x4 Ultrafine HEPA Glass Fiber Filter
Priced Each
Carton of 4 [qty] => 54 [price] => 99.00 [cost] => 59.82 [pdfFileURL] => ) [1] => Array ( [sku] => CLF-5502 [name] => 25x15x2" Pleated Prefilter
Actual: 25x14.75x2
(Priced Each / Sold Individually) [qty] => 47 [price] => 15.00 [cost] => 8.23 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q058422','CLF-5504-HHC','25x15x4 Ultrafine HEPA Glass Fiber Filter Priced Each Carton of 4','Y','59.82','54','54','99.00','5346.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q058422','CLF-5502','25x15x2" Pleated Prefilter Actual: 25x14.75x2 (Priced Each / Sold Individually)','Y','8.23','47','47','15.00','705.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.35260009765625 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1755783916_5460.pdf
after merging and generating email/quote PDFs ...: 5.1914269924164 secs since start
File: files[Quote.pdf] => @/tmp/tmp_quote_20250821084511_57645.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 5.2868020534515 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 5.4753119945526 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 7.5018491744995 secs since start
strJSON:
{"exportid":"88792","import_result":null,"import_error":"","fileurl":"GMImport_88792_1755783918_15252.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"High Society","goldmine_email":"corysawn@yahoo.com","goldmine_phone":"9374474851","mas_quote_number":"Q058422","mas_customer_number":"HIG4890"}
end: 7.5206520557404 secs since start