Hi



Try this:



static void Job1(Args _args)

{

    SysDictTable    dictTable;

    SysDictField    dictField;

    SysDictType     dictType;

    SysDictEnum     dictEnum;

    str             baseType;

    Counter         fieldCounter;

    Counter         arrayCounter;

    ;

    dictTable = new SysDictTable(TableNum(CustTable));

    for (fieldCounter = 1; fieldCounter <= dictTable.fieldCnt(); fieldCounter++)

    {

        dictField = new SysDictField(dictTable.id(), dictTable.fieldCnt2Id(fieldCounter));

        for (arrayCounter = 1; arrayCounter <= dictField.arraySize(); arrayCounter++)

        {

            dictField = new SysDictField(dictTable.id(), dictTable.fieldCnt2Id(fieldCounter), arrayCounter);

            if (dictField.typeId())

            {

                dictType = new SysDictType(dictField.typeId());

                info(strfmt("EDT %1",dictType.name()));

            }

            if (dictField.enumId())

            {

                dictEnum = new SysDictEnum(dictField.enumId());

                info(strfmt("Enumname %1", dictEnum.name()));

            }

            info(strfmt("Basa Data Type %1", dictField.baseType()));

        }

    }

}



Mit freundlichen Grüßen / Best regards / Med venlig hilsen



Jesper Jørgensen / Abt. NMT-XD
Entwicklung Axapta

arvato systems | Technologies GmbH
An der Autobahn 18
33311 Gütersloh

[EMAIL PROTECTED] <blocked::mailto:[EMAIL PROTECTED]>

http://www.arvato-systems.de <blocked::BLOCKED::http://www.arvato-systems.de/>



Phone:   +49 5242 / 40 80 54

Fax:       +49 5242 / 40 80 40

Mobile:  +49 172  / 571 03 34

________________________________

"Der Inhalt dieser Nachricht oder eventueller Anlagen ist vertraulich und ausschließlich für den bezeichneten Adressaten bestimmt. Bitte stellen Sie sicher, dass die Information in dieser Nachricht ausschließlich an die adressierten Personen gelangt. Sollte diese Nachricht versehentlich an Sie gesendet worden sein, dann informieren Sie bitte umgehend den Absender und löschen Sie die Nachricht. Vielen Dank."

"The information in this e-mail and any attachments is confidential. The information must only be held in areas that have controlled and limited access to the addressed persons. If this e-mail has been sent to you in error, please immediately notify the sender and delete the e-mail. Thanks."

________________________________

________________________________

Von: development-axapta@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von V G
Gesendet: Dienstag, 25. April 2006 08:15
An: development-axapta@yahoogroups.com
Cc: Axapta-Knowledge-Village@yahoogroups.com
Betreff: [development-axapta] How to find the data type of the field



Hello

Can anyone help me find the datatype of the field if I have table Id and
FieldId.

Thanks
VG


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






________________________________

YAHOO! GROUPS LINKS



*      Visit your group "development-axapta <http://groups.yahoo.com/group/development-axapta> " on the web.
       
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .



________________________________



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





SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to