Re: [development-axapta] Re: How to access enum values in loop

2004-01-02 Thread jesper . joergensen
Hi, try this. int counter; SysDictEnum SysDictEnum;; SysDictEnum = new SysDictEnum(EnumNum(ABC)); for (counter = 0; counter = enumcnt(ABC)-1; counter++) { info(SysDictEnum.index2Label(counter)); } Mit freundlichen Gren / Best regards / Med venlig

Re: [development-axapta] SQL Trace

2004-01-02 Thread jesper . joergensen
? Is a wildcard to give the SQL server the option of using the SQL optimizer? To debug a problem try using the Axapta debugger Mit freundlichen Gren / Best regards / Med venlig Hilsen Jesper Jrgensen Consulting mailto: [EMAIL PROTECTED] Aston Business Solutions GmbH Kettelerstr. 3-11 D-97222

Re: [development-axapta] Adjustment

2004-01-02 Thread jesper . joergensen
Hi, You normaly needs to change the EDT to change the field properties. Try having a look at the sysDict* classes and the systemclasses dict*. You might find a usefull hint in the forms for setting up global types. /Jesper Original Message processed by Tobit InfoCenter Subject:

Re: RE : [development-axapta] Adjustment

2004-01-02 Thread jesper . joergensen
Changing the records in the table SQLDictionary NOT a good plan. You might loose date at the next synchronize from Axapta converts the field back the properties as set up in the Axapta AOT. You need to change the EDT in Axapta then synchronize the tables, this will update the SQLDictionary. The

Re: [development-axapta] How to create UK BACS file format?

2004-01-02 Thread jesper . joergensen
hi, try this public class VendOutPaym_UKBACS extends VendOutpaym /Jesper Original Message processed by Tobit InfoCenter Subject: [development-axapta] How to create UK BACS file format? (28-Okt-2003 11:36) From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi, How can I

Re: [development-axapta] Intercompany trading

2004-01-02 Thread jesper . joergensen
Hi, have you set up Possible actions as well? You need to setup accountnumber, itemnumber, etc. to use in the transfer. Mit freundlichen Gren / Best regards / Med venlig Hilsen Jesper Jrgensen Consulting mailto: [EMAIL PROTECTED] Aston Business Solutions GmbH Kettelerstr. 3-11 D-97222

Re: [development-axapta] change of tableID

2004-01-02 Thread jesper . joergensen
Hi, yes, but only on your new tables not on the Sys..Lop Tables. You need to export your tables with ID from the version 2.5. Then thange the ID in the xpo to the next free number. Before you deploy to the customer you need to change the table ID for the tables in the Table SQLDICTIONARY,

Re: [development-axapta] Dataupgrade v2.5 - v3.0

2004-01-02 Thread jesper . joergensen
HI, Yes. In the class ReleaseUpdateDBV25toV30 create a new methode that loops over yout tables (sysdicttable) and the fields (sysDictField). Then select the record in SysDictionary that matchese the name and update this with the new TableId. Do not forget to update the TableId on the fields as

Re-2: [development-axapta] client /server connection

2004-01-02 Thread jesper . joergensen
The recommendations from Microsoft are by 50 ms, and a minimum of 100ms. Check out the TechNet for information on latency and hardware sizing. /Jesper Original Message processed by Tobit InfoCenter Subject: RE: [development-axapta] client /server connection (05-Dez-2003 11:00) From:

Re: [development-axapta] creating and writing a file

2004-01-02 Thread jesper . joergensen
Try the Classes ASCIIIO, CommaIO, or comma7IO. You will find the documentation in the system documentation. /Jesper Original Message processed by Tobit InfoCenter Subject: [development-axapta] creating and writing a file (11-Dez-2003 11:07) From: [EMAIL PROTECTED] To:

Re: [development-axapta] enum2str() .. language labels

2004-01-02 Thread jesper . joergensen
Hi Jan, I don't know if this is he best way, but it works. static void JJ_Test(Args _args) { LanguageId orglanguageId = infolog.language(); ; infolog.language('En-GB'); info(enum2str(ItemType::Service)); infolog.language('FI'); info(enum2str(ItemType::Service));