I can raise a credit with the REST API using /RMACreditAdd
The credit isn’t linked to an order.
“This method creates an RMA Credit record from the RMA Number and Line passed in.
The RMA Credit is stored in the InvcHead and InvcDtl tables. Once the invoice is
created, the user has the option of updating the header and invoice line information.
It is expected that the A/R Invoice business object will be called to handle
the update of the header and/or line.”
https://server01.mycompany.com/EpicorERPTest/api/v1/Erp.BO.RMAProcSvc/RMACreditAdd
{
“iRMANum”: 21,
“iRMALine”: 3,
“iCorrection”: false,
“ds”: {
“SerialNumberSearch”: [],
“InvcDtl”: [],
“LegalNumGenOpts”: [],
“RMADtl”: [],
“RMADtlAttch”: [],
“RMAHead”: [],
“RMAHeadAttch”: [],
“RMARcpt”: [],
“SelectedSerialNumbers”: [],
“SNFormat”: []
}
}
I’ve tried updating the price using Erp.BO.ARInvoiceSvc/Update but get the message back.
Row has been modified by another user and couldn’t be updated. Does anyone have any examples on how to send or update the price on a credit note ?