IO-3498 No SalesTerms for Credits
Signed-off-by: Allan Carr <allan@imexsystems.ca>
This commit is contained in:
@@ -274,7 +274,7 @@ async function InsertBill(oauthClient, qbo_realmId, req, bill, vendor, bodyshop)
|
||||
VendorRef: {
|
||||
value: vendor.Id
|
||||
},
|
||||
...(vendor.TermRef && {
|
||||
...(vendor.TermRef && !bill.is_credit_memo && {
|
||||
SalesTermRef: {
|
||||
value: vendor.TermRef.value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user