Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Zen Barn
                    [Contact_First] => Stephen 
                    [Contact_Last] => Steve
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 05602
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                )

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

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

            [billing] => Array
                (
                    [Company] => Zen Barn
                    [Contact_First] => Stephen 
                    [Contact_Last] => Steve
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => 
                    [State] => 
                    [Zip] => 05602
                    [Country] => USA
                    [Email] => stephen@zenbarnvt.com
                    [Phone] => 802-282-3886
                )

            [shipping] => Array
                (
                    [ShipToName] => Zen Barn
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => 
                    [State] => 
                    [Zip] => 05602
                    [Country] => USA
                    [Email] => stephen@zenbarnvt.com
                    [Phone] => 802-282-3886
                )

            [leadid] => 160042
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 01/18/2024
                    [customer_tags] => Array
                        (
                            [0] => 17
                            [1] => 7
                        )

                    [end_user_type] => Commercial
                    [reseller_type] => 
                    [application] => Contaminants
                    [goldmine_import] => true
                    [mas_import] => true
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote_to] => stephen@zenbarnvt.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-HE Specs 11-13-22.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 
    [mas_cust_no] => ZEN0560
    [mas_cust_exists] => false
    [exportid] => 64139
    [masquotenum] => Q044655
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 01/18/2024
    [customer_tags] => Array
        (
            [0] => 17
            [1] => 7
        )

    [end_user_type] => Commercial
    [reseller_type] => 
    [application] => Contaminants
    [goldmine_import] => true
    [mas_import] => true
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote_to] => stephen@zenbarnvt.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-HE Specs 11-13-22.pdf [2] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 5.0067901611328E-6 secs since start
after getting new exportid ... 64139: 0.088465929031372 secs since start
Session ID: 9hl8mfe1g0ab2k8e08sofc1hvr
just before engaging cartlink ...: 0.088525056838989 secs since start
after most cartlink items ...: 0.089121103286743 secs since start
after getting new so num ...: 0.23275709152222 secs since start
after remaining cartlink items ...: 0.23279094696045 secs since start
SO Number: Q044655
just prior to terms gathering ...: 0.23280811309814 secs since start
after getting customer terms ...: 0.32073307037354 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL2500D-HE
            [name] => CleanLeaf Model CL2500D-HE, 2,000 CFM Self-Contained Filtration System Side Access Filter Housing with a year supply of filters, which includes:

-1x CLF-2500DHE-1YRPCK
+4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly)
+2x CLF-661698 (26x26x16" 95% 8 Pocket Bag Filter; changed semi-annually)

1x CLF-661699-HHC (26x26x16" 99.99% DOP V-Bank Medical Grade HEPA Filter; changed every 2 years) [qty] => 8 [price] => 3,300.00 [cost] => 1,959.94 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q044655','CL2500D-HE','CleanLeaf Model CL2500D-HE, 2,000 CFM Self-Contained Filtration System Side Access Filter Housing with a year supply of filters, which includes: -1x CLF-2500DHE-1YRPCK +4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly) +2x CLF-661698 (26x26x16" 95% 8 Pocket Bag Filter; changed semi-annually) 1x CLF-661699-HHC (26x26x16" 99.99% DOP V-Bank Medical Grade HEPA Filter; changed every 2 years)','Y','1959.94','8','8','3300.00','26400.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.34813404083252 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-HE Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1705598820_2972.pdf
after merging and generating email/quote PDFs ...: 3.9500739574432 secs since start
File: files[Quote.pdf] => @/tmp/tmp_quote_20240118112656_95578.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1705598820_2972.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 15.874664068222 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 16.012857913971 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 18.058469057083 secs since start
strJSON:
{"exportid":"64139","import_result":null,"import_error":"","fileurl":"GMImport_64139_1705598834_86539.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"true","generate_quote":"true","goldmine_company":"Zen Barn","goldmine_email":"stephen@zenbarnvt.com","goldmine_phone":"802-282-3886","mas_quote_number":"Q044655","mas_customer_number":"ZEN0560"}
end: 18.708065986633 secs since start