Session Data

Array
(
    [copy_from_salesorderno] => Q064191
    [HubSpot] => Array
        (
            [hs_deal_id] => 56443135073
            [hs_company_id] => 0
            [salesorderno] => Q064191
            [repid] => 0076
            [contact_id] => 202657333407
            [contact_email] => brian@apothecareannarbor.com
            [contact_phone] => 586.855.1945
            [contact_address] => 655 Ballard Rd, Jackson, MI, 49201
            [company_name] => 
            [company_mas_customer_no] => 
            [mas_customer_no] => APO4920
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Apothecare
                    [Contact_First] => Mohamed
                    [Contact_Last] => Senussi
                    [Zip] => 49201
                    [Email] => mo@apothecareannarbor.com
                    [Phone] => 8083466797
                    [customerid] => 153648
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [place_id] => 
                    [mascustnum] => APO4920
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 153648
                    [mas_cust_no] => APO4920
                )

            [billing] => Array
                (
                    [Company] => Apothecare
                    [Contact_First] => Mohamed
                    [Contact_Last] => Senussi
                    [Address1] => 655 Ballard Rd.
                    [Address2] => 
                    [Address3] => 
                    [City] => Jackson
                    [State] => MI
                    [Zip] => 49201
                    [Country] => USA
                    [Email] => mo@apothecareannarbor.com
                    [Phone] => 8083466797
                )

            [shipping] => Array
                (
                    [ShipToName] => Apothecare
                    [Address1] => 655 Ballard Rd.
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Jackson
                    [State] => MI
                    [Zip] => 49201
                    [Country] => USA
                    [Email] => mo@apothecareannarbor.com
                    [Phone] => 8083466797
                )

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

            [leadid] => 47961
            [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] => 3455.40
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote_to] => mo@apothecareannarbor.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-HE.pdf
                            [2] => /mnt/product_media/cleanleaf/pdf/CL1100-HE-accessories.pdf
                            [3] => /mnt/product_media/cleanleaf/pdf/CL1100-series-owners-manual.pdf
                            [4] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Mounting_Guide.pdf
                            [5] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [gm_account_no] => 153648
    [mas_cust_no] => APO4920
    [last_completed_step] => 5
    [copy_quote] => 1
    [mas_cust_exists] => true
    [exportid] => 95425
    [masquotenum] => Q064194
    [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] => 3455.40
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote_to] => mo@apothecareannarbor.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-HE.pdf [2] => /mnt/product_media/cleanleaf/pdf/CL1100-HE-accessories.pdf [3] => /mnt/product_media/cleanleaf/pdf/CL1100-series-owners-manual.pdf [4] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Mounting_Guide.pdf [5] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 4.0531158447266E-6 secs since start
after getting new exportid ... 95425: 0.097790956497192 secs since start
Session ID: l57cj3a03clerafvgjnn4lagpb
just before engaging cartlink ...: 0.30627512931824 secs since start
after most cartlink items ...: 0.30746507644653 secs since start
after getting new so num ...: 0.46198296546936 secs since start
after remaining cartlink items ...: 0.46201705932617 secs since start
SO Number: Q064194
just prior to terms gathering ...: 0.46203303337097 secs since start
after getting customer terms ...: 0.55142593383789 secs since start
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q064194','CL1100-HE','CleanLeaf Model CL1100-HE, 1,100 CFM Media Filtration System w/ HEPA After Filter. Airflow reduced to 800 CFM w/ HEPA after filter installed. Cabinet: 20"W x 15"T x 44" Long - 16GA CRS Power: 115V 60Hz Single Phase 3.5 Amps Filter Stage 1: 20x15x 1" Washable Foam Prefilter Filter Stage 2: 20x15x12"L 95% (ASHRAE) 6 Pocket Bag Filter Filter Stage 3: 12x18x12 99.97% HEPA Afterfilter','Y','1480.00','9','9','3084.00','27756.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q064194','CLP-MTGKIT','Mounting Kit Chain, Q-Links, & eyebolts (4ea. 5' Lengths of chain) Used In CL2500 / CL2500D / CL3000 / CL3500C','Y','120.00','0','0','185.00','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q064194','CLP-LBRKTS','L Brackets M-11 "L" Mounting Brackets (set of 2) Used In CL1100','Y','125.00','0','0','193.00','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q064194','CLP-EYEBLTS','Eyebolts 4 Eyebolts (Installed on unit at the Factory) Used In CL2500 / CL2500D / CL3000 / CL3500C','Y','45.00','9','9','70.00','630.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q064194','BOF-5001-FM','15 x 20 x 1" Foam Prefilter - Washable 10 +/- 5 PPI USED IN OX1100/OX1100-CF/OX100-CC/OX1100-HE','Y','18.99','3','3','42.00','126.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q064194','BOF-051296','Fiberglass Bag, 20" X 15" X 12" MERV 15 (95%) 6.0 Pockets, Gasket None, Loops None, Std Header, Nom Size, with Velcro (Priced Each / Sold in Cartons of 4) Used in OX1100-CC/ -HE and CL1100-CC/ -HE','Y','45.97','8','8','77.00','616.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q064194','BOF-821297-H','12" X 18" X 12" HEPA Afterfilter 99.97% - 1000 Series PB Box Exact Magna Reg Cap Gasket exit (Priced Each / Sold in Cartons of 1) Used in OX1100-HE and CL1100-HE','Y','150.03','3','3','251.00','753.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.57812905311584 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1100-HE.pdf
    [2] => /mnt/product_media/cleanleaf/pdf/CL1100-HE-accessories.pdf
    [3] => /mnt/product_media/cleanleaf/pdf/CL1100-series-owners-manual.pdf
    [4] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Mounting_Guide.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1771277480_9453.pdf
after merging and generating email/quote PDFs ...: 63.469357967377 secs since start
File: files[Quote.pdf] => @
File DNE! Skipping ... :
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1771277480_9453.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 63.563851118088 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 63.865667104721 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 65.914616107941 secs since start
strJSON:
{"exportid":"95425","import_result":null,"import_error":"","fileurl":"GMImport_95425_1771277483_19844.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Apothecare","goldmine_email":"mo@apothecareannarbor.com","goldmine_phone":"8083466797","mas_quote_number":"Q064194","mas_customer_number":"APO4920"}
end: 67.097098112106 secs since start