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>
}
|