AW: [development-axapta] args

2005-11-24 Thread Andrae, Tobias
Args.record(Datasourcename); Hth Tobias -Ursprüngliche Nachricht- Von: byteway_so [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 23. November 2005 12:58 An: development-axapta@yahoogroups.com Betreff: [development-axapta] args Hi, How can I pass a datasource (with selected records

Re: [development-axapta] args

2005-11-24 Thread DIEGO MARIANO GAGLIANO
Hi, You need to use: Args args; Table yourtable; ; Select firstonly yourtable where yourtable == the record that you want to transfer; args = New Args(); args.record(yourtable); I hope this can help you. Best regards, Diego Gagliano

Re: [development-axapta] args

2005-11-24 Thread Sonny Wibawa Adi
Hi, byteway_so, Is what you mean the datasource that is in the form? If so, then just send the DataSourceName using record accessor method. So, if you want to get the FormObjectSet object, then use element.args().record().dataSource() function. Ex.: Args args; ; args = new Args();

Re: [development-axapta] args

2005-11-24 Thread Byteway
Thanks all for your replies! I got it working now. The statement that got me back on track was : //args.record(SalesTable); /b Sonny Wibawa Adi wrote: Hi, byteway_so, Is what you mean the datasource that is in the form? If so, then just send the DataSourceName using record accessor

[development-axapta] args

2005-11-23 Thread byteway_so
Hi, How can I pass a datasource (with selected records) in an args object? Tried the dataset method without luck, also parm(datasourceName) didn't work. Args arg; ; args = new Args(); //args.parm(datasourceName); //args.dataset()= datasourceName; Any hints?

[development-axapta] args in report prodjournalbom

2004-07-09 Thread geerties
Hi. I want to change the args parameter (received journalid) in the init from the report prodjournalbom. I will run this program in batch every day but the journalid change every day. I will only print the journal with 'xyz' in the prodjournaltable.name that stays everytime the same. How