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.
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.
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).
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.
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;