anyone know the formula to have a line item field ...
# general
o
anyone know the formula to have a line item field autopopulate numerically so...if we have 1 line item the filed would say 1 and then we add another line item the field would say 2 and then add a thrid line item the field would say 3 and so on?
w
Custom field with formula {linenumber}, I think
See SuiteAnswer 81851
g
You can pull in Line Sequnce number in a saved search, which will reflect the order in which the items appear
Benefit is that it is a dynamic number. If you add / delete items then it will update.
o
the issue im having is making it dynamix
dynamic*
@Gregory Jones would it be a specific formula to make it dynamic
g
No. You should be able to select the field in results of a transaction saved search
o
question is: how does the field autoupdate when deleteing a line item...currently it make me retype the line number
g
I don't have it on our transaction form.
o
so yours only pulls up in saved xearches
searches*
g
Correct. Curious what are you looking to ultimately accomplish with this?
o
calculate how many line items per sales order
g
Do you need to see it on the transaction form, or in a saved search?
o
both if possible
g
Answer ID: 36017 in suiteanswers gives guidance on how to create a summary saved search which will give you a count of line items on a sales order.
As for seeing it on the actual form, i'm not quite sure on that front.
o
ill check that out, thanks for lal your help Greg
all*
g
Sure thing. This additional article should solve for having a field on the sales order form that displays the count of line items on it. Answer ID: 63428
I'm going to see if i can get it to work.
Yup. It works with a few slight tweaks: 1 - when you create the transaction body field to reference the saved search you create at the start, select "sales" under "applies to". forget about the picking ticket portion of that 2nd part. 2 - you can forget about the last part of adding it to the picking ticket (unless you need that)
o
nice! thanks
👍🏻 1