Re: [development-axapta] Copy Item to another company/dataarea
Hi Axl, For the performance objective, i think you should do it in the level back-end SQL database by using DTS or Integration services. Simply attach another backup DB from Production server and use DTS/Integration function to copy the same data. But before you do that, you should modify first the recId and dataAreaId in the backup DB. But it is still easier to write your own job to copy item into another company by using changeCompany function in DAX. Regards, From: Ruel Ormita r...@msb.com.my To: development-axapta@yahoogroups.com Sent: Thu, 22 April, 2010 3:26:26 PM Subject: RE: [development-axapta] Copy Item to another company/dataarea Hi, There are two methods. 1. Export it using Administration Periodic Export Need to setup the definition group. Then select the corresponding tables you want to export. 2. Create a job using the changecompany( ) function. Regards From: development- axa...@yahoogrou ps.com [mailto:development- axa...@yahoogrou ps.com] On Behalf Of axaeffect Sent: Wednesday, April 21, 2010 12:36 PM To: development- axa...@yahoogrou ps.com Subject: [development- axapta] Copy Item to another company/dataarea Hi all, How to copy item (InventTable, InventTableModule, InventeItemLocation ) to another company/dataarea? Kindly advise, Thanks, Axl [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]
Re: [development-axapta] str2date
Hi Morten, Please check your calendar system... AX always returns the last date of the specified month. Not based on the mentioned date. Hope this will help you. Regards, Feel safe with award winning spam protection on Yahoo!7 Mail. http://mail.yahoo.com.au [Non-text portions of this message have been removed]
Re: [development-axapta] Re: start/stop a service AOS instance
Hi Archana, Let's assume you only have one AOS service: AOS$01 To start/stop the service from command prompt: sc start AOS$01 sc stop AOS$01 You can also save in a batch file to auto-run this service... Regards, Get the World's number 1 free email service. http://mail.yahoo.com.au [Non-text portions of this message have been removed]
Re: [development-axapta] Add numbering into InventTable form
Hi Chiat, The usage of display method in report and form are different from its purpose in this case. Since you do loop one by one record in the report then your display method is displayed correctly. But in the form you can not achieve that based on your perspective. It is more flexible if you modify inventTable table to store the order number... In your case you can see the lineNum field in the salesLine table to display your order number correctly. This approach is quite simple. Hope this help you... Regards, Yahoo!7 Mail has just got even bigger and better with unlimited storage on all webmail accounts. http://au.docs.yahoo.com/mail/unlimitedstorage.html [Non-text portions of this message have been removed]
Re: [development-axapta] start/stop a service AOS instance
Hi, You can try this command in the command prompt: * Ax 3.x Ax32Serv.exe /? * Ax 4.x sc.exe /? Hope this will help you. Regards, _ How would you spend $50,000 to create a more sustainable environment in Australia? Go to Yahoo!7 Answers and share your idea. http://advision.webevents.yahoo.com/aunz/lifestyle/answers/y7ans-babp_reg.html [Non-text portions of this message have been removed]
Re: [development-axapta] no payment
Hi Hilda, For your case, the remaining amount is posted in penny difference default currency account as usual. But you may define other than the penny difference account. It is done as the following way: 1. Create customer payment in A/R payment journal Select customer account to define which customer that you want to settle with. 2. Click Function Settlement Select the invoice number 3. After you closed the Settlement form, the selected amount will be transferred to the credit field in the payment journal. From there, you can correct it with the desired amount. 4. After you post the journal, Click Inquiries Voucher, you can see which account is posted regarding the customer A/R. Hope this may help you. Regards, _ How would you spend $50,000 to create a more sustainable environment in Australia? Go to Yahoo!7 Answers and share your idea. http://advision.webevents.yahoo.com/aunz/lifestyle/answers/y7ans-babp_reg.html [Non-text portions of this message have been removed]
Re: [development-axapta] Form Refresh problem
Hi Suneel, There are some ways to achieve a refresh datasource in your form after calling a menu item that is: 1. Override Clicked method in your menu item button 2. Datasource_ds.research(); // Use this if you want to refresh one line in the form. or Datasource_ds.executeQuery(); // Use this if you want to refresh whole record in the form. Alternatively, If you want to refresh your form from the class, first you should pass the FormDataSource as parameter onto the class where it is called and verify the datasource accordingly, after that write dataSource_ds.refresh(); Regards, ___ How would you spend $50,000 to create a more sustainable environment in Australia? Go to Yahoo!7 Answers and share your idea. http://advision.webevents.yahoo.com/aunz/lifestyle/answers/y7ans-babp_reg.html [Non-text portions of this message have been removed]
Re: [development-axapta] Printers
Hi Vishal G, Please try this... * static void PrinterList(Args _args) { PrintJobSettingsprintJobSetting = new PrintJobSettings(); inti = 1; ; while (i=printJobSetting.getNumberOfPrinters()) { if (!printJobSetting.getPrinter(i)) break; info(strfmt(%1 - %2,i,printJobSetting.getPrinter(i))); i++; } } * ___ How would you spend $50,000 to create a more sustainable environment in Australia? Go to Yahoo!7 Answers and share your idea. http://advision.webevents.yahoo.com/aunz/lifestyle/answers/y7ans-babp_reg.html [Non-text portions of this message have been removed]