Session Data

Array
(
    [HubSpot] => Array
        (
            [hs_deal_id] => 50331461519
            [hs_company_id] => 38965518703
            [salesorderno] => 
            [repid] => 0076
            [contact_id] => 151263076016
            [contact_email] => jchvacservices5@gmail.com
            [contact_phone] => 12019369683
            [contact_address] => 07657
            [company_name] => Juan Alzate
            [company_mas_customer_no] => ALZ0765
            [mas_customer_no] => 
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Juan Alzate
                    [Contact_First] => Juan
                    [Contact_Last] => Alzate
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 07657
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 213389
                    [mascustnum] => ALZ0765
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 213389
                    [mas_cust_no] => ALZ0765
                )

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

            [billing] => Array
                (
                    [Company] => Juan Alzate
                    [Contact_First] => Juan
                    [Contact_Last] => Alzate
                    [Address1] => 556 Oakdene Avenue
                    [Address2] => 
                    [Address3] => 
                    [City] => Ridgefield
                    [State] => NJ
                    [Zip] => 07657
                    [Country] => USA
                    [Email] => jchvacservices5@gmail.com
                    [Phone] => (201) 936-9683
                )

            [shipping] => Array
                (
                    [ShipToName] => Juan Alzate
                    [Address1] => 556 Oakdene Avenue
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Ridgefield
                    [State] => NJ
                    [Zip] => 07657
                    [Country] => USA
                    [Email] => jchvacservices5@gmail.com
                    [Phone] => (201) 936-9683
                )

            [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] => 676.00
                    [lead_time] => 2-3Weeks, depending on stock and availability.
                    [email_quote_to] => jchvacservices5@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] => /mnt/product_media/cleanleaf/pdf/CL1100-CF.pdf
                            [2] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Mounting_Guide.pdf
                            [3] => /mnt/product_media/cleanleaf/pdf/CL1100-series-owners-manual.pdf
                            [4] => /mnt/product_media/cleanleaf/pdf/brochure.pdf
                            [5] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 213389
    [mas_cust_no] => ALZ0765
    [mas_cust_exists] => true
    [exportid] => 92222
    [masquotenum] => Q061467
    [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] => 676.00
    [lead_time] => 2-3Weeks, depending on stock and availability.
    [email_quote_to] => jchvacservices5@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] => /mnt/product_media/cleanleaf/pdf/CL1100-CF.pdf [2] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Mounting_Guide.pdf [3] => /mnt/product_media/cleanleaf/pdf/CL1100-series-owners-manual.pdf [4] => /mnt/product_media/cleanleaf/pdf/brochure.pdf [5] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 4.0531158447266E-6 secs since start
after getting new exportid ... 92222: 0.098349094390869 secs since start
Session ID: 9nllkqn5ggv7se9qohhfqc9891
just before engaging cartlink ...: 0.306067943573 secs since start
after most cartlink items ...: 0.30725502967834 secs since start
after getting new so num ...: 0.46010613441467 secs since start
after remaining cartlink items ...: 0.46013808250427 secs since start
SO Number: Q061467
just prior to terms gathering ...: 0.46015906333923 secs since start
after getting customer terms ...: 0.54888200759888 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1100-CF
            [name] => CleanLeaf Model CL1100-CF,  1,100 CFM Media Filtration System w/ Charcoal After Filter.
Airflow Reduced to 1000 CFM w/ Charcoal filter Installed.
Cabinet: 20"W x 15"T x 44" Long - 16GA CRS
Power: 115V 60Hz Single Phase 3.5 Amps
Filter Stage 1: 20 x 15 x 1" Washable Foam Pre-Filter
Filter Stage 2: 20 x 15 x 24" 95% (ASHRAE) 6 Pocket Bag Filter (15 sqft)
Filter Stage 3: 20 x 15 x 2" 7lb Carbon After-Filter [qty] => 2 [price] => 2,527.00 [cost] => 1,212.54 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => CLP-MTGKIT [name] => Mounting Kit Chain, Q-Links, & eyebolts

(4ea. 5' Lengths of chain)

Used In CL2500 / CL2500D / CL3000 / CL3500C [qty] => 2 [price] => 185.00 [cost] => 120.00 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q061467','CL1100-CF','CleanLeaf Model CL1100-CF, 1,100 CFM Media Filtration System w/ Charcoal After Filter. Airflow Reduced to 1000 CFM w/ Charcoal filter Installed. Cabinet: 20"W x 15"T x 44" Long - 16GA CRS Power: 115V 60Hz Single Phase 3.5 Amps Filter Stage 1: 20 x 15 x 1" Washable Foam Pre-Filter Filter Stage 2: 20 x 15 x 24" 95% (ASHRAE) 6 Pocket Bag Filter (15 sqft) Filter Stage 3: 20 x 15 x 2" 7lb Carbon After-Filter','Y','1212.54','2','2','2527.00','5054.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q061467','CLP-MTGKIT','Mounting Kit Chain, Q-Links, & eyebolts (4ea. 5' Lengths of chain) Used In CL2500 / CL2500D / CL3000 / CL3500C','Y','120.00','2','2','185.00','370.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.57564401626587 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1100-CF.pdf
    [2] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Mounting_Guide.pdf
    [3] => /mnt/product_media/cleanleaf/pdf/CL1100-series-owners-manual.pdf
    [4] => /mnt/product_media/cleanleaf/pdf/brochure.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1764017812_6315.pdf
after merging and generating email/quote PDFs ...: 63.924227952957 secs since start
File: files[Quote.pdf] => @
File DNE! Skipping ... :
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1764017812_6315.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 64.014414072037 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 64.205091953278 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 66.232185125351 secs since start
strJSON:
{"exportid":"92222","import_result":null,"import_error":"","fileurl":"GMImport_92222_1764017815_78657.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Juan Alzate","goldmine_email":"jchvacservices5@gmail.com","goldmine_phone":"(201) 936-9683","mas_quote_number":"Q061467","mas_customer_number":"ALZ0765"}
end: 67.783461093903 secs since start