RE: [Axapta-Knowledge-Village] Making enum element invisible

2006-11-24 Thread Harry Deshpande
Hi

Take a look at form CustVendExternalItem, search for .items

This works if your enums values are sorted in the order in which you wish to 
hide them.

For e.g. enum TableGroupAll. You can either hide All or All and Group. But you 
cannot hide just group and show Table,All

Regards

harry


From: Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
Behalf Of axaeffect
Sent: 24 November 2006 05:04
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: [Axapta-Knowledge-Village] Making enum element invisible


hi all,

does anyone know how to make some element in base enum invisible.
For example I have base enum with 5 element, but in my form I only
want to display 3.

I don't want to change the value, so even if I make element no 1
invisible, and user choose the first element displayed which is
originaly element no 2, the value I get must be 2 also, not 1.

TIA,
Ton



[Non-text portions of this message have been removed]



Re: [Axapta-Knowledge-Village] Date difference

2006-11-24 Thread Nitesh
Hi Patric,
  With the help of function yearDiffiff () u can get the
diff in year but there  is no such function exist which calculate the
difference of two dates in months.U have to write ur own method  :

int daysCount;
;
daysCount =(this.endDate - this.startDate)/365;

return  ((this.endDate - this.startDate)-(daysCount *365))/30;

return type of this method is *integer*

Regards

Nitesh




On 11/24/06, chuapatrickd [EMAIL PROTECTED] wrote:

   Hi,

 Is there a functin in AX where it will compute for date difference.
 Ex. Date1 = '01-01-2006', Date2= '06-20-2006'
 Datediff in months should be 6.

 Any help will be greatly appreciated.

 Thanks,
 Patrick

 



[Non-text portions of this message have been removed]



YNT: [Axapta-Knowledge-Village] Method of Calculation

2006-11-24 Thread Billur Kardas
As far as I know...
 
When you select line it calculetes tax in lines and make sum...
When you select total it sums the lines and calculates the tax. It can only 
make difference of the pennies i guess.
 

-Özgün İleti- 
Kimden: Axapta-Knowledge-Village@yahoogroups.com bu kişinin yerine DENI 
Gönderilmiş: Per 23.11.2006 11:07 
Kime: Axapta-Knowledge-Village@yahoogroups.com 
Bilgi: 
Konu: [Axapta-Knowledge-Village] Method of Calculation





Hi .., I am newbie in Dynamics Ax
what is function of Method of calculation Line and Total in GL - 
Parameter - Sales Tax - Method of Calculation
because when I mark line or Total there is no different caclucation 
for sales tax.

Rgrds
Deni

[Non-text portions of this message have been removed]



 
























Bu e-mail'in tüm icerigi gönderenin kisisel tasarrufu ile olusturulmus ve 
gönderilmistir. Oyak Teknoloji Bilisim ve Kart Hizmetleri A.S. bu e-mail 
icerigi hakkinda sorumluluk kabul etmez.


This e-mail has been sent by the sender under his/her own individual 
discreation. Oyak Teknoloji Bilisim ve Kart Hizmetleri A.S. accepts no 
responsibility.


[Non-text portions of this message have been removed]




[Axapta-Knowledge-Village] SysMailer how to catch exception

2006-11-24 Thread Andreas Rudischhauser
Hi, das anybody know how to catch a sysmailer or dundas.mailer exception? The 
exceptions always go to the infolog...

 

Mit freundlichen Grüßen
Andreas Rudischhauser

Andreas Rudischhauser
Application Developer

back2.biz [e]management GmbH
Lise-Meitner-Strasse 14
89081 Ulm

[phon]

+49-731-880073-11

[fax]

+49-731-880073-25

[e-mail]

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

[www]

www.back2.biz blocked::http://www.back2.biz/ 

back2.biz - IT-Lösungen, die Ihr Unternehmen voranbringen



Von: Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] Im 
Auftrag von DENI
Gesendet: Donnerstag, 23. November 2006 10:08
An: Axapta-Knowledge-Village@yahoogroups.com
Betreff: [Axapta-Knowledge-Village] Method of Calculation

 



Hi .., I am newbie in Dynamics Ax
what is function of Method of calculation Line and Total in GL - Parameter 
- Sales Tax - Method of Calculation
because when I mark line or Total there is no different caclucation for 
sales tax.

Rgrds
Deni

[Non-text portions of this message have been removed]

 



[Non-text portions of this message have been removed]



Re: [Axapta-Knowledge-Village] Dynamics AX 3.0 and FRx 6.7

2006-11-24 Thread Tarek Saleh
Hi
i m also new in Frx but i think you should make a spechial ODBC for FRX rather 
than useng the same one that connect for AXDB

Just check it out

Regards
Tarek
 
 



- Original Message 
From: axapta_soporte [EMAIL PROTECTED]
To: Axapta-Knowledge-Village@yahoogroups.com
Sent: Thursday, November 23, 2006 8:43:34 PM
Subject: [Axapta-Knowledge-Village] Dynamics AX 3.0 and FRx 6.7

Hi everyone, I am new with FRx and I want to use it with Dynamics AX 
3.0. I install the FRx 6.7 version from the partner source and I 
have checked the installation manual but I still don't know how to 
use the FRx module with the Dynamics Ax 3.0 database.

When I try to dimension wizard for FRx I get the next error:

An error has occurred when connecting to the data base

This happens in the step 1 of the wizard, I enter the my Dynamics 
data base name here.

I have installed the entire FRx component from the installation 
wizard.

If someone can help me or tell where to find some documentation 
about this topic, I will appreciate it a lot.

Thanks in advance 

Alex!





 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

[Non-text portions of this message have been removed]



RE: [Axapta-Knowledge-Village] Method of Calculation

2006-11-24 Thread James Flavell
What is your setting on the tax code?

Is the 'Marginal base' (en-au) set as 'Total invoice balance' or 'Line
amount'?

If its 'Total invoice balance' then this forces the calc method to be total
even if you set it as line (and probably the other way around for 'Line
amount')

Its not very well documented as far as I know (I had to debug the code,
although I did think I once saw some one line comment in the online help
about this forcing of setting)

Any the difference is that Tax amount is calc either per line or for the
total invoice amount.

Using total means you can potentially have rounding issues on the TAX amount
if you have several lines you are posting (this was my problem see my next
post to the group)

Thanks
James
-Original Message-
From: Axapta-Knowledge-Village@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of DENI
Sent: 23 November 2006 17:08
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: [Axapta-Knowledge-Village] Method of Calculation



Hi .., I am newbie in Dynamics Ax
what is function of Method of calculation Line and Total in GL -
Parameter - Sales Tax - Method of Calculation
because when I mark line or Total there is no different caclucation for
sales tax.

Rgrds
Deni

[Non-text portions of this message have been removed]



Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.
Visit www.axapta-knowledge-village.tk 
Yahoo! Groups Links







RE: [Axapta-Knowledge-Village] Difference in rounding on tax amount for sales invoice

2006-11-24 Thread James Flavell
Hi everyone 

I found the problem with debugging.  It is a undocumented (or very little
documented) way AX works.


Okay it's a little of a long story but basically the tax is being calculated
on the total (even though you set it in Led/parm to be by Line)

So if you create sales line for item EB1430H (price 95.35) first and check
tax (10%) it puts it correct as 9.54

Now you add a line for item EB14B (price 91.15) and you will find the tax is
9.12 and for EB1430H is now 9.53!!!

This is because the system takes the total amount first (91.15 + 95.35=
186.5). Why total and not line amount I explain later at the bottom.

10% of 186.5 = 18.65

Now AX I believe will allocate from this 18.65 starting with the sales line
that has the smallest amount (i.e. any tax rounding diff we want to put on
the biggest valued item).

So 10% of 91.15 = 9.12 (after rounding) to EB14B

186.5 - 9.12 = 9.53 left for Eb1430H

9.53 is left and is allocated to EB1430H and not 9.54 that we want

Therefore to verify:

1)   You should not have problem when only have a single line on your
sales order (because line and total are same value)

2)   Allocation I believe is to sales line with smallest value first (so
that line with biggest value gets any difference) but I have only done a
simple test to prove this (i.e. change the prices round on the lines and
that tax rounding follows goes to the line with the higher price) 

Why does it not use Line calc from ledger parm? This is not well documented
(I thought there was some obscure comment in the online help I once came
across and thought 'what the heck are they trying to tell me' and just gave
up).  Anyway based on debug of the code I quickly see, the system checks
whether in the Tax Code the 'Marginal base' is set as 'Net amount of invoice
balance'.  In which case it always calculates the tax based on the total
invoice amount regardless of the ledger parameter settings.

I changed this to 'Net amount per line' and then the tax comes out correct

The help/explanation are not really very clear on this 'Marginal base' field
(I always thought it only selects what tax rate to use and does not affect
whether it uses line or total)


Thanks
James


 

-Original Message-
From: Axapta-Knowledge-Village@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of James Flavell
Sent: 24 November 2006 11:05
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: [Axapta-Knowledge-Village] Difference in rounding on tax amount for
sales invoice

Hi everyone,

 

I found a rather interesting problem with the sales tax amount 

 

For the same item and price I can see on custinvoicetrans records that the
tax amount is sometimes difference by a few cents.

 

The user has not used the tax adjustment

 

Example:

Item A price 91.15 

Tax 10%

Qty 1

 

Most often the tax amount recorded is 9.12 (correct)

But sometimes it is 9.11 or even 9.09!!!

 

Has anyone had this problem or any idea where it comes from?

This is on a SP2

 

On the tax code the rounding setting is round 0.00 (should I set as 0.01? I
thought 0.00 will work the same as 0.01?) and is Normal rounding

 

The Tax method is calc per line

 

Thanks

James

 

 



[Non-text portions of this message have been removed]



Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.
Visit www.axapta-knowledge-village.tk 
Yahoo! Groups Links