Session Data

Array
(
    [HubSpot] => Array
        (
            [hs_deal_id] => 40328140628
            [hs_company_id] => 0
            [mas_customer_no] => 
            [FirstName] => Connor
            [LastName] => Worrell
            [Zip] => 80501
            [Phone] => 17206800996
            [Email] => cworrell@nlightdefense.com
            [Address] => 
            [City] => 
            [State] => 
            [Company] => 
        )

    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => 
                    [Contact_First] => Connor
                    [Contact_Last] => Worrell
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 80501
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                )

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

            [mas_search] => Array
                (
                    [mas_cust_no] => WOR8050
                    [mas_cust_exists] => false
                )

            [billing] => Array
                (
                    [Company] => 
                    [Contact_First] => Connor
                    [Contact_Last] => Worrell
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => 
                    [State] => 
                    [Zip] => 80501
                    [Country] => USA
                    [Email] => cworrell@nlightdefense.com
                    [Phone] => 17206800996
                )

            [shipping] => Array
                (
                    [ShipToName] => Connor Worrell
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => 
                    [State] => 
                    [Zip] => 80501
                    [Country] => USA
                    [Email] => cworrell@nlightdefense.com
                    [Phone] => 17206800996
                )

            [leadid] => 0
            [summary] => Array
                (
                    [SalesPersonNo] => 0076
                    [ProductLine] => CL
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => api_freight
                    [freight_estimate_value] => 101.40
                    [lead_time] => 2-3 Weeks, depending on stock and availability.
                    [email_quote_to] => cworrell@nlightdefense.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] => 
    [mas_cust_no] => WOR8050
    [mas_cust_exists] => false
    [exportid] => 87478
    [masquotenum] => Q057333
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0076
    [ProductLine] => CL
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => api_freight
    [freight_estimate_value] => 101.40
    [lead_time] => 2-3 Weeks, depending on stock and availability.
    [email_quote_to] => cworrell@nlightdefense.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: 2.8610229492188E-6 secs since start
after getting new exportid ... 87478: 0.099906921386719 secs since start
Session ID: egc2db9bpurf7pvfdknohsbu36
just before engaging cartlink ...: 0.099982976913452 secs since start
after most cartlink items ...: 0.1007559299469 secs since start
after getting new so num ...: 0.25916481018066 secs since start
after remaining cartlink items ...: 0.25920581817627 secs since start
SO Number: Q057333
just prior to terms gathering ...: 0.25923085212708 secs since start
after getting customer terms ...: 0.35118293762207 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] => 1 [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 ('Q057333','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','1','1','764.99','764.99','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.37954187393188 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_1752693688_1477.pdf
after merging and generating email/quote PDFs ...: 4.8325448036194 secs since start
File: files[Quote.pdf] => @/tmp/tmp_quote_20250716142124_71908.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1752693688_1477.pdf
Rep opted not to send an email ...
after inserting/updating customer in v2 ...: 5.0489900112152 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 5.2136058807373 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 7.2400908470154 secs since start
strJSON:
{"exportid":"87478","import_result":null,"import_error":"","fileurl":"GMImport_87478_1752693691_21339.acsopa","email_result":"email not sent","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"","goldmine_email":"cworrell@nlightdefense.com","goldmine_phone":"17206800996","mas_quote_number":"Q057333","mas_customer_number":"WOR8050"}
end: 7.2626678943634 secs since start