HI,
I want to show Serial No. from Item tracking so i am using Resrevation Entry table for that.
In Repeat.. Unitl loop i am printing that.
But getting Sr. no. like following
Type No. Description
Item I0066 ABC
L1,L2
ITEM I0064 XYZ
L1,01,02
As you can see L1 is appearing again
I code for it like following
is there any error in that ?
CheckShptLines(SalesLine2 : Record "Sales Line")
// Added by sandip start
//MESSAGE (TempSrno);
CLEAR(TempSrno);
ReservationEntry.RESET;
ReservationEntry.SETFILTER(ReservationEntry."Source ID","Sales Line"."Document No.");
IF ReservationEntry.FIND('-') THEN
REPEAT
ReservationEntry.SETFILTER(ReservationEntry."Item No.","Sales Line"."No.");
IF TempSrno= '' THEN
TempSrno:= ReservationEntry."Serial No."
ELSE
TempSrno:=TempSrno + ',' + ReservationEntry."Serial No.";
UNTIL ReservationEntry.NEXT= 0;
Thanks,
Sandip.
0
Comments
My prob. is that it is carring out First items Sr. No. to Next item
See
Item I0066 ABC
L1,L2
ITEM I0064 XYZ
L1,01,02
L1 is carring out. I don't want that.
Sandip.
Hi Girish,
My prob. is that Sr. No. of Previous Item is carring out to Next Item no.
You can see here L1 is printing again.
Item I0066 ABC
L1,L2
ITEM I0064 XYZ
L1,01,02
Sandip/