cancel
Showing results for 
Search instead for 
Did you mean: 

Limiting Locations Packing Slip

Former Member
0 Kudos

For our "Pick Ticket", we would like the locations field limited to just 1 (oldest date).  How can I set the locations to return just 1?

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor
0 Kudos

Try this:

1.  Group by Location - if that's not unique, also group by Lot Number - the point is that you want to get the group(s) configured so that you can do each line item once.

2.  Then sort by the Date descending.

3.  Suppress the details section and, if you had to group also by Lot Number, also suppress the Location group header and footer.

4.  Put your fields in the group header section (either Location or Lot Number, whichever is the inner-most group.)  Because you sorted descending by date, you'll get the most recent.

- Dell

Former Member
0 Kudos

Ok, I added the "group by" and it added "Group 5", but I could not find where to add the option of date descending.  Do I have to write a formula for that in the "In Date"  (3rd Screenshot)?

abhilash_kumar
Active Contributor
0 Kudos

Go to the 'Record Sort Expert' and insert the Date field.

-Abhilash

Former Member
0 Kudos

What if 2 different lot numbers have the same "In_Date" ?  Is there a way to just return 1 value?

abhilash_kumar
Active Contributor
0 Kudos

When you place fields on the Group Header, it always returns the first row from that group.

So, even if you had two same dates, it would return the first row.

-Abhilash

Answers (0)