cos Posted June 1, 2017 Posted June 1, 2017 I have a found set of invoice records using a search for line items matching "paper widgets". Each record has multiple line items but only one line with "paper widgets". "Paper widgets" may have varying quantities on each record. I want to get a summary count of "paper widgets" or the sum total $ across the found set. What script steps could do this? Thanks.
comment Posted June 1, 2017 Posted June 1, 2017 (edited) 9 hours ago, cos said: What script steps could do this? You posted this in calculations, yet you ask about script steps. To script this, you could start by doing: Go to Related Record [ From table: “LineItems”; Show only related records; Match found set; New window ] Next, constrain the found set in LineItems to "paper widgets" only and get the summary value from a summary field defined in the LineItems table. Finally, close the current window to return to your original found set in Invoices. This could probably be simpler if the initial search were performed in the Lineitems table to begin with. Edited June 1, 2017 by comment 1
Lee Smith Posted June 1, 2017 Posted June 1, 2017 Oops, I moved it there because I missed read the question.
cos Posted June 1, 2017 Author Posted June 1, 2017 No problem Lee. And thanks Comment. I added the summary to Line Items and made the script step. Solved.
Recommended Posts
This topic is 3072 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now