Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => I Squared R Element Co Inc
                    [Contact_First] => Terry
                    [Contact_Last] => Lounsbury
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 14001
                    [Email] => t.lounsbury@isquaredrelement.com
                    [Phone] => 7162552368
                    [place_id] => 
                    [customerid] => 162689
                    [mascustnum] => ISQ1400
                )

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

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

            [billing] => Array
                (
                    [Company] => I Squared R Element Co Inc
                    [Contact_First] => Terry
                    [Contact_Last] => Lounsbury
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => Akron
                    [State] => NY
                    [Zip] => 14001
                    [Country] => USA
                    [Email] => t.lounsbury@isquaredrelement.com
                    [Phone] => (716) 255-2368
                )

            [shipping] => Array
                (
                    [ShipToName] => I Squared R Element Co Inc
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Akron
                    [State] => NY
                    [Zip] => 14001
                    [Country] => USA
                    [Email] => t.lounsbury@isquaredrelement.com
                    [Phone] => (716) 255-2368
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0028
                    [ProductLine] => FX
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 12/27/2023
                    [application] => Welding
                    [generate_quote] => true
                    [is_ghost] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => Varies greatly based on product and stock availability.
                    [email_quote] => true
                    [email_quote_to] => t.lounsbury@isquaredrelement.com
                    [template_id] => 446
                    [email_quote_subject] => Your FumeXtractors Quote
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => /mnt/product_media/fumextractors/pdfs/fx-ha-fume-arms.pdf
                            [2] => /mnt/product_media/fumextractors/pdfs/FX-HA-0807 Drawing.pdf
                            [3] => /mnt/product_media/fumextractors/pdfs/FX-HA-0607 Drawing.pdf
                            [4] => /mnt/product_media/fumextractors/pdfs/FX-XA-08XX Duct Adaptor.pdf
                            [5] => /mnt/product_media/fumextractors/pdfs/arm-bracket-drawings.pdf
                            [6] => /mnt/product_media/fumextractors/pdfs/FX-XA-06XX Duct Adaptor.pdf
                            [7] => quote_bundle_separator
                            [8] => /mnt/product_media/fumextractors/pdfs/fumextractors-warranty.pdf
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 162689
    [mas_cust_no] => ISQ1400
    [mas_cust_exists] => true
    [exportid] => 62057
    [masquotenum] => G001876
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0028
    [ProductLine] => FX
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 12/27/2023
    [application] => Welding
    [generate_quote] => true
    [is_ghost] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => Varies greatly based on product and stock availability.
    [email_quote] => true
    [email_quote_to] => t.lounsbury@isquaredrelement.com
    [template_id] => 446
    [email_quote_subject] => Your FumeXtractors Quote
    [email_quote_body] => 

Hello <<&dear>>,

Thank you for the request. 

Attached is your FumeXtractors quote and product literature. 

<<&quote_link>> to view your quote online including, videos, pictures, and literature.

If you have any questions or would like to place an order please don't hesitate to call or email. 

Sincerely,

<<&RepName>>

FumeXtractors
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 651-9762 Ext. <<&RepPhoneExt>>
866 422-4099 Fax
<<&RepEmail>>
https://fumextractors.com

FumeXtractors is a proud product of Air Cleaning Specialists, Inc.

[files] => [email_product_literature] => true [includedPDFs] => Array ( [0] => {QUOTE} [1] => /mnt/product_media/fumextractors/pdfs/fx-ha-fume-arms.pdf [2] => /mnt/product_media/fumextractors/pdfs/FX-HA-0807 Drawing.pdf [3] => /mnt/product_media/fumextractors/pdfs/FX-HA-0607 Drawing.pdf [4] => /mnt/product_media/fumextractors/pdfs/FX-XA-08XX Duct Adaptor.pdf [5] => /mnt/product_media/fumextractors/pdfs/arm-bracket-drawings.pdf [6] => /mnt/product_media/fumextractors/pdfs/FX-XA-06XX Duct Adaptor.pdf [7] => quote_bundle_separator [8] => /mnt/product_media/fumextractors/pdfs/fumextractors-warranty.pdf ) [act] => submit_quote )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 62057: 0.092332124710083 secs since start
Session ID: 8ligoud7q3hsru36jclo52s3s1
just before engaging cartlink ...: 0.09241509437561 secs since start
after most cartlink items ...: 0.16804695129395 secs since start
after getting new so num ...: 0.4172899723053 secs since start
after remaining cartlink items ...: 0.41732311248779 secs since start
SO Number: G001876
just prior to terms gathering ...: 0.41733813285828 secs since start
after getting customer terms ...: 0.50608801841736 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => FX-HA-0807
            [name] => FumeXtractors 8" x 7' Hanging Fume Arm
Mounting Bracket Included [qty] => 1 [price] => 1,295.00 [cost] => 688.39 [pdfFileURL] => ) [1] => Array ( [sku] => FX-HA-0607 [name] => FumeXtractors 6" x 7' Hanging Fume Arm
With Mounting Bracket [qty] => 0 [price] => 995.00 [cost] => 560.47 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('G001876','FX-HA-0807','FumeXtractors 8" x 7' Hanging Fume Arm Mounting Bracket Included','Y','688.39','1','1','1295.00','1295.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('G001876','FX-HA-0607','FumeXtractors 6" x 7' Hanging Fume Arm With Mounting Bracket','Y','560.47','0','0','995.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 1.0675041675568 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/fumextractors/pdfs/fx-ha-fume-arms.pdf
    [2] => /mnt/product_media/fumextractors/pdfs/FX-HA-0807 Drawing.pdf
    [3] => /mnt/product_media/fumextractors/pdfs/FX-HA-0607 Drawing.pdf
    [4] => /mnt/product_media/fumextractors/pdfs/FX-XA-08XX Duct Adaptor.pdf
    [5] => /mnt/product_media/fumextractors/pdfs/arm-bracket-drawings.pdf
    [6] => /mnt/product_media/fumextractors/pdfs/FX-XA-06XX Duct Adaptor.pdf
)
arrIndividualPDFs:
Array
(
    [0] => /mnt/product_media/fumextractors/pdfs/fumextractors-warranty.pdf
)
temp_url:/tmp/merged-pdf_1701297591_2310.pdf
after merging and generating email/quote PDFs ...: 5.3412380218506 secs since start
email fields:
Array
(
    [from] => stevel@aircleaningspecialists.com
    [fromname] => Steve with FumeXtractors.com
    [headers] => {"Return-Receipt-To": ""Steve Luttbeg" ", "Disposition-Notification-To": ""Steve Luttbeg" "}
    [x-smtpapi] => {"unique_args":{"orderNumber":"exportid=62057"}}
    [to[0]] => t.lounsbury@isquaredrelement.com
    [subject] => Your FumeXtractors Quote
    [html] => 

Hello Terry,

Thank you for the request. 

Attached is your FumeXtractors quote and product literature. 

Click here to view your quote online including, videos, pictures, and literature.

If you have any questions or would like to place an order please don't hesitate to call or email. 

Sincerely,

Steve Luttbeg

FumeXtractors
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 651-9762 Ext. 109
866 422-4099 Fax
stevel@aircleaningspecialists.com
https://fumextractors.com

FumeXtractors is a proud product of Air Cleaning Specialists, Inc.

[text] => Hello Terry,Thank you for the request. Attached is your FumeXtractors quote and product literature. Click here to view your quote online including, videos, pictures, and literature.If you have any questions or would like to place an order please don't hesitate to call or email.  Sincerely, Steve Luttbeg FumeXtractors11088 Gravois Industrial Ct.Saint Louis, MO 63128 866 651-9762 Ext. 109 866 422-4099 Fax stevel@aircleaningspecialists.com https://fumextractors.comFumeXtractors is a proud product of Air Cleaning Specialists, Inc. [files[Quote.pdf]] => @/tmp/tmp_quote_20231129163947_63575.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1701297591_2310.pdf [files[fumextractors-warranty.pdf]] => @/mnt/product_media/fumextractors/pdfs/fumextractors-warranty.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20231129163947_63575.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1701297591_2310.pdf
File: files[fumextractors-warranty.pdf] => @/mnt/product_media/fumextractors/pdfs/fumextractors-warranty.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.812065
    [namelookup_time] => 0.00195
    [connect_time] => 0.060813
    [pretransfer_time] => 0.188249
    [size_upload] => 2518269
    [size_download] => 21
    [speed_download] => 25
    [speed_upload] => 3101316
    [download_content_length] => 21
    [upload_content_length] => 2518269
    [starttransfer_time] => 0.252465
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 55086
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 188052
    [connect_time_us] => 60813
    [namelookup_time_us] => 1950
    [pretransfer_time_us] => 188249
    [redirect_time_us] => 0
    [starttransfer_time_us] => 252465
    [total_time_us] => 812065
)
after sending email to customer ...: 8.1566171646118 secs since start
QUOTE_ATTACHMENT_ID: 0
EMAILING INSIDE COPY:
Array
(
    [from] => stevel@aircleaningspecialists.com
    [fromname] => Steve with FumeXtractors.com
    [subject] => Your FumeXtractors Quote
    [html] => 

Hello Terry,

Thank you for the request. 

Attached is your FumeXtractors quote and product literature. 

Click here (ACS) to view your quote online including, videos, pictures, and literature.

If you have any questions or would like to place an order please don't hesitate to call or email. 

Sincerely,

Steve Luttbeg

FumeXtractors
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 651-9762 Ext. 109
866 422-4099 Fax
stevel@aircleaningspecialists.com
https://fumextractors.com

FumeXtractors is a proud product of Air Cleaning Specialists, Inc.

[text] => Hello Terry,Thank you for the request. Attached is your FumeXtractors quote and product literature. Click here to view your quote online including, videos, pictures, and literature.If you have any questions or would like to place an order please don't hesitate to call or email.  Sincerely, Steve Luttbeg FumeXtractors11088 Gravois Industrial Ct.Saint Louis, MO 63128 866 651-9762 Ext. 109 866 422-4099 Fax stevel@aircleaningspecialists.com https://fumextractors.comFumeXtractors is a proud product of Air Cleaning Specialists, Inc. [files[Quote.pdf]] => CURLFile Object ( [name] => /tmp/tmp_quote_20231129163954_18811.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1701297591_2310.pdf [mime] => [postname] => Product_Literature.pdf ) [files[fumextractors-warranty.pdf]] => CURLFile Object ( [name] => /mnt/product_media/fumextractors/pdfs/fumextractors-warranty.pdf [mime] => [postname] => fumextractors-warranty.pdf ) [to[0]] => stevel@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.513386
    [namelookup_time] => 0.002024
    [connect_time] => 0.039112
    [pretransfer_time] => 0.126319
    [size_upload] => 2517884
    [size_download] => 21
    [speed_download] => 40
    [speed_upload] => 4908155
    [download_content_length] => 21
    [upload_content_length] => 2517884
    [starttransfer_time] => 0.163851
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.114
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 34350
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 126188
    [connect_time_us] => 39112
    [namelookup_time_us] => 2024
    [pretransfer_time_us] => 126319
    [redirect_time_us] => 0
    [starttransfer_time_us] => 163851
    [total_time_us] => 513386
)
after sending email to rep ...: 16.005515098572 secs since start
after inserting/updating customer in v2 ...: 16.088837146759 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+SGVsbG8gVGVycnksPC9wPjxwPlRoYW5rIHlvdSBmb3IgdGhlIHJlcXVlc3QuJm5ic3A7PC9wPjxwPkF0dGFjaGVkIGlzIHlvdXIgRnVtZVh0cmFjdG9ycyBxdW90ZSBhbmQgcHJvZHVjdCBsaXRlcmF0dXJlLiZuYnNwOzwvcD48cD48YSBocmVmPSJodHRwczovL2Z1bWV4dHJhY3RvcnMuY29tL3F1b3RlL2luZGV4LnBocD9hY3Q9bG9naW4mcXVvdGVfbnVtPUcwMDE4NzYmY3VzdF9udW09SVNRMTQwMCIgY29sb3I9ImJsdWUiIHRhcmdldD0iX2JsYW5rIj48dT5DbGljayBoZXJlPC91PjwvYT4gdG8gdmlldyB5b3VyIHF1b3RlIG9ubGluZSBpbmNsdWRpbmcsIHZpZGVvcywgcGljdHVyZXMsIGFuZCBsaXRlcmF0dXJlLjwvcD48cD5JZiB5b3UgaGF2ZSBhbnkgcXVlc3Rpb25zIG9yIHdvdWxkIGxpa2UgdG8gcGxhY2UgYW4gb3JkZXIgcGxlYXNlIGRvbid0IGhlc2l0YXRlIHRvIGNhbGwgb3IgZW1haWwuJm5ic3A7PC9wPjxwPg0KU2luY2VyZWx5LDxicj4NCjxicj4NClN0ZXZlIEx1dHRiZWc8YnI+DQo8YnI+DQo8c3Ryb25nPkZ1bWVYdHJhY3RvcnM8L3N0cm9uZz48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij4xMTA4OCBHcmF2b2lzIEluZHVzdHJpYWwgQ3QuPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPlNhaW50IExvdWlzLCBNTyA2MzEyODwvc3Bhbj48YnI+DQo8YSBocmVmPSJ0ZWw6KzE4NjY2NTE5NzYyIj44NjYgNjUxLTk3NjI8L2E+IEV4dC4gMTA5PGJyPg0KODY2IDQyMi00MDk5IEZheDxicj4NCnN0ZXZlbEBhaXJjbGVhbmluZ3NwZWNpYWxpc3RzLmNvbTxicj4NCjxhIGhyZWY9Imh0dHBzOi8vZnVtZXh0cmFjdG9ycy5jb20iPmh0dHBzOi8vZnVtZXh0cmFjdG9ycy5jb208L2E+PGEgaHJlZj0iaHR0cHM6Ly9mdW1leHRyYWN0b3JzLmNvbSI+PC9hPjwvcD48cD48aT5GdW1lWHRyYWN0b3JzIGlzIGEgcHJvdWQgcHJvZHVjdCBvZiBBaXIgQ2xlYW5pbmcgU3BlY2lhbGlzdHMsIEluYy48L2k+PC9wPjwvYm9keT48L2h0bWw+
v2_mailid: 2940414
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Steve Luttbeg 
    [recipient] => t.lounsbury@isquaredrelement.com
    [To] => t.lounsbury@isquaredrelement.com
    [Date] => 2023-11-29 16:40:02
    [subject] => Your FumeXtractors Quote
    [mas-customer-no] => ISQ1400
    [email-html] => 

Hello Terry,

Thank you for the request. 

Attached is your FumeXtractors quote and product literature. 

Click here (ACS) to view your quote online including, videos, pictures, and literature.

If you have any questions or would like to place an order please don't hesitate to call or email. 

Sincerely,

Steve Luttbeg

FumeXtractors
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 651-9762 Ext. 109
866 422-4099 Fax
stevel@aircleaningspecialists.com
https://fumextractors.com

FumeXtractors is a proud product of Air Cleaning Specialists, Inc.

[qq_from_repid] => 0028 [file_0] => CURLFile Object ( [name] => /tmp/tmp_quote_20231129163954_18811.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1701297591_2310.pdf [mime] => [postname] => Product_Literature.pdf ) [file_2] => CURLFile Object ( [name] => /mnt/product_media/fumextractors/pdfs/fumextractors-warranty.pdf [mime] => [postname] => fumextractors-warranty.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] => 8.623954
    [namelookup_time] => 0.001963
    [connect_time] => 0.019833
    [pretransfer_time] => 0.05341
    [size_upload] => 2517525
    [size_download] => 2516157
    [speed_download] => 291796
    [speed_upload] => 291954
    [download_content_length] => -1
    [upload_content_length] => 2517525
    [starttransfer_time] => 0.072987
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 37142
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 53332
    [connect_time_us] => 19833
    [namelookup_time_us] => 1963
    [pretransfer_time_us] => 53410
    [redirect_time_us] => 0
    [starttransfer_time_us] => 72987
    [total_time_us] => 8623954
)
after pushing email and files into v2/timeline ...: 26.716099023819 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 26.874886035919 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 28.900412082672 secs since start
strJSON:
{"exportid":"62057","import_result":null,"import_error":"","fileurl":"GMImport_62057_1701297615_67773.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"I Squared R Element Co Inc","goldmine_email":"t.lounsbury@isquaredrelement.com","goldmine_phone":"(716) 255-2368","mas_quote_number":"G001876","mas_customer_number":"ISQ1400"}
end: 28.925047159195 secs since start