Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => RCL Mechanical
                    [Contact_First] => Andy
                    [Contact_Last] => Ashton
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 02767
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                )

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

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

            [billing] => Array
                (
                    [Company] => RCL Mechanical
                    [Contact_First] => Andy
                    [Contact_Last] => Ashton
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => 
                    [State] => 
                    [Zip] => 02767
                    [Country] => USA
                    [Email] => aashton@rclmechanical.com
                    [Phone] => 508-748-2736
                )

            [shipping] => Array
                (
                    [ShipToName] => TBD
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => 
                    [State] => 
                    [Zip] => 
                    [Country] => USA
                    [Email] => aashton@rclmechanical.com
                    [Phone] => 508-748-2736
                )

            [leadid] => 157883
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 01/15/2024
                    [customer_tags] => Array
                        (
                            [0] => 17
                            [1] => 106
                            [2] => 4
                        )

                    [end_user_type] => Commercial
                    [is_reseller] => 1
                    [reseller_type] => Mechanical Contractor
                    [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] => true
                    [email_quote_to] => aashton@rclmechanical.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-HE Specs 11-13-22.pdf
                            [2] => /mnt/product_media/cleanleaf/pdf/CL1250D-HE Specs 11-13-22.pdf
                            [3] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 
    [mas_cust_no] => RCL0276
    [mas_cust_exists] => false
    [exportid] => 63962
    [masquotenum] => Q044551
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 01/15/2024
    [customer_tags] => Array
        (
            [0] => 17
            [1] => 106
            [2] => 4
        )

    [end_user_type] => Commercial
    [is_reseller] => 1
    [reseller_type] => Mechanical Contractor
    [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] => true
    [email_quote_to] => aashton@rclmechanical.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Quote 
    [email_quote_body] => 

Hello Andy,

Sorry for the delay, attached is the quote and literature for they units you requested. Please review and let me know if you have any questions or concerns. 

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] => /mnt/product_media/cleanleaf/pdf/CL1250D-HE Specs 11-13-22.pdf [3] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 1.9073486328125E-6 secs since start
after getting new exportid ... 63962: 0.086798906326294 secs since start
Session ID: a3rc52r6o2j1qh60p364t9hu92
just before engaging cartlink ...: 0.086868047714233 secs since start
after most cartlink items ...: 0.087682008743286 secs since start
after getting new so num ...: 0.22897505760193 secs since start
after remaining cartlink items ...: 0.22902011871338 secs since start
SO Number: Q044551
just prior to terms gathering ...: 0.22903490066528 secs since start
after getting customer terms ...: 0.31205105781555 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] => 3 [price] => 3,135.00 [cost] => 1,959.94 [pdfFileURL] => ) [1] => Array ( [sku] => CL1250D-HE [name] => CleanLeaf Model CL1250D-HE, 1,000 CFM Self-Contained Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

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

1x CLF-552099-HHC (25x15x20" 99.99% DOP V-Bank Medical Grade HEPA Filter; changed every two years) [qty] => 1 [price] => 2,052.00 [cost] => 1,283.05 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q044551','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','3','3','3135.00','9405.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q044551','CL1250D-HE','CleanLeaf Model CL1250D-HE, 1,000 CFM Self-Contained Filtration System Side Access Filter Housing with a year supply of filters, which includes: -1x CLF-1250DHE-1YRPCK +4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) +2x CLF-551298 (25x15x12" 95% 8 Pocket Bag Filter; changed semi-annually) 1x CLF-552099-HHC (25x15x20" 99.99% DOP V-Bank Medical Grade HEPA Filter; changed every two years)','Y','1283.05','1','1','2052.00','2052.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.3380811214447 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-HE Specs 11-13-22.pdf
    [2] => /mnt/product_media/cleanleaf/pdf/CL1250D-HE Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1705334481_7144.pdf
after merging and generating email/quote PDFs ...: 4.1195859909058 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=63962"}}
    [to[0]] => aashton@rclmechanical.com
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Andy,

Sorry for the delay, attached is the quote and literature for they units you requested. Please review and let me know if you have any questions or concerns. 

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] => Hello Andy,Sorry for the delay, attached is the quote and literature for they units you requested. Please review and let me know if you have any questions or concerns. 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_20240115100118_59027.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1705334481_7144.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240115100118_59027.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1705334481_7144.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.51311
    [namelookup_time] => 0.001862
    [connect_time] => 0.037428
    [pretransfer_time] => 0.121216
    [size_upload] => 2640619
    [size_download] => 21
    [speed_download] => 40
    [speed_upload] => 5147405
    [download_content_length] => 21
    [upload_content_length] => 2640619
    [starttransfer_time] => 0.162353
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.114
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 34368
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 121108
    [connect_time_us] => 37428
    [namelookup_time_us] => 1862
    [pretransfer_time_us] => 121216
    [redirect_time_us] => 0
    [starttransfer_time_us] => 162353
    [total_time_us] => 513110
)
after sending email to customer ...: 6.6353619098663 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Andy,

Sorry for the delay, attached is the quote and literature for they units you requested. Please review and let me know if you have any questions or concerns. 

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] => Hello Andy,Sorry for the delay, attached is the quote and literature for they units you requested. Please review and let me know if you have any questions or concerns. 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_20240115100118_59027.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1705334481_7144.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.537151
    [namelookup_time] => 0.002247
    [connect_time] => 0.041185
    [pretransfer_time] => 0.130516
    [size_upload] => 2640222
    [size_download] => 21
    [speed_download] => 39
    [speed_upload] => 4916614
    [download_content_length] => 21
    [upload_content_length] => 2640222
    [starttransfer_time] => 0.1743
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.59
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 45206
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 130130
    [connect_time_us] => 41185
    [namelookup_time_us] => 2247
    [pretransfer_time_us] => 130516
    [redirect_time_us] => 0
    [starttransfer_time_us] => 174300
    [total_time_us] => 537151
)
after sending email to rep ...: 9.1746609210968 secs since start
after inserting/updating customer in v2 ...: 88.803056001663 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gQW5keSw8L3A+PHA+U29ycnkgZm9yIHRoZSBkZWxheSwgYXR0YWNoZWQgaXMgdGhlIHF1b3RlIGFuZCBsaXRlcmF0dXJlIGZvciB0aGV5IHVuaXRzIHlvdSByZXF1ZXN0ZWQuIFBsZWFzZSByZXZpZXcgYW5kIGxldCBtZSBrbm93IGlmIHlvdSBoYXZlIGFueSBxdWVzdGlvbnMgb3IgY29uY2VybnMuJm5ic3A7PC9wPjxkaXY+PHA+U2luY2VyZWx5LDxicj48L3A+PHA+PGJyPkRhbiBTY2hyb2VkZXI8YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiAxMTE8YnI+ODY2IDQyMi00MDk5IEZheDxicj5kYW5AYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3035354
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => aashton@rclmechanical.com
    [To] => aashton@rclmechanical.com
    [Date] => 2024-01-15 10:02:46
    [subject] => Your CleanLeaf Quote 
    [mas-customer-no] => RCL0276
    [email-html] => 

Hello Andy,

Sorry for the delay, attached is the quote and literature for they units you requested. Please review and let me know if you have any questions or concerns. 

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_20240115100118_59027.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1705334481_7144.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] => 13.01015
    [namelookup_time] => 0.001995
    [connect_time] => 0.020112
    [pretransfer_time] => 0.052833
    [size_upload] => 2640104
    [size_download] => 2638998
    [speed_download] => 202843
    [speed_upload] => 202928
    [download_content_length] => -1
    [upload_content_length] => 2640104
    [starttransfer_time] => 0.071934
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 46376
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 52756
    [connect_time_us] => 20112
    [namelookup_time_us] => 1995
    [pretransfer_time_us] => 52833
    [redirect_time_us] => 0
    [starttransfer_time_us] => 71934
    [total_time_us] => 13010150
)
after pushing email and files into v2/timeline ...: 103.81629610062 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 103.97371006012 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 106.02302908897 secs since start
strJSON:
{"exportid":"63962","import_result":null,"import_error":"","fileurl":"GMImport_63962_1705334583_37883.acsopa","email_result":"success","goldmine_import":null,"mas_import":"true","generate_quote":"true","goldmine_company":"RCL Mechanical","goldmine_email":"aashton@rclmechanical.com","goldmine_phone":"508-748-2736","mas_quote_number":"Q044551","mas_customer_number":"RCL0276"}
end: 106.04571294785 secs since start