Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Don't miss out on our Question of the week! You only have until tomorrow, July 25, 2024, 2PM ET to comment your answers and earn rewards! Click here for more details.
Community Poll: What sort of content would you like to see more of?
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!

Populating discount rate

I've a use case where in I need to check that if a sales order is for a specific subsidiary, and a custom field is selected, then I need to calculate the discount percentage on the order total and populate under Discount Rate.

For this I have a saved search on sales order,

Criteria:
Type = Sales Order

Subsidiary = US-1

Main Line = True

Results:
Date - Group
Amount
Formula(Currency) - Maximum = CASE WHEN {subsidiary.id} = 7 AND {custbody_discount_program} IS NOT NULL THEN -1 * ({fxamount} * {custbody_pcg_lvl_1_disc}) ELSE 0 END, Custom Label = Discount Rate

This saved search correctly shows calculated the discount amount.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 3 (Jul-Sep 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders