[development-axapta] Re: How to Check the checkbox in X++

2008-06-12 Thread Gunjan
Hi select the table for update. Like id projFund is the buffer, the code should be like projFund.selectForupdate(true); projFund.check = NoYes::Yes; projFund.update(); these statements should be under ttsbegin and ttscommit statements. if you dont find the update in the form, then close the

[development-axapta] Axapta 4.0 Inventory Report

2008-06-12 Thread branjema
I have an Inventory Report that shows the Itemid and name. when you right click on the itemid or name it takes the user to that record. However, the color of the itemid and name on the report is orange - a color that is hard to read. Is there a way to change the color and retain the link to

[development-axapta] Problem with try catch

2008-06-12 Thread jazib.abdulah
Hi everybody I am using the following code in my program. try { ret = runBuf(myJob); Info(Ok); } catch { Info(Failed); } The problem is when runBuf fails to compile. It's Error message still shows while the purpose of putting this inside try catch was, I wanted to display my own

[development-axapta] Axapta Labels

2008-06-12 Thread Vasathi
Dear Friends My client having the following problem in the AX 4.0, in menu names are showing system description instead of original menu names. This problem occures for 1 or 2 users not for all. How to resolve it. I recreate the user id also, but the problem remains the same. Please advice

Re: [development-axapta] How to Check the checkbox in X++

2008-06-12 Thread syed baber
Hi, Thanks for ur reply. It is not working despite calling refresh on datasource. Actually I am checking the checkbox in Form canclose() method. When the form is closing I check some validation if validation is fine then I want to check the checkbox, otherwise remain uncheck. Plz let me know how

[development-axapta] Re: Newbie Question - Range Syntax

2008-06-12 Thread letron_brantley
I'm not sure of the syntax I need to use. When I try the following, it doesn't work. public void init() { date ed; ; super(); ed = today() + 192; this.query().dataSourceTable(tablenum(InventBatch)).addrange (fieldnum( InventBatch,

[development-axapta] AX Data Dictionary

2008-06-12 Thread letron_brantley
Does anyone know of a Data Dictionary that exists for AX. We are in the process of implementing AX and our current legacy system has a schema book that lists all of the database fields and a brief description. If anyone knows how I can get a DD, I would really appreciate the advice. Letron

[development-axapta] How to create justify alignment (Ask)

2008-06-12 Thread Wahyudin Zakie
Hi everyone, I'm using navision axapta 3.0 SP5, I have a report with string field 1000 char, and i want this field with justify alignment. But there is no option justify in alignment properties. Would you like to help me how to solve this problem? Best Regards, Zakie

[development-axapta] How to Import Data in Excel template has DimID

2008-06-12 Thread suneel babu
Dear All., Importing Data from standard template into Ax The templates of Inventory (Table Invent sum and other tables) which are exported from Ax consist of Dimension number (Invent Dimension ID ) which is a system generated number. We cannot import the data filled in the exported

Re: [development-axapta] Newbie Question - Range Syntax

2008-06-12 Thread navi_van
Dear All, my answer is queryBuildRange = dsInventTable.addRange(fieldNum(InventTable, ItemType)); queryBuildRange.value(strFmt('((%1 == %2) || ((%1 == %3) amp;amp; (%4 == %5)))', fieldStr(InventTable, ItemType), any2int(ItemType::Service), any2int(ItemType::Item),

Re: [development-axapta] Re: How to Check the checkbox in X++

2008-06-12 Thread syed baber
Thanks very much Gunjan. The problem has been solved with ur code.Now I can check the checkbox. Regards. Syed Baber. On Tue, Jun 10, 2008 at 6:03 PM, Gunjan [EMAIL PROTECTED] wrote: Hi select the table for update. Like id projFund is the buffer, the code should be like

AW: [development-axapta] Problem with try catch

2008-06-12 Thread jesper.joergensen
Try this catch(Exception::Error) { Info(Failed); } Mit freundlichen Grüßen / Best regards / Med venlig hilsen Jesper Jørgensen / Abt. NMT-XD Senior Product Manager arvato systems | Technologies GmbH An der Autobahn 18 33311 Gütersloh [EMAIL PROTECTED]