Hi NetSuite community,
I'm working on a BigCommerce → NetSuite integration via Node.js middleware and need help with applying bundle discounts to Sales Order line items.
Background: I have two types of discounts from BigCommerce:
✅
Coupon code discount - Successfully added as a separate line item (SOLVED)
❌
Bundle/product-level discount - STUCK HERE
The Issue: In BigCommerce, products show discounted prices (e.g., Product originally $199, now $190). I'm getting this discount amount from the BigCommerce API and need to apply it to individual line items in NetSuite.
What I'm trying to do: Set the discount in the
"Discount Amount" column for each line item in the Items section of the Sales Order.
Here's a partial view of the Sales Order Items columns:
Item | Description | Quantity | PriceLevel | Rate | Amount | Tax Code | GST | *Discount Amount | S*O Status........................
← THIS are COLUMN......names
My Questions:
1.
Is this the correct approach for handling bundle/product discounts in NetSuite?
2.
What is the correct field ID for the "Discount Amount" column? I've tried:
3.
discount_amount
❌
4.
discountamount
❌
I’ve spent hours testing different field IDs, reviewed the NetSuite Help documentation, and tried setting the discount both before and after the rate. However, all attempts result in the
Discount Amount column remaining empty.I realise I may be missing something simple here. If anyone has encountered this before or can point me in the right direction, I’d really appreciate your guidance.
cc:
@Craig Haggart
Thanks in advance for your time and help.