I’m hoping someone can confirm something for me. I’m working on an import scenario to update PO Lines. The source is a GI that brings back POLine records that meet the criteria that I want to update. The data includes the PO Type, PO Number, and PO Line Number.
I first tried using <Line Number> (turning off the automatic <Line Number> = -1, of course). If I use this, to get somewhat reliable results I have to subtract 1 from the line number in the GI. But then when I hit a PO that has had a line deleted (I used one that had only one line, but it was Line 2 because the original Line 1 was deleted), I can’t select the line.
If I use @@LineNbr, I can use the exact line from the GI.
What I’m thinking (and this is probably one of those “Duh, didn’t you know that?” things)--<Line Number> references what line in the details grid to load. The actual Line Number value on the line doesn’t matter--in my scenario above with the lone Line 2, if I set the <Line Number> value to 0, it updated.
@@LineNbr, on the other hand, tells the import scenario to basically filter the grid to anything where the Line Number value in the grid matches the line number I provided.