on 10-07-2021 10:18 AM
Hello Experts,
I have faced one issue when activating the draft in the RAP managed scenario (OP2020).
Let's take two tables Order & Positions Tables and key fields
OrderNumber
10001
Position Table: OrderNumber, PositionNumber
10001, 10
10001, 20
here I was changed the active record 10001 and saved it as a draft. in this process first, I deleted position 20 and saved it as a draft later I recreated position 20 with different data(not as the previous record).
and seems to Draft OperatonMode(DraftEntityOperationCode) as "Recreated" for position 20 in the draft table.
Now I activated the draft table but position 20 is not updated but instead, that position 20 record was deleted from the Active Table. due to this, we lost data in the Active Table.
But in the Unmanaged scenario, they giving all data to us to update Active Table. so no issue there.
Is it a bug in RAP managed scenario? Or
Is there something I need to do in our side to fix issue?
Hi Bhargava,
it's not a bug, it's a feature.
The draft object is not only the single line item object but the whole BO.
When creating or editing the items you will see that there are entries in the draft table of the root entity as well.
So I have built a draft enabled BO (using my RAP Generator ;-)) and was able to perform the same steps you described.
If you would like to change the booking 020 you would have to edit the entry, not delete it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Andre,
Thanks a lot for your response😉.
Yes, this is a good feature and I hope so too. I checked in the cloud system (trail) and it's working just like you said.
But in my case, it was not working properly on the OP system (released in early 2020).
Is that functionality support in the release OP2020?
Thank You.
Bhargava
User | Count |
---|---|
72 | |
11 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.