[development-axapta] Setting field to mandatory via code

2010-04-15 Thread www_programmer
I have a formcontrol combobox that allows you to select from ledgerJournalTrans.Dimension. The three dimensions from the Enum are displayed on the form at textboxes inside of a group. They were placed on the form as a fieldgroup. I have set the AutoDeclaration to Yes for all of them. They have

Re: [development-axapta] Setting field to mandatory via code

2010-04-15 Thread Tom Kim
I believe you want to do something like this: ledgerJournalTrans_DS.object(fieldId2Ext(fieldNum(LedgerJournalTrans,Dimension),1)).mandatory(true); I haven't tested this code, but it should be very close to this. The second parameter allows you the specify the array index for the Dimension

Re: [development-axapta] Setting field to mandatory via code

2010-04-15 Thread Anitha Santosh
hi, try this in active method of the Datasource: dimension1.mandatory(true); hope it works... On Thu, Apr 15, 2010 at 11:04 AM, www_programmer www_program...@yahoo.comwrote: I have a formcontrol combobox that allows you to select from ledgerJournalTrans.Dimension. The three dimensions from

Re: [development-axapta] Reg document attached in AX document management

2010-04-15 Thread mni_col
Hi, think with DocuActionFile::saveTempFile you got the pdf file to send. Best regards Michael From: Trinadh Sura Sent: Thursday, April 15, 2010 9:27 AM To: axapta-knowledge-vill...@yahoogroups.com Subject: [development-axapta] Reg document attached in AX document management Hi All, I