Dear Expert,
Recently, due to huge volume of records required, I need to import data into the Item Purchase order instead of manually data entry into the system.
So, I have created a temp table for user to dataport their csv file. The temp table will do the necessary cleaning of the data e.g. valid item numbers.
My steps are;
1.The user create a header in the Item Purchase order.
2. User will click the "copy button" that I intend to create in the Purchase Order. It will copy the temp table data into the the Purchase Order.
Now, my question, how can I copy those data into the correct Item Purchase Order? e.g. the Purchase Order Header is Order1234, so when the data copied must goes to Order1234 in subform.
Many Thanks.
0
Comments
My Blog - nav.education
This makes it really simple and all the code you need to create the order is already written for you, so no work to do.
Money for Jam \:D/
suresh
Lines has been imported in to some other table using dataport.
now the lines has to be copied to Purchase Order Subform (Purchase Line table). Give them a provision select the lines in the Temp table. And then when they click ok, set the selections as a filter and copy them to Purchase Line. wile copying, Change the Document No & Type as same as your purchase Header's Document Type & No.
Hope, this will work for you.
Regards,
Raveendran.BS
Thanks for all the replies, your suggestion is getting closer to my expectation. I might go for the user input the PO number manually when copying data into the PO lines. They can copy the PO header Nos first, when time to copy they paste into the prompt.
Of course might create some internal check for valid PO header nos before import and numbers of records = 0, in this way, user can only input into a empty PO to cover the risk of corrupting other PO.