checkInvoiceQuantityWithInvoiceCase |
上書きされるプレースホルダー関数。このプレースホルダーを使用して、請求書ケースに関連付けられた複数の請求書明細にわたる数量異議申し立てを検証するロジックを実装します。
|
入力: {
"invoiceNumber": <Invoice number of the customer invoice record>,
"verifiedInvoiceLineDetails": <Array of invoice line details>
出力: {
“invoiceLineNumber”: <Invoice line number against which the dispute was raised>,
“disputedQuantity”: <Disputed quantity claimed by the customer, as available in the invoice case line>
}
|
checkInvoiceQuantity |
上書きされるプレースホルダー関数。このプレースホルダーを使用して、顧客の請求された数量を ERP またはインベントリ配送レコードと調整することで数量異議申し立てを検証するロジックを実装します。
|
入力: {
"invoiceNumber": <Invoice number of the customer invoice record>,
"invoiceLineNumber": <Invoice line number of the customer invoice line record against which the dispute was raised>,
"userEnteredQty": <Disputed quantity claimed by the customer>
}
出力: {
"invoiceLineNumber": <Invoice line number against which the dispute was raised>,
"invoiceQty": <Actual quantity on the invoice line record>,
"deliveredQty": <Integer representing the disputed quantity claimed
by the customer>,
"qtyMatch": <Boolean; true if the customer's dispute claim is valid, false if the invoiced and claimed quantities match>,
"isError": <Boolean; true if the API call failed, false if the API call was successful>,
"errorMessage": <Error message string to handle failure scenarios>
}
|