Hi, I have a Upload button in journals -> movement which I can upload csv data type. When I upload, the data all are insert to Journal movement header.
What I want is when the csv data is uploaded, I get one header with one Journal number and all the data are insert to Journal movement lines of the journal number. Please help me.
Assuming that you have the button in the journal header, you can call the following code
inventJournalTrans_ds.reread(); inventJournalTrans_ds.executeQuery();
You can put some form ds refresh code into your customized Upload button. eg _ds.research(); or _ds.executequery(). See below -
Now I have another problem. when I finish importing the csv data, my form do not get refresh by itself. When I close the form then open it again, it will show the data that I import before.
Hi, after some struggling the link you share is really helpful!
Thank you
Hi,
You can use something like this to create headers and lines.
Please share your existing code here as well in case you want us to take a look at what logic you could implement
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156