Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Pure n Natural Systems, Inc
                    [Contact_First] => Katie 
                    [Contact_Last] => Ng
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 02139
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 116783
                    [mascustnum] => PUR6010
                )

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

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

            [billing] => Array
                (
                    [Company] => Pure n Natural Systems, Inc
                    [Contact_First] => Katie 
                    [Contact_Last] => Ng
                    [Address1] => 45 Prospect St.
                    [Address2] => 
                    [Address3] => 
                    [City] => Cambridge
                    [State] => MA
                    [Zip] => 02139
                    [Country] => USA
                    [Email] => katie@purenatural.com
                    [Phone] => (800) 237-9199
                )

            [shipping] => Array
                (
                    [ShipToName] => TBD
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Oxford 
                    [State] => MS
                    [Zip] => 38655
                    [Country] => USA
                    [Email] => katie@purenatural.com
                    [Phone] => (800) 237-9199
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => medium
                    [forecasting_expected_close_date] => 03/20/2024
                    [generate_quote] => true
                    [keep_sonum] => Q046164
                    [change_notes] => changes 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => estimate
                    [freight_estimate_value] => 732.31
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => katie@purenatural.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf Quote 
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-CF Specs 11-13-22.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 116783
    [mas_cust_no] => PUR6010
    [mas_cust_exists] => true
    [exportid] => 67162
    [masquotenum] => Q046164
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 03/20/2024
    [generate_quote] => true
    [keep_sonum] => Q046164
    [change_notes] => changes 
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => estimate
    [freight_estimate_value] => 732.31
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => katie@purenatural.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Quote 
    [email_quote_body] => 

Hi Katie,

Attached is the quote including shipping for the (1) CL2500D-CF unit going to Oxford, MS.

Please let me know if I can help further.


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-CF 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 ... 67162: 0.093127012252808 secs since start
Session ID: uvns674k4fn0vn508cpe0qa2rt
just before engaging cartlink ...: 0.093208789825439 secs since start
after most cartlink items ...: 0.09433388710022 secs since start
after getting new so num ...: 0.094355821609497 secs since start
after remaining cartlink items ...: 0.09437084197998 secs since start
SO Number: Q046164
just prior to terms gathering ...: 0.09439492225647 secs since start
after getting customer terms ...: 0.17941784858704 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL2500D-CF
            [name] => CleanLeaf Model CL2500D-CF, 2,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes:

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

2x CLF-6602-CF (26x26x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually) [qty] => 1 [price] => 2,880.00 [cost] => 1,800.98 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q046164','CL2500D-CF','CleanLeaf Model CL2500D-CF, 2,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: -1x CLF-2500DCF-1YRPCK +4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly) +2x CLF-662898 (26x26x28" 95% 8 Pocket Bag Filter; changed semi-annually) 2x CLF-6602-CF (26x26x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually)','Y','1800.98','1','1','2880.00','2880.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.21724581718445 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-CF Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1710945706_8579.pdf
after merging and generating email/quote PDFs ...: 4.0463039875031 secs since start
email fields:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [headers] => {"Return-Receipt-To": ""Dan Schroeder" ", "Disposition-Notification-To": ""Dan Schroeder" "}
    [x-smtpapi] => {"unique_args":{"orderNumber":"exportid=67162"}}
    [to[0]] => katie@purenatural.com
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hi Katie,

Attached is the quote including shipping for the (1) CL2500D-CF unit going to Oxford, MS.

Please let me know if I can help further.


Sincerely,


Dan Schroeder

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. 111
866 422-4099 Fax
dan@aircleaningspecialists.com
http://www.cleanleaf.com/



[text] => Hi Katie,Attached is the quote including shipping for the (1) CL2500D-CF unit going to Oxford, MS.Please let me know if I can help further.Sincerely,Dan SchroederCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 111866 422-4099 Faxdan@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => @/tmp/tmp_quote_20240320094142_93332.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1710945706_8579.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240320094142_93332.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1710945706_8579.pdf
email result: {"message":"success"}
arr email result: Array ( [message] => success )
email curl info:
Array
(
    [url] => https://api.sendgrid.com/api/mail.send.json
    [content_type] => application/json
    [http_code] => 200
    [header_size] => 305
    [request_size] => 300
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.885554
    [namelookup_time] => 0.002308
    [connect_time] => 0.0709
    [pretransfer_time] => 0.218332
    [size_upload] => 1643467
    [size_download] => 21
    [speed_download] => 23
    [speed_upload] => 1857024
    [download_content_length] => 21
    [upload_content_length] => 1643467
    [starttransfer_time] => 0.289355
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 35702
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 218170
    [connect_time_us] => 70900
    [namelookup_time_us] => 2308
    [pretransfer_time_us] => 218332
    [redirect_time_us] => 0
    [starttransfer_time_us] => 289355
    [total_time_us] => 885554
)
after sending email to customer ...: 6.9354867935181 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hi Katie,

Attached is the quote including shipping for the (1) CL2500D-CF unit going to Oxford, MS.

Please let me know if I can help further.


Sincerely,


Dan Schroeder

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. 111
866 422-4099 Fax
dan@aircleaningspecialists.com
http://www.cleanleaf.com/



[text] => Hi Katie,Attached is the quote including shipping for the (1) CL2500D-CF unit going to Oxford, MS.Please let me know if I can help further.Sincerely,Dan SchroederCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 111866 422-4099 Faxdan@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => CURLFile Object ( [name] => /tmp/tmp_quote_20240320094142_93332.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1710945706_8579.pdf [mime] => [postname] => Product_Literature.pdf ) [to[0]] => dan@aircleaningspecialists.com )
to rep email result: {"message":"success"}
arr email result: Array ( [message] => success )
email curl info:
Array
(
    [url] => https://api.sendgrid.com/api/mail.send.json
    [content_type] => application/json
    [http_code] => 200
    [header_size] => 305
    [request_size] => 300
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.676812
    [namelookup_time] => 0.002488
    [connect_time] => 0.059957
    [pretransfer_time] => 0.18918
    [size_upload] => 1643074
    [size_download] => 21
    [speed_download] => 31
    [speed_upload] => 2430582
    [download_content_length] => 21
    [upload_content_length] => 1643074
    [starttransfer_time] => 0.249458
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 58600
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 189046
    [connect_time_us] => 59957
    [namelookup_time_us] => 2488
    [pretransfer_time_us] => 189180
    [redirect_time_us] => 0
    [starttransfer_time_us] => 249458
    [total_time_us] => 676812
)
after sending email to rep ...: 9.6145868301392 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGkgS2F0aWUsPC9wPjxwPkF0dGFjaGVkIGlzIHRoZSBxdW90ZSBpbmNsdWRpbmcgc2hpcHBpbmcgZm9yIHRoZSAoMSkgQ0wyNTAwRC1DRiB1bml0IGdvaW5nIHRvIE94Zm9yZCwgTVMuPC9wPjxwPlBsZWFzZSBsZXQgbWUga25vdyBpZiBJIGNhbiBoZWxwIGZ1cnRoZXIuPC9wPjxwPjxicj48L3A+PGRpdj48cD5TaW5jZXJlbHksPGJyPjwvcD48cD48YnI+RGFuIFNjaHJvZWRlcjxicj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5DbGVhbkxlYWY8L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+MTEwODggR3Jhdm9pcyBJbmR1c3RyaWFsIEN0Ljwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5TYWludCBMb3VpcywgTU8gNjMxMjg8L3NwYW4+PGJyPjg2NiA5OTktOTAwOCBFeHQuIDExMTxicj44NjYgNDIyLTQwOTkgRmF4PGJyPmRhbkBhaXJjbGVhbmluZ3NwZWNpYWxpc3RzLmNvbTxicj48YSBocmVmPSJodHRwOi8vd3d3LmNsZWFubGVhZi5jb20vIj5odHRwOi8vd3d3LmNsZWFubGVhZi5jb20vPC9hPjxhIGhyZWY9Imh0dHA6Ly93d3cuZnVtZWF2ZW50LmNvbS8iPjwvYT48L3A+PHA+PGJyPjwvcD48L2Rpdj48ZGl2Pjxicj48L2Rpdj48L2JvZHk+PC9odG1sPg==
v2_mailid: 3173158
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => katie@purenatural.com
    [To] => katie@purenatural.com
    [Date] => 2024-03-20 09:41:51
    [subject] => Your CleanLeaf Quote 
    [mas-customer-no] => PUR6010
    [email-html] => 

Hi Katie,

Attached is the quote including shipping for the (1) CL2500D-CF unit going to Oxford, MS.

Please let me know if I can help further.


Sincerely,


Dan Schroeder

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. 111
866 422-4099 Fax
dan@aircleaningspecialists.com
http://www.cleanleaf.com/



[qq_from_repid] => 0020 [file_0] => CURLFile Object ( [name] => /tmp/tmp_quote_20240320094142_93332.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1710945706_8579.pdf [mime] => [postname] => Product_Literature.pdf ) )
acsopav2 mailgun/newmail.php curl info:
Array
(
    [url] => https://acs-web.acsopav2.com:7443/providers/mailgun/newmail.php
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 404
    [request_size] => 227
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 1.205742
    [namelookup_time] => 0.002649
    [connect_time] => 0.020549
    [pretransfer_time] => 0.056182
    [size_upload] => 1642982
    [size_download] => 1641866
    [speed_download] => 1362544
    [speed_upload] => 1363470
    [download_content_length] => -1
    [upload_content_length] => 1642982
    [starttransfer_time] => 0.074901
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 38676
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 56093
    [connect_time_us] => 20549
    [namelookup_time_us] => 2649
    [pretransfer_time_us] => 56182
    [redirect_time_us] => 0
    [starttransfer_time_us] => 74901
    [total_time_us] => 1205742
)
after pushing email and files into v2/timeline ...: 12.823207855225 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 13.025177955627 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 15.049824953079 secs since start
strJSON:
{"exportid":"67162","import_result":null,"import_error":"","fileurl":"GMImport_67162_1710945717_25902.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Pure n Natural Systems, Inc","goldmine_email":"katie@purenatural.com","goldmine_phone":"(800) 237-9199","mas_quote_number":"Q046164","mas_customer_number":"PUR6010"}
end: 15.075697898865 secs since start