Hi Experts!
I have to get document numbers from a Sales Invoice Line -table (invoice numbers). I have to get numbers:
- that belong to a certain Customer,
- that consist (invoices) of certain group of Items.
These numbers I have to put for example in a String.
How can I do that? A code example would be very much awaited.
Yours,
IP
0
Comments
First thing very easy;
If all you want is to place the document nos. in a string, then just add the following code when looping through records in Sales Invoice Line;
However, it could be that you'd want to use a temp table and then build records so that you can easily display a long list of document nos. in a report. If that's the case, then things get a little bit more complicated. You could use Comment Line as a temporary table to achieve this.
Here's some code that I've used myself to get a list of serial nos. associated with any given item.
Yours,
IP