Search
 
 
Navigation
Directory
Functional Areas
Sales Automation
Marketing Automation
Customer Service
Partner Relationship Management
Website & Ecommerce
Service Bookings Total
Line Item Profit on Estimate
Calculate QTY Sum
Transaction Line Count
Markup Percent (%) on Line Item Amount
Add Markup Price ($) to Item Line Amount
Gross Profit Percent (%) at Line Level
Gross Profit at Line Level
Discounts (in %) the line item.
Inventory Management
Services Management
Fulfillment
Billing, Time & Expense
Vendor Management
Employee Management
Financial Management
General Tools
Industries
All Solutions


Reduce Amount By Discount
company_netsuite_logo.jpg Problem:
Need to reduce amount by discount at body, item and quantity level.
 
Solution:
Discount can be applied at 3 levels:
 
- at body level to reduce a specific amount from the total amount.
- at line item level to reduce a specific amount from the amount at line item.
- at unit quantity level to apply discount for every unit quantity. So, 4 units would have 4 times the discount.
 
User wants to provide discount at every lineitem (level 2). The value mentioned by user would be reduced from the amount at the lineitem.
 
Reduces the amount of line item by the value mentioned in discount.

Deployment: Sales Order
Event triggering the script: Validate Line.

Custom Fields:
ID: _discline
Type: Currency
Level: Column
Description: It holds discount (in $) at line item.  

Type of Code Client SuiteScript; Calculation
Version 1.0
NetSuite Version (Minimum) 11.0.3
Script URL http://prdownloads.sourceforge.net/netsuiteroot/NS_SO_DiscountLineItem.js?download
Date Created 10/18/2006
Last Modified 10/23/2006

Contributor: NetSuite Professional Services

Contributor Overview: Founded in 1998, NetSuite, Inc. is the leading provider of integrated business application software for small and midsize businesses. With thousands of customers using NetSuite's online products and professional services, companies are enabled to manage all key business operations—in a single hosted system, including: customer relationship management (CRM); order fulfillment; inventory; finance and product assembly; ecommerce; Web site management; and employee productivity.

Website: http://www.netsuite.com