My Products
Help
kashyap
PARTNER

Failed to create voucher

by kashyap

We are trying to create voucher with PDF attachment. Getting below error. 

{"errors":[{"message":"Error: The primary key is in use.","path":["useCompany","incomingAccountingDocumentAttachment_create","values/0"],"extensions":{"data":{"status":15,"status_name":"valueNotAccepted"}}}],"data":{"useCompany":{"batch_create":{"affectedRows":1,"items":[{"batchNo":46}]},"voucher_create":{"affectedRows":2,"items":[{"batchNo":46,"voucherNo":1,"voucherDate":20240627},{"batchNo":46,"voucherNo":2,"voucherDate":20240627}]},"incomingAccountingDocumentAttachment_create":{"affectedRows":1,"items":[{"incomingAccountingDocumentNo":1,"attachmentNo":0,"fileNo":0}]}}},"extensions":{"vbnxt-trace-id":"0000000000000000dcd04b09d706e92c"}}

 

Can you please help?

0 REPLIES 0