Session Data

Array
(
    [HubSpot] => Array
        (
            [hs_deal_id] => 41045958216
            [hs_company_id] => 28309306896
            [salesorderno] => 
            [repid] => 0048
            [contact_id] => 108707603595
            [contact_email] => michaelcoverston@gmail.com
            [contact_phone] => +14125229609
            [contact_address] => 131 Revo Rd., PA, 15236
            [company_name] => Coverston
            [company_mas_customer_no] => 
            [mas_customer_no] => 
            [FirstName] => test
            [LastName] => test
            [Zip] => 15236
            [Phone] => +14125229609
            [Email] => michaelcoverston@gmail.com
            [Address] => 131 Revo Rd.
            [City] => 
            [State] => PA
            [Company] => Coverston
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Coverston
                    [Contact_First] => test
                    [Contact_Last] => test
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 15236
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                )

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

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

            [billing] => Array
                (
                    [Company] => Coverston
                    [Contact_First] => Michael
                    [Contact_Last] => test
                    [Address1] => 131 Revo Rd
                    [Address2] => 
                    [Address3] => 
                    [City] => Pittsburgh
                    [State] => PA
                    [Zip] => 15236
                    [Country] => USA
                    [Email] => michaelcoverston@gmail.com
                    [Phone] => 4125229609
                )

            [shipping] => Array
                (
                    [ShipToName] => Coverston
                    [Address1] => 131 Revo Rd
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Pittsburgh
                    [State] => PA
                    [Zip] => 15236
                    [Country] => USA
                    [Email] => michaelcoverston@gmail.com
                    [Phone] => 4125229609
                )

            [leadid] => 1340
            [summary] => Array
                (
                    [SalesPersonNo] => 0048
                    [ProductLine] => CL
                    [forecasting_likelihood] => 
                    [forecasting_expected_close_date] => 
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [freight_estimate_value] => 468.00
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote_to] => michaelcoverston@gmail.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
                    [files] => 
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => /mnt/product_media/cleanleaf/pdf/CL2500-CF.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 143797
    [mas_cust_no] => COV1523
    [mas_cust_exists] => true
    [exportid] => 93622
    [masquotenum] => Q062672
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0048
    [ProductLine] => CL
    [forecasting_likelihood] => 
    [forecasting_expected_close_date] => 
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [freight_estimate_value] => 468.00
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote_to] => michaelcoverston@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] => [includedPDFs] => Array ( [0] => {QUOTE} [1] => /mnt/product_media/cleanleaf/pdf/CL2500-CF.pdf [2] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 4.0531158447266E-6 secs since start
after getting new exportid ... 93622: 0.094699144363403 secs since start
Session ID: hmm4tq5k11630iobfqp6eakuee
just before engaging cartlink ...: 0.30167603492737 secs since start
after most cartlink items ...: 0.30291819572449 secs since start
after getting new so num ...: 0.46058011054993 secs since start
after remaining cartlink items ...: 0.46062302589417 secs since start
SO Number: Q062672
just prior to terms gathering ...: 0.46065020561218 secs since start
after getting customer terms ...: 0.5501492023468 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL2500-CF
            [name] => CleanLeaf Model CL2500-CF, 2,500 CFM Media Filtration System w/ Charcoal After Filter.
Cabinet: 24"W x 24"T x 59" Long - 16GA CRS
Power: 115V 60Hz Single Phase 10.2 Amps
Filter Stage 1: (1) 24" x 24" x 4" 35% Pleated Pre-Filter.
Filter Stage 2: (1) 24" x 24" x 36" 95% (8 Pocket) Bag Filter
Filter Stage 3: (1) 24" x 24" x 2" Charcoal After Filter [qty] => 1 [price] => 3,271.00 [cost] => 1,570.00 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q062672','CL2500-CF','CleanLeaf Model CL2500-CF, 2,500 CFM Media Filtration System w/ Charcoal After Filter. Cabinet: 24"W x 24"T x 59" Long - 16GA CRS Power: 115V 60Hz Single Phase 10.2 Amps Filter Stage 1: (1) 24" x 24" x 4" 35% Pleated Pre-Filter. Filter Stage 2: (1) 24" x 24" x 36" 95% (8 Pocket) Bag Filter Filter Stage 3: (1) 24" x 24" x 2" Charcoal After Filter','Y','1570.00','1','1','3271.00','3271.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.57433700561523 secs since start
generating quote pdf ...
after merging and generating email/quote PDFs ...: 63.543753147125 secs since start
File: files[Quote.pdf] => @
File DNE! Skipping ... :
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 63.632666110992 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 63.778438091278 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 65.826462984085 secs since start
strJSON:
{"exportid":"93622","import_result":null,"import_error":"","fileurl":"GMImport_93622_1767799439_78373.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Coverston","goldmine_email":"michaelcoverston@gmail.com","goldmine_phone":"4125229609","mas_quote_number":"Q062672","mas_customer_number":"COV1523"}
end: 67.058475971222 secs since start