costamount (check if there is any such trigger in the field costprice
modifed method).....
Why not instead just use costamount (with no costprice filled in). I think
the system accepts this right?
-----Original Message-----
From: Baran Sasmaz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 21, 2004 2:24 AM
To: [EMAIL PROTECTED]
Subject: [development-axapta] Create Profit/Loss journal from code
Hi,
I create profit/loss journal and their lines from code. When i insert a
journal line, i have the quantity and the cost amount of the record and I
calculate the cost price by using the formula given below :
inventJournalTrans.costPrice =
PriceDisc::amount2Price(inventJournalTrans.costAmount,
0,
0,
inventJournalTrans.qty,
0,
1,
'',
0);
I know that the system also calculates the cost price in this way.
But when i try to validate or post the journal, system gives me the error
below :
"Incorrect rounding of amount"
If i modify the cost price or the cost amount ON THE FORM and finally i
see the same price and amount as before, it validates. I couldn't
understand!!!
May someone help me???
Thankx in advance.
---------------------------------
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
[Non-text portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT
----------------------------------------------------------------------------
--
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
b.. To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

