Session Data

Array
(
    [HubSpot] => Array
        (
            [hs_deal_id] => 53887221405
            [hs_company_id] => 31022976341
            [salesorderno] => 
            [repid] => 0076
            [contact_id] => 150583801690
            [contact_email] => jacob.cramer@iscsales.com
            [contact_phone] => 469-626-1954
            [contact_address] => 7950 Legacy Drive Suite 400, Plano, TX, 75024, United States
            [company_name] => ISC
            [company_mas_customer_no] => ISC7502
            [mas_customer_no] => 
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => ISC
                    [Contact_First] => Jacob
                    [Contact_Last] => Cramer
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 75001
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 168394
                    [mascustnum] => ISC7502
                )

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

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

            [billing] => Array
                (
                    [Company] => ISC
                    [Contact_First] => Jacob
                    [Contact_Last] => Cramer
                    [Address1] => 7950 Legacy Drive, Suite 400
                    [Address2] => 
                    [Address3] => 
                    [City] => 
                    [State] => 
                    [Zip] => 75001
                    [Country] => USA
                    [Email] => jacob.cramer@iscsales.com
                    [Phone] => (972) 964-2700
                )

            [shipping] => Array
                (
                    [ShipToName] => ISC
                    [Address1] => 7950 Legacy Drive, Suite 400
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => 
                    [State] => 
                    [Zip] => 75001
                    [Country] => USA
                    [Email] => jacob.cramer@iscsales.com
                    [Phone] => (972) 964-2700
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0076
                    [ProductLine] => CL
                    [forecasting_likelihood] => 
                    [forecasting_expected_close_date] => 
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => api_freight
                    [freight_estimate_value] => 702.00
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote_to] => jacob.cramer@iscsales.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] => /mnt/product_media/cleanleaf/pdf/ed400_compressed.pdf
                            [2] => /mnt/product_media/cleanleaf/pdf/ed400-ownersmanual_compressed.pdf
                            [3] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 168394
    [mas_cust_no] => ISC7502
    [mas_cust_exists] => true
    [exportid] => 93976
    [masquotenum] => Q062963
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0076
    [ProductLine] => CL
    [forecasting_likelihood] => 
    [forecasting_expected_close_date] => 
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => api_freight
    [freight_estimate_value] => 702.00
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote_to] => jacob.cramer@iscsales.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] => /mnt/product_media/cleanleaf/pdf/ed400_compressed.pdf [2] => /mnt/product_media/cleanleaf/pdf/ed400-ownersmanual_compressed.pdf [3] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 5.0067901611328E-6 secs since start
after getting new exportid ... 93976: 0.093523025512695 secs since start
Session ID: 8ep5mmceov021erahcjpiivg7r
just before engaging cartlink ...: 0.29703593254089 secs since start
after most cartlink items ...: 0.29814791679382 secs since start
after getting new so num ...: 0.44814586639404 secs since start
after remaining cartlink items ...: 0.44817686080933 secs since start
SO Number: Q062963
just prior to terms gathering ...: 0.44819688796997 secs since start
after getting customer terms ...: 0.53586101531982 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => ED400
            [name] => 400 CFM Portable Classroom HEPA Air Purifier

Dimensions: 14.5" x 14.5" x 23"

Weight: 45 lbs.

Color: Sandstone

Noise Level: 50dB (Low), 66dB (High) [qty] => 5 [price] => 764.99 [cost] => 459.00 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q062963','ED400','400 CFM Portable Classroom HEPA Air Purifier Dimensions: 14.5" x 14.5" x 23" Weight: 45 lbs. Color: Sandstone Noise Level: 50dB (Low), 66dB (High)','Y','459.00','5','5','764.99','3824.95','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.55938005447388 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/ed400_compressed.pdf
    [2] => /mnt/product_media/cleanleaf/pdf/ed400-ownersmanual_compressed.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1768429621_7816.pdf
after merging and generating email/quote PDFs ...: 63.489581823349 secs since start
File: files[Quote.pdf] => @
File DNE! Skipping ... :
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1768429621_7816.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 63.57777094841 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 63.747123003006 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 65.774381875992 secs since start
strJSON:
{"exportid":"93976","import_result":null,"import_error":"","fileurl":"GMImport_93976_1768429623_61928.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"ISC","goldmine_email":"jacob.cramer@iscsales.com","goldmine_phone":"(972) 964-2700","mas_quote_number":"Q062963","mas_customer_number":"ISC7502"}
end: 66.865628004074 secs since start