I’m trying to do packing slip for gate entry form in purchtable form. When I was trying to insert records from gateentrylines table to purchparmline table, records were inserted but I couldn’t make the records to be displayed in purcheditlines form.
Kindly help me out to solve this problem. Thanks in advance.
The system will automatically inserts the records into purchParmLine and table when PurchEditLines form is opened from Purchase Order. then why you are inserting it.
I ve written code to insert the records into purchparmline table from gateline(user created) table. It worked out well but when I was trying to displaying the same records through purcheditline form(Purchtable->Posting->Packingslip->lines tab), it wasn’t working. Wat could be the problem? I hope you understand what I’m trying to say.
How are you inserting records into PurchParmTable and PurchParmLine? Please post your code.
By default these tables are linked with PurchTable and PurchLine respectively. For example, from following methods, you can see how records are generated -
Actually What I wanna do is, When I select a GateEntryId(GateEntryId field is user created) in purcheditline form(Purchtable->Posting->Packingslip->OverView tab), the gatelines records must be inserted into purcheditline form(Purchtable->Posting->Packingslip->lines tab).
Thank you for your kind reply. Could you be more specific about it(i.e)., How can i populate it? What are the steps to be done to get exact result what I need?
The system will automatically inserts lines into purchParmTable and purchParmLine from purchLine and purchTable during the packing slip - based on the selection of Quantity parameter - if you select registered items - only registered items will get display.
if you select All then the system picks up all the lines- so the lines are automatically getting inserted.
So rather than inserting the records - you try to delete the records created which are not entered in the gate entry form.
i create on new “NoYes” field in PurchLine ,and also same like create in PurchParmLine,
I check(Tick the field ) the “NoYes” Filed in PO line but when i Put Product receipt In line detail ,i check the “NoYes” Field , It should not checked(No Tick),
what ever i do in Po line same will happen in PO ProductRecipt Line Details ?
Hi, Write code in purchparmline\initfrompurchline method. this.field = purchline.field; If you create the same field in vendpackingsliptrans table, write code in vendpackingsliptrans\initfrompurchline method. this.field = purchLine.field;