I'm trying to search on the "NS Item Rate" of a di...
# general
c
I'm trying to search on the "NS Item Rate" of a discount line item. And so far nothing gives me that value. I can't even find a reference to that value in any of
item
or
line item
details.
b
this sounds like rate, but thats probably too obvious for what you are describing
whats the original name of the field, or better yet, the internal id
c
On the Sales Order, on the line item it has "NS Rate" as the column header. The item itself is a "null" item it exists so that we can apply line item discounts. So it relates to a Discount item which reduces the 'real' line item's
Rate
by an amount set by the coupon.
There are rare cases where the item will be added to an order to manually apply a discount.
b
NS Rate is not the standard label for a field in netsuite
its either a custom column, or a renamed standard field
go to the form record used by the sales order (https://system.na0.netsuite.com/app/common/custom/custforms.nl) and check under sublist fields to see what the original name of the column is
the original name of the column should be the value in the description field
c
I went trudging around the custom form and I couldn't find the information I'm looking for. I've added a screen shot of the key info I'm trying to work with. 1. the is the code and apropriate NetSuite Promotion 2. the line item that gets added to calculate the discount (referenced by the promotion) 3. the
NS Item Rate
The value that affects the Sales Order value (I'm putting this here for explicitness sake) 4. the value I wish to grab for the saved search
b
looks like the rate field to me
should be item rate in a search column
🤔 1
m
You are looking for Amount Discount?
b
for your search, matching the row with the item column set to
Webstore Discount from Promo Code
will have an
Item Rate
set to -20 (or maybe -20% depending on the account)
the
Amount
column for that line will have the value -37.4
c
@Michael King Yeah I'm trying to pull the discount value.
m
I meant, the field, Amount Discount {discountamount} is that value
c
amount
hmmm
b
keep in mind that these values may not match exactly if the currency on the sales order is different
m
You will duplicate potential results unless you omit the discount item from the results if I recall
c
@battk Thankfully we don't really deal with international currency, so that shouldn't be an issue at this time, still Puts a note about this in "back pocket"
@Michael King Ok, that's an aspect of this. Should I be looking for the "discount item" or just the item. This is where my lack of knowledge about the accounting aspect of NS stabs me.
m
I am doing this from memory so its a little difficult at the minute, but I think you just run a saved search with the required fields, include amount discount, but omit the item type discount item to avoid duplicating the line. Again, I cannot be sure from where I sit
Item rate will be the discount rate on the discount item, if that is what you need, but amount discount will be the value of discount on the product itself
c
screams in field name hell For reasons that I am struggling to understand there is no field for "Discount Item" in any of the drop down options. attached image of Criteria list, maybe you all can see something I'm not.
b
honestly your item : Manufacturer filter will probably exclude the discount item
you either need to use expressions to only require manufacturer for inventory items, or you need to use the
Amount Discount
to get the total discount of the item row
c
🤬 That is kinda the point of the search. I want to gather all the items from a particular Manufacturer, and then calculate the promotional/discount value for our and their records. And a little reimbursement.
I'll try to think though this some more.
🤔 I guess I could focus on the coupon code and then filter the results my MFG?
b
use the
Amount Discount
column
c
I sorta wish NS would let you "comment out" search items so you could try out ideas w/o having to keep adding new searches.
b
if that doesnt give you what you want, then you need to use expressions in your saved search so you can use expressions like AND, OR, NOT
c
I appreciate all the help. I'm not seeing
Amount Discount
coming up in the field list. ☹️ I'm gonna contact NS support, hopefully they can help me see the thing that I'm missing.
b
Its a very old column, should be in the search results
c
Oh! I've often wonderd what the "Results" tab was for. I've not seen that in the results before, but then again I didn't need to look for it till now.
@battk I could kiss you. That shows me the column I want/need. I still need to clean up the extra line items it makes appear, but progress!
b
um, @Michael King can have the kiss
c
I could kiss you both, TBH! You both have been very helpful! That said, the acceptace of the kiss is up to you. 😉
m
holy shit is
Amount Discount
new?!?!? i have been wanting to run saved searches to determine an item’s original amount, the discounted amount and the difference for years (please say it’s new)
b