[development-axapta] Info class customization leads to import issue...
Hi All, As i customized the info class formnotify() to meet the requirement, export the customized objects along info class as xpo and imported the same in new environment. After the import the AX throws infolog message saying the Error: Recompile the script Info\formnotify(). I need to follow the below steps after importing then only the issue is getting resolved. 1. Recompile or do compile forward for 3 or 4 times 2. Relauch ax and compile. Is this issue will happen when we write code in info class? How to rectify the issue instead of compiling. Because will feel something happened wrong. Instead of making the Infologdetail as none in the Tools-> options window anyother way to do automatic compiling and not showing the infolog error message. Is it a known issue? Please suggest me on this. Appreciate a response. Regards, Srinath. S Sweet Regards, Srinath. S [Non-text portions of this message have been removed]
RE: [development-axapta] Vendor Invoice Journal from Business Connector
Using Logon or logonAs methods in Class Axapta. Create object for Axapta class and then call logon or logonas method using the axapta object. public void LogonAs(string user, string domain, System.Net.NetworkCredential bcProxyCredentials, string company, string language, string objectServer, string configuration) Member of Microsoft.Dynamics.BusinessConnectorNet.Axapta public void Logon(string company, string language, string objectServer, string configuration) Member of Microsoft.Dynamics.BusinessConnectorNet.Axapta hope this help us. --- On Thu, 30/9/10, Roberto Ukmar wrote: From: Roberto Ukmar Subject: RE: [development-axapta] Vendor Invoice Journal from Business Connector To: development-axapta@yahoogroups.com Date: Thursday, 30 September, 2010, 8:08 PM How are you logging into AX from the business connector? -Messaggio originale- Da: development-axapta@yahoogroups.com [mailto:development-axa...@yahoogroups.com] Per conto di Adam Gregory Inviato: giovedì 30 settembre 2010 14:53 A: development-axapta@yahoogroups.com Oggetto: Re: [development-axapta] Vendor Invoice Journal from Business Connector My problem was that the Business connector was using DAT and not a specified company. I wrapped all my static methods in AX with changecompany(companyParam) {} Is this the best practice way or is there a way to change company directly from .net? Thank your for your responses, Adam Gregory [Non-text portions of this message have been removed]
Re: R: [development-axapta] Vendor Invoice Journal from Business Connector
Hi Roberto, When you are using Axapta class with logon or logonas method, are you passing the company name as one parameter to any of these methods. If you pass the company information in these login methods then it will solve the problem. Regards, Srinath. S --- On Thu, 30/9/10, Roberto Ukmar wrote: From: Roberto Ukmar Subject: R: [development-axapta] Vendor Invoice Journal from Business Connector To: development-axapta@yahoogroups.com Date: Thursday, 30 September, 2010, 1:47 PM Hi, Is the business connector logged on the right company? (or is on the dat company)? Da: development-axapta@yahoogroups.com [mailto:development-axa...@yahoogroups.com] Per conto di Adam Gregory Inviato: mercoledì 29 settembre 2010 16:03 A: development-axapta@yahoogroups.com Oggetto: [development-axapta] Vendor Invoice Journal from Business Connector I have a static method in X++ that creates a Vendor Invoice Journal. When I run this method from a job inside of AX the journal is created without a problem. When I try to run the method from the business connector I get exception: Additional information: Number sequence for the reference Journal number in parameters in the General ledger module has not been set up. The number sequence is set up and works fine from inside AX. Does anyone know what would cause this? Thank you, Adam . <http://geo.yahoo.com/serv?s=97359714/grpId=514494/grpspId=1705006764/msgId= 18157/stime=1285830681/nc1=3848644/nc2=5741393/nc3=4507179> [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]
[development-axapta] Events when moving between modules using Naviagion pane
Hi All, In AX 2009, is there any class methods or events available to know that when we switch from AX form to the navigation pane. Or any events get fired when moving from one module to another module using Navigation pane. Appreciate a response. Regards, Srinath. S [Non-text portions of this message have been removed]
[development-axapta] Event for form lost focus
Hi All, I have doubt regarding AX 2009 form events. Do we have an event to Notify us the form is LostFocused. Which method will be triggered when the form is LostFocused? Appreciate a response. Regards, Srinath. S [Non-text portions of this message have been removed]
[development-axapta] Event for form focus
Hi Champs, In AX 2009, assume that multiple forms are opened. When the focus is moved from one form to another form then how to identify that particular form got focused. In which event of the form I can get the triggering happens. I had checked with Forms\FormName\Methods\activate(). But this method is called more than once when the form is opened and also if u gets the focus of the form then also this method is triggered more than once. Example: Assume that customer and sales order forms are opened. Now the focus in the sales order form and if we go to customer form then in which event of the customer form I will come to know that this form(customer) got focus. Is any other event to identify the focus of the form please let me know. Appreciate a response. Regards, Srinath. S [Non-text portions of this message have been removed]
[development-axapta] Regarding changes in framework classes
Hello Champs, I have modified the framework classes like \Classes\SysSetupFormRun to meet the requirement. Is this will be accepted by Microsoft and the code will be certified. Appreciate a response. Regards, Srinath. S [Non-text portions of this message have been removed]
[development-axapta] How to know the user has access to purchase order using code
Hi champs, In order to restrict the user to use the purchase order I am giving no access permission to the user that belongs to the user group say “xyz”. Will select the user group xyz in the user group form and will go to the permission tab and select the security key in the drop down of the View field. In the tree structure AP -> Tables (full control)->Purchase orders and made it as No access. After the above setting I re-launched the AX for that particular user, it’s not allowing to open the purchase order form which is expected behaviour. Now through code how can I check the user has access to purchase order. Using hassecuritykeyaccess method I can pass the securitykey but which security key to pass is my confusion. Because the security key attached to the purchtable menuitem is “VendMisc”(Miscellaneous node in permission form tree structure AP -> Miscellaneous) and security key attached to the purchtable table is “VendTables” (Tables node in permission form tree structure AP->Tables). Could anybody help me on this. Regards, Srinath. S [Non-text portions of this message have been removed]
Re: [development-axapta] Creating Local XML File
Hi Check the site http://207.46.16.248/en-us/library/aa856656.aspx for further information. Regards, Srinath. S --- On Mon, 26/4/10, www_programmer wrote: From: www_programmer Subject: [development-axapta] Creating Local XML File To: development-axapta@yahoogroups.com Date: Monday, 26 April, 2010, 10:56 AM I am trying to understand the best way to create XML files on the local system in AX. I have created a new query that displays data from InventTable and SalesTable. (InventTable. ItemId, InventTable. ItemName, SalesTable.Price) . I would like to add a button to a form to, "send electronically" like functionality in other forms and have an XML file generated on the local file system. I created my query and then ran the AIF document service wizard and selected only the read option. I have looked over the examples for similar existing functionality that utilizes the AxdSend class to create the xml file. I'm getting an error that I don't have an endpoint setup... but it looks to me like I do. I'm a bit lost on this one as I have not done this before. Can anyone point me to a more clear or step-by-step example of creating a new query and going through the process to creating the XML document? Thanks for all the help Cheers! [Non-text portions of this message have been removed]
Re: [development-axapta] Inbound Create Purchase Order AIF service
Hi Jennifer, Its simple process. Just you need to create a AX query and specify the query in the wizard (Create new service) from Tools->developer tools -> AIF. Once you complete the wizard. It will create all the necessary code and setting for us. To create purchase order query even you can refer the AxdSalesorder. Similarly we can create for Axdpurchorder as well. Regards, Srinath. S --- On Mon, 14/6/10, JS wrote: From: JS Subject: Re: [development-axapta] Inbound Create Purchase Order AIF service To: development-axapta@yahoogroups.com Date: Monday, 14 June, 2010, 2:45 AM Hi Jesper, Thanks for the information. We are currently in a very tight timeline. Do you know if anyone has already done this before? Thanks, Jennifer -- Hi Jennifer, there is no standard service to create purchase orders. The service you found is the purchase requisition that requires a purchase order to work. You will need to create a new service to be able for create purchase orders. For a complete listing of the AX standard services please referee to http://msdn.microsoft.com/en-US/library/aa859008%28v=AX.50%29.aspx 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 jesper.joergen...@bertelsmann.demailto:jesper.joergen...@bertelsmann.de> From: JS To: development-axapta@yahoogroups.com Sent: Fri, 11 June, 2010 5:51:57 PM Subject: [development-axapta] Inbound Create Purchase Order AIF service Hi, I was looking at the list of standard AIF services and I could not find one to create a purchase order (inbound). Has anyone experienced interfacing new purchase orders using AIF? How did you do it? Is there any standard AIF service somewhere for creating purchase orders? There is a Purchpurchreqservice (Find, Findkeys, Read) but there is not Create function. Many thanks, Jennifer From: Trinadh Sura To: axapta-knowledge-vill...@yahoogroups.com Cc: development-axapta@yahoogroups.com Sent: Mon, 7 June, 2010 7:33:42 PM Subject: [development-axapta] Reg FedEx Integration Hi all, How to integrate Axapta with FedEx ? What is the right process to test with live FedEx Account ? Thanks & Regards Trinadh Sura [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]
[development-axapta] AIF salessalesorderservice - Issue in getting the url
Hi All, I am trying to consume the salessalesorderservice which is available in AX AIF. I have enabled the salessalesorderservice and generated the service. AX created the svc file in the virtual directory. To know the url of the service i went to IIS-> that site and browse the svc file. In browser i am getting the infomration "The page cannot be displayed". I am have given the full permission to this service as well. Security key also has full control. Could anybody can help me to figure it out. Awaiting for a response. Regards, Srinath. S Sweet Regards, Srinath. S [Non-text portions of this message have been removed]
[development-axapta] Dynamic x++ query problem
Hi folks, I have done some customization in which doing dynamic query generation. Now i am getting the following error message. Stack trace: The operation that you are performing generates a SQL statement that contains too many nested statements. Break the operation into multiple parts, and try again. (C)\Classes\QueryRun\next Could anybody help on this. Otherthan changing the existing code for generating the dynamic query, Is it possible to fix with other way. Waiting for a response. Regards, Srinath. S [Non-text portions of this message have been removed]
[development-axapta] Launching AX forms and creating records in the form through .Net
Hello Folks, >From .Net whether is it possible to Launch the Ax forms and create records >with some mandatory data in it. >From .net when we click ok button from the windows form it should launch the >AX form (for example customer form) , create a record in this form and set >the values in the fields(filling the Customer account, customer group). Appreciate a response. Thanks and Regards, Srinath. S [Non-text portions of this message have been removed]
[development-axapta] Opening a AX form and setting the values in the form from .Net
Hello Folks, I have one doubt. >From .Net whether is it possible to open the Ax forms and create records with >some mandatory data in it. >From .net when we click ok button from the windows form it should open the AX >form (for example customer form) , create a record in this form and set the >values in the fields(filling the Customer account, customer group). Appreciate a response. Thanks and Regards, Srinath. S [Non-text portions of this message have been removed]
[development-axapta] (unknown)
Hello Folks, I have one doubt. >From .Net whether is it possible to open the Ax forms and create records with >some mandatory data in it. >From .net when we click ok button from the windows form it should open the AX >form (for example customer form) , create a record in this form and set the >values in the fields(filling the Customer account, customer group). Appreciate a response. Thanks and Regards, Srinath. S [Non-text portions of this message have been removed]
Re: [development-axapta] Report
Hi pooja, You can use epilog(part of report design) which will execute at last. If you have any doubt regarding this please feel free to let me know on the same. Regards, srinath.s --- On Sun, 30/8/09, Pooja . wrote: From: Pooja . Subject: [development-axapta] Report To: development-axapta@yahoogroups.com Date: Sunday, 30 August, 2009, 7:40 AM Hi every one, I need to print the "Terms and Conditions "at last page of the report. it contains Full page of text..it should print in one page only. can any body help me in this. Pooja _ _ __ From: munender soperna To: development- axa...@yahoogrou ps.com Cc: chin_chin_ada@ yahoo.com. ph Sent: Thursday, 20 August, 2009 10:37:14 AM Subject: Re: [development- axapta] AX 4.0 Got Stuck! Hi Chin Chin, I myself Munender Soperna (from India). Can you please send me the details of hardware setup etc... 1. How many AOS Servers are there with configuration 2. SQL Server configuration with no. of spindles 3. No. of Users connected at a time on peak load 4. Is this the FMCG company? We have some more query that will be discussed based on your reply on above infromation. All the Best == Munender Soperna --- On Wed, 8/19/09, chin_chin_ada wrote: From: chin_chin_ada Subject: [development- axapta] AX 4.0 Got Stuck! To: development- axa...@yahoogrou ps.com Date: Wednesday, August 19, 2009, 3:19 PM Im having root cause analysis for the AX slow performance in one of my clients. They have 15 company created in AX. When they select a record in the Transaction List (Chart of Accounts >> Transaction button >> List of Transactions (All Vouchers will pull down). The clients said they get stuck in one record in the Trsnaction List. They cannot scroll and move cursor around, even in the outside form of AX.(E.g clicking in the Desktop). After they clicked in the desktop the AX will have a warning saying that AX is not responding. What are the factors that contribute in the slow process of AX 4.0. Can someone help me? [Non-text portions of this message have been removed] _ _ _ _ _ _ Find local businesses and services in your area with Yahoo!7 Local. Get started: http://local. yahoo.com. au [Non-text portions of this message have been removed] See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/ [Non-text portions of this message have been removed]
[development-axapta] Regarding debugging of batch jobs
Hi Champs, I am not able to debug batch jobs in AX 2009. Somehow i heard that this is an issue already existing. Can you please guide me whether any workaround is there or need to wait for fix from microsoft. Regards, Srinath. S Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com [Non-text portions of this message have been removed]
[development-axapta] How to sent the text file to the printer using SysPrintForm
Hi Champs, As i have one text file which i need to print. For that i need to select printer settings so how to sent the file to "SysPrintForm"(form opening when printing the report) from there i need to pick the printer to get the print. Usually we will the print the data using report as a base from their we will use SysPrintForm to select the printer settings. Please guide me. Regards, Srinath. S Explore and discover exciting holidays and getaways with Yahoo! India Travel http://in.travel.yahoo.com/ [Non-text portions of this message have been removed]