Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Astec Industries 
                    [Contact_First] => Marcus 
                    [Contact_Last] => Paar
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 68008
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                )

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

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

            [billing] => Array
                (
                    [Company] => Astec Industries 
                    [Contact_First] => Marcus 
                    [Contact_Last] => Paar
                    [Address1] => 172 N 12th St
                    [Address2] => 
                    [Address3] => 
                    [City] => Blair
                    [State] => NE
                    [Zip] => 68008
                    [Country] => USA
                    [Email] => mcpaar@astecindustries.com
                    [Phone] => (402) 533-9252
                )

            [shipping] => Array
                (
                    [ShipToName] => Astec Industries 
                    [Address1] => 172 N 12th St
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Blair
                    [State] => NE
                    [Zip] => 68008
                    [Country] => USA
                    [Email] => mcpaar@astecindustries.com
                    [Phone] => (402) 533-9252
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 11/06/2023
                    [customer_tags] => Array
                        (
                            [0] => 17
                            [1] => 7
                        )

                    [application] => Odor
                    [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] => mcpaar@astecindustries.com
                    [template_id] => 489
                    [email_quote_subject] => Your VOC Filtration Quote 
                    [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] => 151071
    [mas_cust_no] => AST6800
    [mas_cust_exists] => true
    [exportid] => 60981
    [masquotenum] => Q042961
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 11/06/2023
    [customer_tags] => Array
        (
            [0] => 17
            [1] => 7
        )

    [application] => Odor
    [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] => mcpaar@astecindustries.com
    [template_id] => 489
    [email_quote_subject] => Your VOC Filtration Quote 
    [email_quote_body] => 

Hello Marcus,

Thank you for your time on the phone today, attached is the quote and literature that we discussed. 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/CL1250D-CCP Specs 11-13-22.pdf [2] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 2.8610229492188E-6 secs since start
after getting new exportid ... 60981: 0.095711946487427 secs since start
Session ID: 3quhcqm648243m5ld2r475t9kt
just before engaging cartlink ...: 0.095769882202148 secs since start
after most cartlink items ...: 0.096569061279297 secs since start
after getting new so num ...: 0.24205899238586 secs since start
after remaining cartlink items ...: 0.24211001396179 secs since start
SO Number: Q042961
just prior to terms gathering ...: 0.24212884902954 secs since start
after getting customer terms ...: 0.32947301864624 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] => 1 [price] => 2,995.00 [cost] => 2,376.98 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q042961','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','2376.98','1','1','2995.00','2995.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.35122394561768 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_1699309965_7760.pdf
after merging and generating email/quote PDFs ...: 3.8676249980927 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=60981"}}
    [to[0]] => mcpaar@astecindustries.com
    [subject] => Your VOC Filtration Quote 
    [html] => 

Hello Marcus,

Thank you for your time on the phone today, attached is the quote and literature that we discussed. 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 Marcus,Thank you for your time on the phone today, attached is the quote and literature that we discussed. 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_20231106163242_38074.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1699309965_7760.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20231106163242_38074.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1699309965_7760.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] => 299
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.390215
    [namelookup_time] => 0.001852
    [connect_time] => 0.037455
    [pretransfer_time] => 0.121746
    [size_upload] => 583884
    [size_download] => 21
    [speed_download] => 53
    [speed_upload] => 1497138
    [download_content_length] => 21
    [upload_content_length] => 583884
    [starttransfer_time] => 0.16142
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.59
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 50850
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 121614
    [connect_time_us] => 37455
    [namelookup_time_us] => 1852
    [pretransfer_time_us] => 121746
    [redirect_time_us] => 0
    [starttransfer_time_us] => 161420
    [total_time_us] => 390215
)
after sending email to customer ...: 6.260999917984 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your VOC Filtration Quote 
    [html] => 

Hello Marcus,

Thank you for your time on the phone today, attached is the quote and literature that we discussed. 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 Marcus,Thank you for your time on the phone today, attached is the quote and literature that we discussed. 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_20231106163242_38074.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1699309965_7760.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] => 299
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.428391
    [namelookup_time] => 0.002178
    [connect_time] => 0.041357
    [pretransfer_time] => 0.132171
    [size_upload] => 583486
    [size_download] => 21
    [speed_download] => 49
    [speed_upload] => 1363285
    [download_content_length] => 21
    [upload_content_length] => 583486
    [starttransfer_time] => 0.179871
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.54
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 48412
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 132045
    [connect_time_us] => 41357
    [namelookup_time_us] => 2178
    [pretransfer_time_us] => 132171
    [redirect_time_us] => 0
    [starttransfer_time_us] => 179871
    [total_time_us] => 428391
)
after sending email to rep ...: 8.6915318965912 secs since start
after inserting/updating customer in v2 ...: 13.62336397171 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gTWFyY3VzLDwvcD48cD5UaGFuayB5b3UgZm9yIHlvdXIgdGltZSBvbiB0aGUgcGhvbmUgdG9kYXksIGF0dGFjaGVkIGlzIHRoZSBxdW90ZSBhbmQgbGl0ZXJhdHVyZSB0aGF0IHdlIGRpc2N1c3NlZC4gUGxlYXNlIHJldmlldyBhbmQgbGV0IG1lIGtub3cgaWYgeW91IGhhdmUgYW55IHF1ZXN0aW9ucyBvciBjb25jZXJucy48L3A+PGRpdj48cD5TaW5jZXJlbHksPGJyPjwvcD48cD48YnI+RGFuIFNjaHJvZWRlcjxicj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5DbGVhbkxlYWY8L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+MTEwODggR3Jhdm9pcyBJbmR1c3RyaWFsIEN0Ljwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5TYWludCBMb3VpcywgTU8gNjMxMjg8L3NwYW4+PGJyPjg2NiA5OTktOTAwOCBFeHQuIDExMTxicj44NjYgNDIyLTQwOTkgRmF4PGJyPmRhbkBhaXJjbGVhbmluZ3NwZWNpYWxpc3RzLmNvbTxicj48YSBocmVmPSJodHRwOi8vd3d3LmNsZWFubGVhZi5jb20vIj5odHRwOi8vd3d3LmNsZWFubGVhZi5jb20vPC9hPjxhIGhyZWY9Imh0dHA6Ly93d3cuZnVtZWF2ZW50LmNvbS8iPjwvYT48L3A+PHA+PGJyPjwvcD48L2Rpdj48ZGl2Pjxicj48L2Rpdj48L2JvZHk+PC9odG1sPg==
v2_mailid: 2890717
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => mcpaar@astecindustries.com
    [To] => mcpaar@astecindustries.com
    [Date] => 2023-11-06 16:32:55
    [subject] => Your VOC Filtration Quote 
    [mas-customer-no] => AST6800
    [email-html] => 

Hello Marcus,

Thank you for your time on the phone today, attached is the quote and literature that we discussed. 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_20231106163242_38074.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1699309965_7760.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] => 226
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 4.659465
    [namelookup_time] => 0.001861
    [connect_time] => 0.019683
    [pretransfer_time] => 0.0538
    [size_upload] => 583362
    [size_download] => 582249
    [speed_download] => 124972
    [speed_upload] => 125211
    [download_content_length] => -1
    [upload_content_length] => 583362
    [starttransfer_time] => 0.072414
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 54582
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 53723
    [connect_time_us] => 19683
    [namelookup_time_us] => 1861
    [pretransfer_time_us] => 53800
    [redirect_time_us] => 0
    [starttransfer_time_us] => 72414
    [total_time_us] => 4659465
)
after pushing email and files into v2/timeline ...: 20.285415887833 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 20.420114994049 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 22.444099903107 secs since start
strJSON:
{"exportid":"60981","import_result":null,"import_error":"","fileurl":"GMImport_60981_1699309984_39884.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Astec Industries ","goldmine_email":"mcpaar@astecindustries.com","goldmine_phone":"(402) 533-9252","mas_quote_number":"Q042961","mas_customer_number":"AST6800"}
end: 22.46505689621 secs since start