i want to print report No and report Line no. in purchase return order when i click on get posted lines to reverse.
i am able to get it from purch inv line but it is printed in first line i want to print it on 2nd line
PurchInvline.SETRANGE(PurchInvline."Document No.",OldDocNo);
IF PurchInvline.FINDFIRST THEN BEGIN
ToPurchLine2."Receipt No." := PurchInvline."Document No.";
ToPurchLine2."Receipt Line No.":=PurchInvline."Line No.";
END;
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
InsertOldPurchDocNoLine
PurchInvline.SETRANGE(PurchInvline."Document No.",OldDocNo);
IF PurchInvline.FINDFIRST THEN BEGIN
ToPurchLine2."Receipt No." := PurchInvline."Document No.";
ToPurchLine2."Receipt Line No.":=PurchInvline."Line No.";
END;
ToPurchLine2.INSERT;
I didn't test it in real time scenarios, please make sure before you implement
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav