Title: Purchase digit problem..
Thanks Preston, i give your advice and did tracing.. i changed some methods and some EDT's, that's working now..
 
Thanks again for your help ;)
 
Anil
 
 


From: Preston A. Larimer [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 7:23 PM
To: [EMAIL PROTECTED]
Subject: RE: [development-axapta] Purchase digit problem..

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.

 

-Preston

 

-----Original Message-----
From: Anil Ozay [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 10:41 AM
To: [EMAIL PROTECTED]
Subject: [development-axapta] Purchase digit problem..

 

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:
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.




Yahoo! Groups Links



Yahoo! Groups Links

Reply via email to