Hello community,
my posting routine in my PostSale function does the following:
...
doIrrelevantStuff()
TransferUnpostedRecToPostedRecTable(); //Transfers from unposted Sales Order to Posted Sales Order
DeleteUnpostedRec(); // Deletes the unposted Rec that I had in my Page
InitNewUnpostedRec(); //Creates a new Order record with needed info
LoadInitedUnpostedRec(); // Does a Get on the new Rec in the same Page
The problem is that I always see the message "the record that you tried to open is not available" after every posting, which wasn't the case in on Premise. Do I have to approach it differently in BC15?
Tried to use commits, Currpage.updates,
I need to stay in the same page.
Notes:
- if there were an error during posting I do not get the aforementioned message after correcting the error cause and doing the posting of the same Order again
Thanks a lot

Report
All responses (
Answers (