Session Data

Array
(
    [HubSpot] => Array
        (
            [hs_deal_id] => 46599447340
            [hs_company_id] => 31018652449
            [salesorderno] => 
            [repid] => 0026
            [contact_id] => 166064528009
            [contact_email] => downtownonmaintifton@gmail.com
            [contact_phone] => +14043607586
            [contact_address] => 31794
            [company_name] => Downtown On Main
            [company_mas_customer_no] => DOW3179
            [mas_customer_no] => 
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Downtown On Main
                    [Contact_First] => Lester
                    [Contact_Last] => Cromer Jr
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 31794
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 166820
                    [mascustnum] => DOW3179
                )

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

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

            [billing] => Array
                (
                    [Company] => Downtown On Main
                    [Contact_First] => Lester
                    [Contact_Last] => Cromer Jr
                    [Address1] => 112 11th St
                    [Address2] => 
                    [Address3] => 
                    [City] => Tifton
                    [State] => GA
                    [Zip] => 31794
                    [Country] => USA
                    [Email] => downtownonmaintifton@gmail.com
                    [Phone] => (404) 360-7586
                )

            [shipping] => Array
                (
                    [ShipToName] => Downtown On Main
                    [Address1] => 112 11th St
                    [Address2] => Lester (404) 360-7586
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Tifton
                    [State] => GA
                    [Zip] => 31794
                    [Country] => USA
                    [Email] => downtownonmaintifton@gmail.com
                    [Phone] => (404) 360-7586
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0026
                    [ProductLine] => CL
                    [forecasting_likelihood] => 
                    [forecasting_expected_close_date] => 
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [freight_estimate] => true
                    [freight_type] => api_freight
                    [freight_estimate_value] => 162.50
                    [lead_time] => 1-3 Weeks
                    [email_quote_to] => downtownonmaintifton@gmail.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] => quote_bundle_separator
                            [2] => /mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.pdf
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 166820
    [mas_cust_no] => DOW3179
    [mas_cust_exists] => true
    [exportid] => 90901
    [masquotenum] => Q060284
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0026
    [ProductLine] => CL
    [forecasting_likelihood] => 
    [forecasting_expected_close_date] => 
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [freight_estimate] => true
    [freight_type] => api_freight
    [freight_estimate_value] => 162.50
    [lead_time] => 1-3 Weeks
    [email_quote_to] => downtownonmaintifton@gmail.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] => quote_bundle_separator [2] => /mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.pdf ) [act] => submit_quote )

Debug Data

start: 4.0531158447266E-6 secs since start
after getting new exportid ... 90901: 0.096444129943848 secs since start
Session ID: f9j9522dagtjue56qk7b088fda
just before engaging cartlink ...: 0.30370092391968 secs since start
after most cartlink items ...: 0.30493903160095 secs since start
after getting new so num ...: 0.45701003074646 secs since start
after remaining cartlink items ...: 0.45704507827759 secs since start
SO Number: Q060284
just prior to terms gathering ...: 0.45709013938904 secs since start
after getting customer terms ...: 0.54551911354065 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => BOF-5001-FM
            [name] => 15 x 20 x 1" Foam Prefilter - Washable

USED IN OX1100/OX1100-CF/OX100-CC/OX1100-HE [qty] => 3 [price] => 40.00 [cost] => 25.00 [pdfFileURL] => ) [1] => Array ( [sku] => BOF-052496 [name] => Fiberglass Bag, 20" X 15" X 24" MERV 15 (95%)

6.0 Pockets, Gasket None, Loops None, Std Header, Nom Size, wtih Velcro

(Priced Each / Sold in Cartons of 4)

Used in OX1100/ -CF and CL1100/ -CF [qty] => 4 [price] => 82.20 [cost] => 57.54 [pdfFileURL] => ) [2] => Array ( [sku] => BOF-5002-CF [name] => 15 x 20 x 2" Charcoal Afterfilter - 75% Fill

Actual Size 14.875 x 19.75 x 2

Equivalent to CLF-5002-CF [qty] => 3 [price] => 75.00 [cost] => 31.69 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q060284','BOF-5001-FM','15 x 20 x 1" Foam Prefilter - Washable USED IN OX1100/OX1100-CF/OX100-CC/OX1100-HE','Y','25.00','3','3','40.00','120.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q060284','BOF-052496','Fiberglass Bag, 20" X 15" X 24" MERV 15 (95%) 6.0 Pockets, Gasket None, Loops None, Std Header, Nom Size, wtih Velcro (Priced Each / Sold in Cartons of 4) Used in OX1100/ -CF and CL1100/ -CF','Y','57.54','4','4','82.20','328.80','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q060284','BOF-5002-CF','15 x 20 x 2" Charcoal Afterfilter - 75% Fill Actual Size 14.875 x 19.75 x 2 Equivalent to CLF-5002-CF','Y','31.69','3','3','75.00','225.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.56899094581604 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
)
arrIndividualPDFs:
Array
(
    [0] => /mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.pdf
)
temp_url:/tmp/merged-pdf_1761079610_9363.pdf
after merging and generating email/quote PDFs ...: 63.303605079651 secs since start
File: files[Quote.pdf] => @
File DNE! Skipping ... :
File: files[CC Authorization Form.pdf] => @/mnt/product_media/acs/qq_option_pdfs/CC Authorization Form.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 63.392929077148 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 63.607445001602 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 65.634995937347 secs since start
strJSON:
{"exportid":"90901","import_result":null,"import_error":"","fileurl":"GMImport_90901_1761079613_62028.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Downtown On Main","goldmine_email":"downtownonmaintifton@gmail.com","goldmine_phone":"(404) 360-7586","mas_quote_number":"Q060284","mas_customer_number":"DOW3179"}
end: 66.861643075943 secs since start