|
Hey
Anil, I think your problem is not the EDT, but
in the actual price calculation, the price is calculated by priceDisc::price2Amount,
this is used on both purch and sales lines and will
round the price based on the default currency settings, so you could have an
EDT of 10 decimals, but if your currency is set to 2 that’s all you’ll
get back. So the trick is to get
this method to recognize your are setting a price for
the purchLine and adjust how it rounds for purchLine prices only. If you start tracing from purchLine::calcLineAmountForced you’ll see how you
end up in the priceDisc class. I’ve done a similar mod in the past
for a 4 decimal purch price, so if you get stuck give
a yell and I’ll see if I can dig up exactly how I did it. - -----Original Message----- Hi all.. I have an interesting
problem with Axapta.. I want to use two digits on SalesTable and five digits on
PurchTable. On Currency table, i define five digit for purchasing (0.00000),
and 2 digit for saling (0.00). But it doesn't work on my system. Also all
calculated fields (purchTotal, purchQty..) comes from AmountCur and it has two
digits, so ican't change it to five digits. If i define a new EDT comes from
AmountCur, i must change a lot of fields extension types, it may result to
incompatable system. How can i solve this problem??
Anil Ozay
Yahoo!
Groups Links ·
To visit your group on the
web, go to: ·
To unsubscribe from this
group, send an email to: ·
Your use of Yahoo! Groups is
subject to the Yahoo! Terms of
Service. Yahoo! Groups Links
|
Title: Purchase digit problem..
- [development-axapta] Purchase digit problem.. Anil Ozay
- RE: [development-axapta] Purchase digit problem.. Preston A. Larimer
- RE: [development-axapta] Purchase digit problem.. Anil Ozay

