Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => MIVA LLC
                    [Contact_First] => Christian
                    [Contact_Last] => Lira
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 88063
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 162853
                    [mascustnum] => MIV8806
                )

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

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

            [billing] => Array
                (
                    [Company] => MIVA LLC
                    [Contact_First] => Christian
                    [Contact_Last] => Lira
                    [Address1] => 136 Sierra Vista Dr. 
                    [Address2] => 
                    [Address3] => 
                    [City] => Sunland Park 
                    [State] => NM
                    [Zip] => 88063
                    [Country] => USA
                    [Email] => christian@christianlira.com
                    [Phone] => (915) 202-3232
                )

            [shipping] => Array
                (
                    [ShipToName] => MIVA LLC
                    [Address1] => 1500 Appaloosa Dr .
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Sunland Park
                    [State] => NM
                    [Zip] => 88063
                    [Country] => USA
                    [Email] => christian@christianlira.com
                    [Phone] => (915) 202-3232
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => high
                    [forecasting_expected_close_date] => 01/15/2024
                    [generate_quote] => true
                    [keep_sonum] => Q043677
                    [change_notes] => changes 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => estimate
                    [freight_estimate_value] => 999.35
                    [lead_time] => 1-2 Weeks
                    [email_quote_to] => christian@christianlira.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-CF Specs 11-13-22.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 162853
    [mas_cust_no] => MIV8806
    [mas_cust_exists] => true
    [exportid] => 63978
    [masquotenum] => Q043677
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => high
    [forecasting_expected_close_date] => 01/15/2024
    [generate_quote] => true
    [keep_sonum] => Q043677
    [change_notes] => changes 
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => estimate
    [freight_estimate_value] => 999.35
    [lead_time] => 1-2 Weeks
    [email_quote_to] => christian@christianlira.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-CF Specs 11-13-22.pdf [2] => quote_bundle_separator ) [act] => submit_quote [not_in_mas] => true )

Debug Data

start: 5.0067901611328E-6 secs since start
after getting new exportid ... 63978: 0.094764947891235 secs since start
Session ID: seroqol8efigim8nhbo7n0vp83
just before engaging cartlink ...: 0.094829797744751 secs since start
after most cartlink items ...: 0.095567941665649 secs since start
after getting new so num ...: 0.095579862594604 secs since start
after remaining cartlink items ...: 0.095594882965088 secs since start
SO Number: Q043677
just prior to terms gathering ...: 0.095607995986938 secs since start
after getting customer terms ...: 0.18079781532288 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-CF
            [name] => CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

-1x CLF-1250DCF-1YRPCK
+4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly)
+2x CLF-552898 (25x15x28" 95% 8 Pocket Bag Filter; changed semi-annually)

-2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually)

Color: Grey [qty] => 1 [price] => 2,097.00 [cost] => 1,165.33 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043677','CL1250D-CF','CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: -1x CLF-1250DCF-1YRPCK +4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) +2x CLF-552898 (25x15x28" 95% 8 Pocket Bag Filter; changed semi-annually) -2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually) Color: Grey','Y','1165.33','1','1','2097.00','2097.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.20351386070251 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CF Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1705339824_1563.pdf
after merging and generating email/quote PDFs ...: 3.9348139762878 secs since start
File: files[Quote.pdf] => @/tmp/tmp_quote_20240115113020_22369.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1705339824_1563.pdf
Rep opted not to send an email ...
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 4.1340498924255 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 6.1604778766632 secs since start
strJSON:
{"exportid":"63978","import_result":null,"import_error":"","fileurl":"GMImport_63978_1705339826_97620.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"MIVA LLC","goldmine_email":"christian@christianlira.com","goldmine_phone":"(915) 202-3232","mas_quote_number":"Q043677","mas_customer_number":"MIV8806"}
end: 6.1778450012207 secs since start