Re: [Axapta-Knowledge-Village] Re: How can I pass parameter from a form to a class?

2009-09-10 Thread Sumit Loya
Hi Girac, When you are using Action Type menu item and you have set the datasource, the selected record will be automatically passed to the called class. In the main method of the called class you will have args as parameter. Now if you use args.record() you should get your record. You can assi

Re: [Axapta-Knowledge-Village] Re: How can I pass parameter from a form to a class?

2009-09-10 Thread Anitha S
Giriac, Try this. In the "*Active*" method of the datasource, u can get the value of the current record. If your requirement is fetching the value for the selected record, this will work. Try with *infolog/print *in the above method to check the value of the result. Hope this helps!!! Regards,

Re: [Axapta-Knowledge-Village] Re: How can I pass parameter from a form to a class?

2009-09-10 Thread Anitha S
giriac, are there any argurments for the class?? Regards, Anitha. On Fri, Sep 11, 2009 at 1:00 AM, girac127 wrote: > > > Anitha, > > Thank you for your reply, On my form I have a grid with the PurchID as one > value. On this form I added a MenuAction to point my my class. > > In my class I have

[Axapta-Knowledge-Village] Re: How can I pass parameter from a form to a class?

2009-09-10 Thread girac127
I had my datasource on my menuitem set and the table was decleard, so I was 1/2 way there. However when I added the code to my main method i received a syntax error for the "throw error..." The PurchTable is being passed passed. regards, G --- In Axapta-Knowledge-Village@yahoogroups.com,

Re: [Axapta-Knowledge-Village] Re: How can I pass parameter from a form to a class?

2009-09-10 Thread Varden Morris
Set the datasource property of the menuitem on the form to the required datasource on the form. In the main method of the class there is an Args parameter. Declare the table in the main method and set it to the record property of the Args parameter. Something like this: static void main(Args _a

[Axapta-Knowledge-Village] Re: How can I pass parameter from a form to a class?

2009-09-10 Thread girac127
Anitha, Thank you for your reply, On my form I have a grid with the PurchID as one value. On this form I added a MenuAction to point my my class. In my class I have the query "while select PurchTable where PurchTable.PurchId == 'PurchIDValueFromForm'" this create my text file as I expect. but

Re: [Axapta-Knowledge-Village] AX 2009 reporting services error: AX_CompanyName

2009-09-10 Thread mohit rajvanshy
Try executing the report by passing the company id as a parameter. Regards Mohit Rajvanshy --- On Thu, 9/10/09, sreenath reddy wrote: From: sreenath reddy Subject: Re: [Axapta-Knowledge-Village] AX 2009 reporting services error: AX_CompanyName To: Axapta-Knowledge-Village@yahoogroups.com Da

Re: [Axapta-Knowledge-Village] AX 2009 reporting services error: AX_CompanyName

2009-09-10 Thread sreenath reddy
Hi , An incorrect Execution account has been specified in the Reporting Services Configuration Manager For SSRS 2008 the BC proxy is required to be the Execution account and for SSRS 2005 an Execution account should not be used. Also look at application event log for details on other issues.

[Axapta-Knowledge-Village] AX 2009 reporting services error: AX_CompanyName

2009-09-10 Thread kardo_ax
When trying to run any report that uses reporting services (reports that are marked with *), Im getting the following error: AX_CompanyName (rsReportParameterProcessingError) Can anyone help?

[Axapta-Knowledge-Village] Workflow

2009-09-10 Thread Craig Fidler
Hi All, Can anyone tell me where the place holders for the worklow messages are store/created Thanks

[Axapta-Knowledge-Village] Ax 2009 WorkFlow category error

2009-09-10 Thread bhatt_himani1
Hi all, I created a workflow for a vertical..added my new module in "ModuleAxapta" enum and in WorkFlow category property "Module" selected my new module. When I open my WorkFlow configuration form from setup it doesn't fetch the module value from workflow category...it's blank when I checked fro

[Axapta-Knowledge-Village] Counting journal

2009-09-10 Thread Rasika Athuraliya
Hi, I would like to know how to avoid Counting Journal transactions from Safety stock Journal calculations. Because of counting journal transactions Safety stock calculations gives wrong figures. Thank you, Chirani 

Re: [Axapta-Knowledge-Village] Feasibility of creating , posting & printing large volume of SOs from Legacy systems to AX2009

2009-09-10 Thread Anitha S
Hi.. It is possible in Ax2009.. We are using AIF in AX and Biztalk as Middleware to integrate with third party application. I assume you are *exporting and importing* huge amount of data . Choosing the Framework for data transfer depends on your requirement. Since AIF is simple to se

[Axapta-Knowledge-Village] Feasibility of creating , posting & printing large volume of SOs from Legacy systems to AX2009

2009-09-10 Thread Pankaj Kant
Hi Every One I have a client requirement where I need to Create, Post & Print the large volume of sales orders approx ( 250,000 Nos ) in a day by fetching master & txn data from some third party systems . I am having Biz Talk 2009 as Middleware and I plan to Use AIF/ webservices / .Net Bu

RE: [Axapta-Knowledge-Village] Workflow Error --Exception has been thrown by the target of an invocation.

2009-09-10 Thread Pankaj Kant
Hi Anitha Thanks for the advice I tried recompiling the application again and it worked :) Best regards PK From: Axapta-Knowledge-Village@yahoogroups.com [mailto:axapta-knowledge-vill...@yahoogroups.com] On Behalf Of Anitha S Sent: Thursday, September 10, 2009 10:42 AM To: Axapta-Knowledge-

Re: [Axapta-Knowledge-Village] How can I pass parameter from a form to a class?

2009-09-10 Thread Anitha S
I could not get the clear picture of ur query. I understood the first part of it. Try this. From your question , i understud PURCHID is in the datasource. So you can directly use it as *datasourcename.PurchID or FormControName.text()* and pass it as parameter to the class method. Else