Hi All,
I have created a function which automatically posts the Sales Order through the OOB Sales-Post codeunit.
I get the following error The record in table Document Node already exists. Identification fields and values: Entry No.='XXXXX'
However when I try manually posting the Sales Order, the issue does not reproduce.
Also, the error is random on posting of Sales Order through the function.
Kindly advise on the error so I know where I can debug.
Thanks,
Olister