Replies: 1 comment
-
|
Mustang will always calculate Qty*Price (/BaseAmount+Charges-Allowances) (unless you inject a complete XML), why dont you divide your item total by your amount and put the amount in the quantify and the net price in the price? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am generating invoice lines using the following code:
In this case,
position.getGrossPrice()andposition.getNetPrice()already contain the total price (unit price * amount).However, it seems that MustangProject multiplies
pricebyquantity, leading to an incorrect total.I could set
amount = 1, but that would make the data incorrect.How can I set the values properly and prevent MustangProject from recalculating the total price?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions