Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => 
                    [Contact_First] => Brad
                    [Contact_Last] => Gregory
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 63021
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 163913
                    [mascustnum] => GRE6302
                )

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

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

            [billing] => Array
                (
                    [Company] => 
                    [Contact_First] => Brad 
                    [Contact_Last] => Gregory
                    [Address1] => 7225 Forsyth Blvd. 
                    [Address2] => 
                    [Address3] => 
                    [City] => Clayton 
                    [State] => MO
                    [Zip] => 63105
                    [Country] => USA
                    [Email] => bgregory17@gmail.com
                    [Phone] => 314-285-3305
                )

            [shipping] => Array
                (
                    [ShipToName] => Brad Gregory 
                    [Address1] => 16217 Westwoods Business Park 
                    [Address2] => ATTN: Brad - 314-285-3305
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Ellisville 
                    [State] => MO
                    [Zip] => 63021
                    [Country] => USA
                    [Email] => bgregory17@gmail.com
                    [Phone] => 314-285-3305
                )

            [leadid] => 0
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => high
                    [forecasting_expected_close_date] => 01/29/2024
                    [generate_quote] => true
                    [keep_sonum] => Q044808
                    [change_notes] => changes 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote_to] => bgregory17@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/CL1250D-CCP Specs 11-13-22.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 163913
    [mas_cust_no] => GRE6302
    [mas_cust_exists] => true
    [exportid] => 64609
    [masquotenum] => Q044808
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => high
    [forecasting_expected_close_date] => 01/29/2024
    [generate_quote] => true
    [keep_sonum] => Q044808
    [change_notes] => changes 
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote_to] => bgregory17@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/CL1250D-CCP Specs 11-13-22.pdf [2] => quote_bundle_separator ) [act] => submit_quote [not_in_mas] => true )

Debug Data

start: 2.8610229492188E-6 secs since start
after getting new exportid ... 64609: 0.088882923126221 secs since start
Session ID: r6oldntolmrgflm44om9df84ot
just before engaging cartlink ...: 0.08893895149231 secs since start
after most cartlink items ...: 0.089668035507202 secs since start
after getting new so num ...: 0.089686870574951 secs since start
after remaining cartlink items ...: 0.089699029922485 secs since start
SO Number: Q044808
just prior to terms gathering ...: 0.089707851409912 secs since start
after getting customer terms ...: 0.17451000213623 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-CCP
            [name] => CleanLeaf Model CL1250D-CCP, 1,000 CFM Self-Contained Odor Mitigation & Filtration System
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)
8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.) [qty] => 2 [price] => 2,200.00 [cost] => 1,380.73 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q044808','CL1250D-CCP','CleanLeaf Model CL1250D-CCP, 1,000 CFM Self-Contained Odor Mitigation & Filtration System 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) 8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.)','Y','1380.73','2','2','2200.00','4400.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.19700884819031 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCP Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1706550514_6665.pdf
after merging and generating email/quote PDFs ...: 3.6057579517365 secs since start
File: files[Quote.pdf] => @/tmp/tmp_quote_20240129114831_24419.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1706550514_6665.pdf
Rep opted not to send an email ...
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 3.7813169956207 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 5.8057930469513 secs since start
strJSON:
{"exportid":"64609","import_result":null,"import_error":"","fileurl":"GMImport_64609_1706550516_24309.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"","goldmine_email":"bgregory17@gmail.com","goldmine_phone":"314-285-3305","mas_quote_number":"Q044808","mas_customer_number":"GRE6302"}
end: 5.8212828636169 secs since start