on 2023 Jan 24 2:23 PM
I have scenario :
- document with items (managed with unmanaged save).
Since there is not possible to create whole document with items in one, I have tried to use scenario with DRAFT.
But, there is a big problem. I'm not using UUID in my tables as a key. And, as a result, whenever I want to create second item, program terminates with short dump (create instance twice). Resp. when I want to create new document (and one draft exists), the program terminates with short dump "duplicate key".
I tried to use "late numbering" (system creates a new field with UUID in draft table), but late numbering starts during the save operation - and that why the same errors occurs in moment of creating document/new item.
Does anybody have some idea how to fill field "DRAFTUUID" in draft table ? Or is it possible using draft concept without UUID ? I read several blogs but on every one is used UUID ...
I'm creating app for on-premise system, that's why I cannot use early numbering feature ...
Thanks.
Request clarification before answering.
User | Count |
---|---|
73 | |
30 | |
8 | |
8 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.