Need to Receipt No when create Return orders

udaya726udaya726 Member Posts: 21
I am entering new return order and then fill the details and do a function to get reserve entries.(Figure 1)


Then it will give some entries and after we click ok button it will add details to the lines. IN those lines in the description field it has a No. Either receipt no or Invoice No.(Figure2)


I need to get only the number to a separate filed and I did it by editing code unit 6620-Copy Document Mgt. adding command like
ToPurchLine2."Receipt No.":=OldDocNo; in InsertOldPurchDocNoLine function.

After that we enter negative value in the lines and Do
Function--> move negative lines. It will create a purchase order or Purchase Invoice. In that also their is a number in description field. I need to get that also to a separate field.


Please explain me a solution for this matter. I have done in one position but can not in other place? ](*,)
Sign In or Register to comment.