We have two tenants for two different regions (e.g. US and Canada). We have started building a custom application that uses APIs/Web Service Endpoints to handle orders, shipments, invoices etc.Tenant A doesn’t keep the products it sells. Instead, it purchases the item from Tenant B and has it shipped directly to the customer. What would be the best way to achieve this?
Scenario:We want to create returns via REST APIs. We have published a customization package for this. Technically, this is how the customization package works:Creates a blank RC order Trigger SalesOrderAddInvoice action to add products from the invoices Update RC with relevant quantitiesThe above process works for the first RC.Any further RC creation from the same invoice throws the below error:"The return quantity exceeds the quantity available for return for the related invoice line <INVOICE_NBR>. Decrease the quantity in the current line, or in the corresponding line of another return document or documents <RETURN_NBR> that exist for the invoice line." This is the similar error we usually see on Acumatica UI when adding the same inventory from an invoice. However, we can create the RC from the UI by modifying the quantity. Question:Is there anyway to fix this issue? We are on Acumatica 2022 R1. Regards
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.