Is there a way to add a position containing a negative amount to an existing account?
I am using QBSDK7 and QB Enterprise. (and if that matters .Net 3.5)
What we are trying to do is automate the way we create invoices. We already take working hours and apply it to the correct invoices, but when we go to add loans (only the negative amount in the position in the invoice), using
InvoiceLineMod.Amount.SetValue(-1234)
he fails with the error "Transaction must be positive"
I also tried adding a service item with a negative amount and giving it a positive amount, and I get the same result.
It seems as carefree as we have been doing it manually for the last 10 years. I suppose there is an artificial limitation on this.
Some things to keep in mind: Credit notes are not good, because we need to display accurate reduction data on the same page.
In most cases, we do not have payments to apply.
This must be done before any locks are applied.
Any help would be greatly appreciated.
source
share