Re: [Axapta-Knowledge-Village] Size of XML file while importing - Ax2009

2010-03-31 Thread Sumit Loya
Did you check in BizTalk? What error message does it show. I am sure the XML message must be Dehydrated or Suspended state in BizTalk if it has not reached AX and you can see the messages to ensure what has happened. Regards, Sumit On Wed, Mar 31, 2010 at 12:04 AM, Anitha Santosh

Re: [Axapta-Knowledge-Village] Job to Zero Out Inventory Cost

2010-02-18 Thread Sumit Loya
Hi, I think you should use counting or P L journal for such scenarios. Regards, Sumit Loya On Thu, Feb 18, 2010 at 10:09 AM, new_it_guy_ar anthony.mcchrist...@pipelife-jetstream.com wrote: We are running AX 3.0 SP6. We have recently decided to write off a number of items from our spare

Re: [Axapta-Knowledge-Village] Re: how to represent not equal to symbol in query build

2009-11-20 Thread Sumit Loya
Hi, Use SysQuery::valueNot(anytypeValue); Regards, Sumit On Fri, Nov 20, 2009 at 4:30 PM, giridharraj giridhar...@yahoo.com wrote: Hi, ya, that is ok if not empty string but wat if i want to put for not equal to a value.Bcoz query build is not considering != symbol.i.e., str test;

Re: [Axapta-Knowledge-Village] conversion of xml object

2009-11-08 Thread Sumit Loya
class is a different object that System.Xml.XmlDocument. Regards, Sumit Loya On Mon, Nov 9, 2009 at 12:44 PM, giridharraj giridhar...@yahoo.com wrote: Hi, I am accessing a method in a AX class from dot net directly which takes an xml document object as a parameter and it should also return xml

Re: [Axapta-Knowledge-Village] Re: AX2009 does not like W2008 x64

2009-11-03 Thread Sumit Loya
Hi James, Well we have installed Ax 2009 on Windows Server 2008 and *SQL Server 2008.*We faced issues only with Reporting and Analysis Services. AX 2009 on WS 2008 and SQL 2005 is running fine. Regards, Sumit On Tue, Nov 3, 2009 at 5:04 PM, r_ssh ramamurthy.sant...@gmail.com wrote: Hi

Re: [Axapta-Knowledge-Village] Plz Help : Unable to Cancel Tranfer Order/Sales Order in AX2009

2009-11-02 Thread Sumit Loya
Hi, Just check the inventory transactions for your sales order. Looks like the items have already been picked. If this is the case then Unpick those sales lines and try to cancel the sales order. Regards, Sumit On Tue, Nov 3, 2009 at 10:14 AM, Ax Consultant ax_consult...@yahoo.comwrote: Hi

Re: [Axapta-Knowledge-Village] Life sciences and Electronic Signature Documents

2009-09-25 Thread Sumit Loya
Hi, You can check out this link. http://sumit-theaxfactor.spaces.live.com/blog/cns!596957786228C73F!288.entry Regards, Sumit On Thu, Sep 24, 2009 at 3:54 PM, vdvarma_04 vdvarma...@yahoo.co.in wrote: Dear all, I want some documents related to the Life Science and Electronic signature in

Re: [Axapta-Knowledge-Village] Workflow Error

2009-09-24 Thread Sumit Loya
Hi, Is it logging any kind of errors in Event Log. Just check the event viewer for the same. Also try to synchronize the Workflow History table. Regards, Sumit On Thu, Sep 24, 2009 at 12:58 PM, Anitha S mail2eani...@gmail.com wrote: Hi, We are facing a strange issue in Workflow. When we

Re: [Axapta-Knowledge-Village] Very urgent

2009-09-22 Thread Sumit Loya
Hi, If you are trying to achieve a condition where in you are filtering items which has 20 (*20*) in it and ends with pipe (*pipe): Then you can try out following code: static void QueryExpressions(Args _args) { Query query; QueryRunqueryRun;

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

2009-09-11 Thread Sumit Loya
() == tableNum(PurchTable)) { localPurchTable = _args.record(); //Call ur code here } } Hope this helps. Regards, Sumit Loya On Fri, Sep 11, 2009 at 10:10 AM, Anitha S mail2eani...@gmail.com wrote: Giriac, Try this. In the *Active* method of the datasource, u can get the value

Re: [Axapta-Knowledge-Village] Grand Total for a single field in a report

2009-09-08 Thread Sumit Loya
Hi, Ensure that the SumAll property for the required control is set to yes and for others it is set to No. Regards, Sumit On Tue, Sep 8, 2009 at 5:36 PM, Anitha S mail2eani...@gmail.com wrote: Hi. When *Grandtotal* property is set to yes in report, it prints the grand total for all the

Re: [Axapta-Knowledge-Village] Adding users from other domain

2009-08-27 Thread Sumit Loya
Hi Prashant, I think if the trust between the the two domains is defined, you can access the users from other domain. It will also be listed in the AD Import Wizard as well. Regards, Sumit On Thu, Aug 27, 2009 at 11:53 AM, prashant verma prashant_axa...@yahoo.co.in wrote: Anitha, I

Re: [Axapta-Knowledge-Village] Unused Spaces in Axapta Reports [1 Attachment]

2009-08-04 Thread Sumit Loya
Hi Anitha, Look at the screen shot attached. May be this will help you. This may be because of the width of one of the report controls. Regards, Sumit On Mon, Aug 3, 2009 at 1:00 PM, Anitha S mail2eani...@gmail.com wrote: Hi.. There are unused spaces after last column in few of the axapta

Re: [Axapta-Knowledge-Village] Printing of Multiple Checks using Batch Process

2009-07-24 Thread Sumit Loya
Hi, You may have to create a custom class to perform this printing of checks in Batch. Regards, Sumit On Fri, Jul 24, 2009 at 7:43 PM, navin_rdy navin_...@yahoo.com wrote: Hi, Is there any way to print Checks as a batch process. My requirement is to print checks only once in a day,

Re: [Axapta-Knowledge-Village] Urgent : Record level security

2009-07-20 Thread Sumit Loya
Hi, For the first one, you can setup Record Level Security for each user group setup the RLS for the required tables and in the query specify the records that you want to be visible for each user groups. For second one, you may have to enable CreatedBy property on PO/SO and in the forms specify

Re: [Axapta-Knowledge-Village] Reports with asterisk (*) in AX2009

2009-07-16 Thread Sumit Loya
Hi, Those are SSRS Reports, you need to install reporting extensions and deploy them to use. Regards, Sumit On Thu, Jul 16, 2009 at 4:06 PM, AX Consultant ax.consult...@yahoo.comwrote: Hi All, In Ax2009, there are some reports in all modules with astrixs (*) and these reports are not

Re: [Axapta-Knowledge-Village] OutLook

2009-07-07 Thread Sumit Loya
Hi, Use datenull() method. Regards, Sumit On Wed, Jul 8, 2009 at 6:28 AM, Pooja . dyna.a...@yahoo.com wrote: Hi., How can I assign the null value to date field. this.recieveddate = null; it is giving an error; *Transdate is EDIT of recieveddate --

Re: [Axapta-Knowledge-Village] Gantt chart development in AX2009

2009-07-07 Thread Sumit Loya
Hi, Look at the links below. They may be of some help: http://www.mail-archive.com/axapta-knowledge-village@yahoogroups.com/msg14806.html http://www.eggheadcafe.com/software/aspnet/30802410/problems-with-ganttchart.aspx http://dynamicstechnical.blogspot.com/

Re: [Axapta-Knowledge-Village] AX Reporting Help...Passing criteria and 1 click printing?

2009-06-30 Thread Sumit Loya
Hi, Using Args you can pass the record to the report and add the field value as filter in the report. Also you can set the medium as printer by following code: element.printJobSettings().preferredTarget(PrintMedium::Printer); Regards, Sumit On Tue, Jun 30, 2009 at 8:00 PM, Girac

Re: [Axapta-Knowledge-Village] Purchase Requisition Workflow seems not working as per my requirement [2 Attachments]

2009-06-29 Thread Sumit Loya
Hi Navin, Attached screen shots should assist you in configuring workflows. Regards, Sumit On Mon, Jun 29, 2009 at 1:54 PM, manoj manoharan manoj19842...@yahoo.co.inwrote: Hi Navin, There are two steps in PR workflow. YOU HAVE TO GO TO DETAILS TAB AND sET THE CONDITION. WF

Re: [Axapta-Knowledge-Village] Re: Strange behaviour of AX

2009-06-29 Thread Sumit Loya
printing the id value of removed/un-available enum in AOT. Please check. Regards, KBS --- In Axapta-Knowledge-Village@yahoogroups.comAxapta-Knowledge-Village%40yahoogroups.com, Sumit Loya loya.su...@... wrote: Hi, What has happened is that the name of the Enum was changed so

Re: [Axapta-Knowledge-Village] Re: Strange behaviour of AX

2009-06-28 Thread Sumit Loya
in AX5.0 such as DEL_BMModuleParm, DEL_BMModuleTable, DEL_BMParm, DEL_BMTableSetup etc. Please clarify. Thanks Regards, Balasubramanian Kuamaran. --- In Axapta-Knowledge-Village@yahoogroups.comAxapta-Knowledge-Village%40yahoogroups.com, Sumit Loya loya.su...@... wrote: Hi, If you

Re: [Axapta-Knowledge-Village] Strange behaviour of AX [2 Attachments]

2009-06-26 Thread Sumit Loya
Hi, If you look at the properties of the field, you will notice that EnumType field is empty but it indicates that there is some enum attached. Looks like the Base Enum attached with the field has been deleted in AX 4.0. In AX 2009 the Enum Type has been changed to ABC. This code will work in

Re: [Axapta-Knowledge-Village] Re: 64 bit

2009-06-26 Thread Sumit Loya
Hi Craig, The problem of deploying enterprise portals using Manage Deployments is a known issue with 64 bit machines. Microsoft has come up with a tool called AxPortalUpdate.exe in AX 2009 SP1. You can use this utility to deploy EP and manage it from Sharepoint Central. Regards, Sumit On Fri,

Re: [Axapta-Knowledge-Village] Issue with dateNull() function.

2009-06-25 Thread Sumit Loya
Hi Santosh, Yes... It returns a null string. Looks like it has been designed to do so. Otherwise think what would be user's reaction if they saw 01/01/1900 on the forms instead of no value. Regards, Sumit On Thu, Jun 25, 2009 at 5:09 PM, Søren Ager s...@armstrongit.dk wrote: Den 25. juni

Re: [Axapta-Knowledge-Village] RecId Generation

2009-06-22 Thread Sumit Loya
Hi, Read this article... http://sumit-theaxfactor.spaces.live.com/blog/cns!596957786228C73F!212.entry It may answer some of your questions. Regards, Sumit On Tue, Jun 23, 2009 at 12:14 AM, tkbsmanian tkbsman...@yahoo.com wrote: Hi All, 1. How to fetch the next RecId value from the SQL

Re: [Axapta-Knowledge-Village] server side batch

2009-06-19 Thread Sumit Loya
Hi, This means that the method being invoked is specifically made to run on client and hence is not available for server side processing. You can try and make the class Run on property as Called from or Server. Regards, Sumit On Fri, Jun 19, 2009 at 5:50 AM, dgreatone123

Re: [Axapta-Knowledge-Village] OutLook

2009-06-17 Thread Sumit Loya
:* Sumit Loya loya.su...@gmail.com *To:* Axapta-Knowledge-Village@yahoogroups.com *Sent:* Tuesday, June 16, 2009 3:52:43 PM *Subject:* Re: [Axapta-Knowledge-Village] OutLook Hi, You want to integrate it through code or are you looking for setting up the standard outlook integration available in AX

Re: [Axapta-Knowledge-Village] color

2009-06-17 Thread Sumit Loya
Well I guess you cannot get the functionality like the way you have written in Modified method. This way it changes the background color only once and this will not persist. Also the form will not be reloaded to show the background color changes. You will have to write this code in the

Re: [Axapta-Knowledge-Village] Recurrence

2009-06-17 Thread Sumit Loya
Hi, What do you mean by Best Options??? Recurrences can be set for Batch jobs. Regards, Sumit On Wed, Jun 17, 2009 at 3:52 PM, Pooja . dyna.a...@yahoo.com wrote: Sorry to send so many emails, Is there any best options of the recurrence in ax 2009. I have to do it..,

Re: [Axapta-Knowledge-Village] (unknown)

2009-06-17 Thread Sumit Loya
Hi, void lookup() { Query query = new Query(); QueryBuildDataSource queryBuildDataSource; QueryBuildRange queryBuildRange; SysTableLookup sysTableLookup; TableId tableId; FieldId fieldId; ; tableId = tablename2id('myTable'); sysTableLookup.parmTableId(tableId);

Re: [Axapta-Knowledge-Village] Enum

2009-06-15 Thread Sumit Loya
Hi, This is possible in AX 2009 through class SysFormEnumComboBox. It is not possible in AX 4.0 but what you can do is, import this class in AX 4.0 and try and use it the way it is used in AX 2009. Regards, Sumit On Mon, Jun 15, 2009 at 3:10 PM, anand patil anandsp...@yahoo.co.in wrote:

Re: [Axapta-Knowledge-Village] color

2009-06-15 Thread Sumit Loya
Hi, You can override the displayOption method of the data source and specify the color criteria. A sample code is below. (Written on CustTable data source of the custTable form). public void displayOption(Common _record, FormRowDisplayOption _options) { ;

Re: [Axapta-Knowledge-Village] Vendor Invoice Discount Error [2 Attachments]

2009-05-29 Thread Sumit Loya
Hello Hasan, You need to setup following accounts if you want to accomodate the discount at the time of purchase invoice. If using cash discount code: Ensure that you setup the discount account for the cash disocount code from AP - Setup - Payment - Cash discounts form tab setup. Setup System

Re: [Axapta-Knowledge-Village] AIF error in AX 2009 -- File adapter unable to read file

2009-04-20 Thread Sumit Loya
Did you set the following local security option System objects: Default owner for objects created by members of the Administrators group This value by default is Administrators group. Change it to Object creator. Regards, Sumit On Mon, Apr 20, 2009 at 8:03 PM, MaryAnn Hand

Re: [Axapta-Knowledge-Village] Re: URGENT: OR condition in method.

2009-04-09 Thread Sumit Loya
Hi Khalil, Didnt notice that you need this OR in IF condition... Gave you the solution for select statements. Yes you can use or as shown by Santosh Regards, Sumit On Thu, Apr 9, 2009 at 12:02 PM, r_ssh ramamurthy.sant...@gmail.com wrote: Hi Khalil Rehman, Example: To add OR condition

Re: [Axapta-Knowledge-Village] Re: URGENT: OR condition in method.

2009-04-09 Thread Sumit Loya
Hi Khalil, Did you try this IF ( (ledgerJournalTable.JournalName == BPV) || (ledgerJournalTable.JournalName == VEN_INV) ) Note the number of paranthesis. Regards, Sumit On Thu, Apr 9, 2009 at 2:26 PM, Khalil Rehman khalilrehm...@hotmail.comwrote: *KHALIL UR REHMAN * Dear

Re: [Axapta-Knowledge-Village] How to return str[]?

2009-04-07 Thread Sumit Loya
Hi, I am not sure if this is a recommended way but you can try and use the CLR basic data types. Like a job that is shown below: static void xppCLRDataTypeInterOp(Args _args) { System.String[] retString; System.Int32netI; int len; int i; System.String [] getStringArray()

Re: [Axapta-Knowledge-Village] Ax 2009, problem with debugging batch jobs

2009-04-03 Thread Sumit Loya
Hi, One thing i know is that the user credentials with which you log into AX , debugger and AOS should be same to run debugger in Batch mode. enable Global breakpoints and also breakpoints in the .Net Business Connector. you should open the debugger before the breakpoint is hit. Regards, Sumit

Re: [Axapta-Knowledge-Village] Ax 2009, problem with debugging batch jobs

2009-04-03 Thread Sumit Loya
One more thing, if you are executing any code using RunAs, i guess you will not be able to do debugging... Regards, Sumit On Fri, Apr 3, 2009 at 3:02 PM, Sumit Loya loya.su...@gmail.com wrote: Hi, One thing i know is that the user credentials with which you log into AX , debugger and AOS

Re: [Axapta-Knowledge-Village] URGENT: Help Needed

2009-03-30 Thread Sumit Loya
HI, You can override the lookup method on the controls or datasource and write your own custom lookups for the same. Regards, Sumit On Mon, Mar 30, 2009 at 10:14 AM, pradeep itnal pradeepit...@yahoo.co.inwrote: Are they bound controls(Fields from a datasource)??? does nt seem like bound

Re: [Axapta-Knowledge-Village] Error: FormBuildGroupControl object does not have method 'columnSpace'

2009-03-30 Thread Sumit Loya
Try compiling the app once and then see if you face the same error. Regards, Sumit On Sun, Mar 29, 2009 at 12:25 PM, sivlogu sivl...@yahoo.com wrote: Hi there, I have installed Ax2009. While i am trying to access Parameter form from General ledger, i am getting the follwing error. Error

Re: [Axapta-Knowledge-Village] Replacing label file in AX3.0

2009-03-26 Thread Sumit Loya
Hi James, Note that there are .alc files as well (Axapta Label Comments). If you are translating .ald files I would say you also translate alc files as well. Regards, Sumit On Thu, Mar 26, 2009 at 5:23 PM, James Flavell djf1...@gmail.com wrote: Thanks Malcom I was not aware of the extra

Re: [Axapta-Knowledge-Village] AX 2009 Purchase requisition workflow

2009-03-26 Thread Sumit Loya
Hi, Check in the workflow history from PR -- Action Menu Button -- View history button. That can give you some idea. Also it is tutorial_WorkFlowProcessor and not tutorial_EventProcessor. Regards, Sumit On Wed, Mar 25, 2009 at 9:42 PM, Hernan Madariaga zorfo...@yahoo.com.mxwrote: Hi

Re: [Axapta-Knowledge-Village] Purchase Requisition documents

2009-03-19 Thread Sumit Loya
Hi, I am working on Purchase requisition workflow I configured one workflow and have following other setups Employee Setups *EmplId* *UserId* *Position* Empl1 User1 1001 Empl2 User2 1000 Position setups *Position Id* *Reference* *Reports to* 1000 Empl2 1001 Empl1 1000 I created a

Re: [Axapta-Knowledge-Village] Purchase Requisition documents

2009-03-19 Thread Sumit Loya
Hi all, No worries. Its done. I had not defined the different limits(like approval limit, spending limit etc.) for each position... that is why approval was not happening... Regards, Sumit On Thu, Mar 19, 2009 at 4:26 PM, Sumit Loya loya.su...@gmail.com wrote: Hi, I am working on Purchase

Re: [Axapta-Knowledge-Village] SysDataBaseLog error during upgrade

2009-03-17 Thread Sumit Loya
Yup did that as well... On Tue, Mar 17, 2009 at 6:24 PM, MaryAnn Hand maryann.h...@gmail.comwrote: I am also surprised that the table would revert back for former properties. After you set the property, did you compile and synchronize? On Mon, Mar 16, 2009 at 11:34 PM, Sumit Loya

Re: [Axapta-Knowledge-Village] Email alerts in Ax2009

2009-03-17 Thread Sumit Loya
Hi Anitha, You will have to setup *Administration à Setup à** E-mail parameters.* Here you will be setting the SMTP relay server, port user name and password. Then you will also have to run the *Administration à Periodic à E-mail processing à** batch* job for processing the outgoing emails

Re: [Axapta-Knowledge-Village] SysDataBaseLog error during upgrade

2009-03-16 Thread Sumit Loya
I suggest is a workaround anyway. On Fri, Mar 13, 2009 at 9:36 AM, Sumit Loya loya.su...@gmail.comloya.sumit%40gmail.com wrote: Hi All, I am working on upgrading a AX 4.0 SP2 application to AX 2009 SP1. While running Post synchronization in data upgrade I am encountering an error

Re: [Axapta-Knowledge-Village] SysDataBaseLog error during upgrade

2009-03-16 Thread Sumit Loya
to generate the RecIDs! You can write a job in the AX 2009 environment to read from ODBC connection to old database and write records to the new database. I suggest you use the appropriate AXtable class to do the record creation. On Mon, Mar 16, 2009 at 9:30 AM, Sumit Loya loya.su

[Axapta-Knowledge-Village] SysDataBaseLog error during upgrade

2009-03-13 Thread Sumit Loya
Hi All, I am working on upgrading a AX 4.0 SP2 application to AX 2009 SP1. While running Post synchronization in data upgrade I am encountering an error in job updateHRMVirtualNetworkTable. Here is the error from event viewer. Object Server 02: The database reported (session 6 (AnAg)):

Re: [Axapta-Knowledge-Village] Runbase reports and reports with dialog method

2009-03-12 Thread Sumit Loya
Hi, I can tell you two differences.. 1. If you run a report directly class RunBaseReportStd is used. This is a child class of RunBaseReport. But when we create any class for reports we derive it with RunBaseReport. 2. If you create a class you can have overloading of methods for the fields. I

Re: [Axapta-Knowledge-Village] sales orders after invoicing

2009-03-12 Thread Sumit Loya
Hi, In Accounts Receivable - Setup - Parameters - Update tab There is a setting Safety level of invoiced orders. If you set it to Locked users cannot change the order after it is invoiced. Regards, Sumit On Thu, Mar 12, 2009 at 1:21 PM, Steen Rabol sra...@mail.tele.dk wrote: Changing

Re: [Axapta-Knowledge-Village] Clr object is not initialized...

2009-03-05 Thread Sumit Loya
Hi, You will have to assert the permissions first using the InterOpPermission class and InteropKind as DLLInterop. Otherwise the class will not be initialized. Regards, Sumit On Thu, Mar 5, 2009 at 3:05 PM, anamika_singh.2001 anamika_singh.2...@yahoo.com wrote: Hi, How to resolve the

Re: [Axapta-Knowledge-Village] Re: Clr object is not initialized...

2009-03-05 Thread Sumit Loya
object is not initialized. Object 'CLRObject' could not be created. Can you know why this problem happens? and What would be the possible solution for this scenario? Thanks... --- In Axapta-Knowledge-Village@yahoogroups.comAxapta-Knowledge-Village%40yahoogroups.com, Sumit Loya loya.su

Re: [Axapta-Knowledge-Village] Security Settings

2009-03-05 Thread Sumit Loya
Hi, The permissions applicable will be the union of the permissions applicable to the two groups... Regards, Sumit On Fri, Mar 6, 2009 at 10:00 AM, Yadhav Krishnan k.yad...@yahoo.co.inwrote: Dear all Pls Help , Its urgent, Will the Usre permissions and Security settings apply properly

Re: [Axapta-Knowledge-Village] Mathmatical Expression in ax

2009-03-03 Thread Sumit Loya
Hi, You can create a method in Global class where it evaluates your expression and pass all the variable values as parameters... This way you can call this method anywhere in the application to get the value you desire... I hope this is what you are trying to achieve.. Regards, Sumit On Tue,

Re: [Axapta-Knowledge-Village] Axapta Report

2009-02-26 Thread Sumit Loya
Hi, Attached is a test report i guess this should help you... It is in AX 4.0 i do not have 3.0 on my personal system. Regards, Sumit On Thu, Feb 26, 2009 at 10:42 AM, maverick_clem...@yahoo.com wrote: Hi All, Sorry to trouble you, i am still beginner in axapta report (still Ax.3.0)

Re: [Axapta-Knowledge-Village] Setting Language in Ax

2009-02-23 Thread Sumit Loya
Hi Anitha, It should not create any problems in future or any point of time... regards, sumit On Tue, Feb 24, 2009 at 10:13 AM, Anitha E mail2eani...@gmail.com wrote: Hi all, Can we set language as en-in (English-India) while installing Ax- Indian Localization ??? Will it create any

Re: [Axapta-Knowledge-Village] Show Deleted SO PO

2009-02-22 Thread Sumit Loya
Hi, If you want to restore the deleted sales orders and purchase orders... you require small customization Here is the link for the same... http://sumit-theaxfactor.spaces.live.com/blog/cns!596957786228C73F!227.entry Hope this helps.. Regards, Sumit On Mon, Feb 23, 2009 at 11:25 AM, Khalil

Re: [Axapta-Knowledge-Village] How to delete, remove Financial Dimension

2009-02-19 Thread Sumit Loya
Hi, The link below contains all the objects that are affected when financial dimension is created, http://sumit-theaxfactor.spaces.live.com/blog/cns!596957786228C73F!125.entry You can look at them and see what code to remove. Hope this helps. Regards, Sumit On Thu, Feb 19, 2009 at 8:15 PM,

Re: [Axapta-Knowledge-Village] Need Help

2009-02-18 Thread Sumit Loya
Hi there, If you want to attach a number sequence to anyfield look at the link below. This should help you.. http://sumit-theaxfactor.spaces.live.com/blog/cns!596957786228C73F!124.entry Regards, Sumit On Wed, Feb 18, 2009 at 4:52 PM, MaryAnn Hand maryann.h...@gmail.comwrote: I am not sure

Re: [Axapta-Knowledge-Village] changing mouse pointer

2009-02-10 Thread Sumit Loya
Hi, Try using WinApi::SetCursor Method here is an example job static void Job1(Args _args) { #WinApi ; WinApi::setCursor(#IDC_APPSTARTING); } Regards, Sumit On Tue, Feb 10, 2009 at 3:24 PM, MaryAnn Hand maryann.h...@gmail.comwrote: Use a call to startLengthyOperation(); //

Re: [Axapta-Knowledge-Village] changing mouse pointer

2009-02-10 Thread Sumit Loya
Hi, This is even better implementation #WinApi *int hCursor = WinAPI::loadStdCursor(#IDC_CROSS); //Load the cursor required *; WinApi::setCursor(hCursor); //Set the cursor Regards, Sumit On Tue, Feb 10, 2009 at 4:09 PM, Sumit Loya loya.su...@gmail.com wrote: Hi, Try using

Re: [Axapta-Knowledge-Village] Re: Error while deploying report libraries in AX 2009

2009-02-04 Thread Sumit Loya
@yahoogroups.comAxapta-Knowledge-Village%40yahoogroups.com, Sumit Loya loya.su...@... wrote: Hi, Well i Guess i found the solution This is what i did. I copied AxReports.exe from Reporting Services folder to client\bin directory and run it from there. Fixed my problem. The deployment

Re: [Axapta-Knowledge-Village] Installation assembly with GAC

2009-02-02 Thread Sumit Loya
Hi, You will have to create an snk file (Strong name key file) and attach it with the dll and then try to depoly it to GAC. *Create snk file* ** Goto visual studio command prompt. *type sn -k pathnamefile.snk* this will create snk file. Now attach this file with the dll. Regards, Sumit On

Re: [Axapta-Knowledge-Village] Extracting data from Ax3.0 to Xml

2009-01-18 Thread Sumit Loya
Hi, Look at the following link... http://sumit-theaxfactor.spaces.live.com/blog/cns!596957786228C73F!157.entry This may be of some help to you. Regards, Sumit On Sat, Jan 17, 2009 at 11:33 PM, nanukuttan rinish rin_...@yahoo.co.inwrote: hi Gauri., thanks for the code and your help

[Axapta-Knowledge-Village] Error while deploying report libraries in AX 2009

2009-01-16 Thread Sumit Loya
Hi All, I have installed the reporting extensions and am now trying to deploy the report libraries. But i get following error while doing so *Attempted to read or write protected memory. This is often an indication that other memory is corrupt.* *The Deployment log can be found at D:\Documents

[Axapta-Knowledge-Village] Re: Error while deploying report libraries in AX 2009

2009-01-16 Thread Sumit Loya
Hi, Well i Guess i found the solution This is what i did. I copied AxReports.exe from Reporting Services folder to client\bin directory and run it from there. Fixed my problem. The deployment has started. Hope it succeeds..:) Regards, Sumit On Fri, Jan 16, 2009 at 3:08 PM, Sumit Loya loya.su

Re: [Axapta-Knowledge-Village] record count

2009-01-12 Thread Sumit Loya
Hi, Look at following job. This can be of some help static void recordCountGeneric(Args _args) { int64 getRecordCount(str _tname) { common common; SysDictTabledictTable = new SysDictTable(tableName2id(_tname)); ; common = dictTable.makeRecord();

Re: [Axapta-Knowledge-Village] Workflow installation error

2008-12-24 Thread Sumit Loya
for the Business Connector Proxy Account. There is something wrong with those credentials. The account must be an Active Directory account. It must be possible to connect to AX using that account from the machine where you are installing the workflow components. I hope this helps. On 12/23/08, Sumit

Re: [Axapta-Knowledge-Village] Workflow installation error

2008-12-24 Thread Sumit Loya
Hi Friends, I firgured it out. My AX 4.0 AOS was also running and hence it was not able to install. I stopped AX 4.0 AOS and installed the extension. Regards, Sumit On Wed, Dec 24, 2008 at 6:37 PM, Sumit Loya loya.su...@gmail.com wrote: Hi, The account is a Domain Admin account and is also

[Axapta-Knowledge-Village] Workflow installation error

2008-12-23 Thread Sumit Loya
Hi Friends, I am trying to install workflow components for AX 2009 and am encountering following error. Starting configuration of Workflow Entering method SetBCProxyAccountInAxapta The API input parameter is SGX06\WrkFlwAdmin. Entering method GetBusinessConnectorProxyAccount The API return

Re: [Axapta-Knowledge-Village] Re: AmountMST Properties settings in a report

2008-12-17 Thread Sumit Loya
Hi, If you are talking abt report control. Look at the property DisplaceNegative and make that to zero. Regards, Sumit On Wed, Dec 17, 2008 at 7:15 AM, John Remsberg johnremsb...@yahoo.comwrote: Thank you Subbu, I agree that modifying the EDT is wrong. I was looking at the report

Re: [Axapta-Knowledge-Village] AIF -Inbound

2008-12-03 Thread Sumit Loya
Hi, Every action that you enable for a particular document will have a specific schema that needs to be followed. Please make sure the field that is coming in XML is adhering to the XML schema. Regards, Sumit On Thu, Dec 4, 2008 at 9:57 AM, Lekshmi Pramod [EMAIL PROTECTED]wrote: Hi All

Re: [Axapta-Knowledge-Village] Best practice

2008-11-24 Thread Sumit Loya
Hi Syner, One suggestion here. You need not create two classes. The same class can be used for both batch operations and non-batch operations. If you want the task to run in batch then you just need to go to 'Batch' tab, select the 'Batch processing' check box and specify 'Batch group'. You can

Re: [Axapta-Knowledge-Village] Refresh Address Form

2008-11-19 Thread Sumit Loya
Hi Anitha, Try writing the code in Write method of the form after the super() call. The address table requires a reference table id and recid for making a relation with any other table. Reference tableid you will get but recids are generated while saving the record. So even if your code is

Re: [Axapta-Knowledge-Village] Restoration o Deleted Purchae Lines or Sales Order Lines (before or after invoicing)

2008-11-13 Thread Sumit Loya
Hi, Have a look at the link below. There is no http://sumit-theaxfactor.spaces.live.com/blog/cns!596957786228C73F!227.entry Regards, Sumit On Thu, Nov 13, 2008 at 12:52 AM, Anand Rathi [EMAIL PROTECTED] wrote: Hi, Currently Lines of the SO an PO can be deleted before or after invoicing

Re: [Axapta-Knowledge-Village] Re: AX2009 Batch Job error

2008-11-06 Thread Sumit Loya
Village at LINKEDIN ! http://www.linkedin.com/e/gis/165338 -- --- In Axapta-Knowledge-Village@yahoogroups.comAxapta-Knowledge-Village%40yahoogroups.com, Sumit Loya [EMAIL PROTECTED] wrote: Hi, You will have to run the batch

Re: [Axapta-Knowledge-Village] AIF - Generating Created Date and created By in EndPoint Action Policies

2008-11-06 Thread Sumit Loya
Hi, Create parm and set methods for the fields in the corresponding AxBC class and reconfigure Actions and endpoints. Regards, Sumit Loya On Thu, Nov 6, 2008 at 6:32 PM, Anitha E [EMAIL PROTECTED] wrote: Hi, while exporting XML,I am not able to generate the field CreatedDate whereas

Re: [Axapta-Knowledge-Village] Regarding Permissions

2008-11-02 Thread Sumit Loya
Hi Jackie, You can setup record level security from Administration - Setup - Securtiy - Record level securtiy. Regards, Sumit On Sun, Nov 2, 2008 at 6:08 PM, Jackie Bond [EMAIL PROTECTED] wrote: Dear All, Is this possible to set security on record level, what i want is that User A shud

Re: [Axapta-Knowledge-Village] Copy X of Y on print outs

2008-10-22 Thread Sumit Loya
Hi James, There are two methods element.copy() and element.copiesTotal() that you can use similar to page and pagesTotal method that you use for Page 1 of 3 format. Hope this helps. Regards, Sumit On Wed, Oct 22, 2008 at 10:42 AM, James Flavell [EMAIL PROTECTED] wrote: Hi everyone, In

Re: [Axapta-Knowledge-Village] How to retrieve the number of lines of code ?

2008-09-29 Thread Sumit Loya
Hi, Another solution for finding number of lines is as follows: static void methodLines(Args _args) { #AOT TreeNodenode; SysScannerClass ssc; ; node = infolog.findNode(#TablesPath + '\\CustTable\\Methods\\find'); if (node) { ssc = new

Re: [Axapta-Knowledge-Village] Recid

2008-09-17 Thread Sumit Loya
Hi, You can have a look in the below mentioned link. http://sumit-theaxfactor.spaces.live.com/blog/cns!596957786228C73F!212.entry Regards, Sumit On Wed, Sep 17, 2008 at 7:34 AM, naveed ali [EMAIL PROTECTED]wrote: Hi, I need recid for salestable,salesline inventtrans

Re: [Axapta-Knowledge-Village] Re: Ax Report Query in 4.0

2008-09-15 Thread Sumit Loya
@yahoogroups.comAxapta-Knowledge-Village%40yahoogroups.com, Sumit Loya [EMAIL PROTECTED] wrote: Hi Nitin, Attached with this mail is a sample report depicting how to use a sum control. You actually need not write any display method for sum control. Regards, Sumit On Thu, Sep

Re: [Axapta-Knowledge-Village] Re: Ax Report Query in 4.0

2008-09-12 Thread Sumit Loya
@yahoogroups.comAxapta-Knowledge-Village%40yahoogroups.com, Sumit Loya [EMAIL PROTECTED] wrote: Hi, First of please note that the automatic sum function works only on the AutoDesignSpecs design node and not in the 'GeneratedDesign' node. Secondly once you enable SumAll for a field you also need

Re: [Axapta-Knowledge-Village] Re: How to protect code in Axapta???

2008-09-12 Thread Sumit Loya
Hi, Here is one such link http://www.nextinnovation.com/framework.asp?page=codescrambler Regards, Sumit On Thu, Sep 11, 2008 at 1:48 PM, jazib.abdulah [EMAIL PROTECTED]wrote: Thanks Samit It was very helpfull. Although I yet could not find the scrambler tool over net. If you could give

Re: [Axapta-Knowledge-Village] Ax Report Query in 4.0

2008-09-11 Thread Sumit Loya
Hi, First of please note that the automatic sum function works only on the AutoDesignSpecs design node and not in the 'GeneratedDesign' node. Secondly once you enable SumAll for a field you also need to enable Grand Total property of the AutoDesignSpecs node. For Generated design node you can

Re: [Axapta-Knowledge-Village] Axapta drawings on network folder

2008-09-10 Thread Sumit Loya
Hi, As far as work orders and BOMs is concerned you can export them to excel or generate an XML for the same to send the data... but how do you keep drawings in the AX do u use document management for the same... Hope i have understood your requirement correctly... Regards, Sumit On Wed, Sep

Re: [Axapta-Knowledge-Village] How to protect code in Axapta???

2008-09-09 Thread Sumit Loya
Hi, Yes there exists a code scrambler tool for hiding the code but that is a paid service you can search for it on the google. Anyways there are possibilites where you can create your own tool.. but that will require some time to do... Regards, Sumit On Tue, Sep 9, 2008 at 11:15 AM, Steve

Re: [Axapta-Knowledge-Village] User Rights.

2008-09-09 Thread Sumit Loya
Hi, If a user belongs to more than one group then the union of permissions on these groups will be applied to the user. Regards, Sumit On Mon, Sep 8, 2008 at 5:36 PM, Yadhav Krishnan [EMAIL PROTECTED]wrote: Hi Friends I have a query in User Rights. I have a user in Multi- Functional

Re: [Axapta-Knowledge-Village] masking functionality

2008-09-09 Thread Sumit Loya
Hi, If you are talking about project group mask property in the project nodes... then it is used to filter out the objects that contains the mask that you specify... Regards, Sumit On Mon, Sep 8, 2008 at 6:39 PM, Shabbir Sadiq Ali [EMAIL PROTECTED]wrote: Hi, has anyone worked on or seen

Re: [Axapta-Knowledge-Village] Number sequence problem

2008-09-05 Thread Sumit Loya
Hi, I am not sure what cud be the reason but one behaviour of number sequences i know is that when ever a number sequences is freed or cleaned it is sent to Number sequence list (can be viewed from Basic - setup - Number sequences - Number sequences - List button) and next time when you create a

Re: [Axapta-Knowledge-Village] Customized Form Rights

2008-09-04 Thread Sumit Loya
You will have to create a security key and assign to menu items and underlying tables for assigning user rights. Regards, Sumit On Wed, Sep 3, 2008 at 4:33 PM, Zarar Mahmood [EMAIL PROTECTED]wrote: I developed a new form, and calling independently from the menu, how can i assign user rights

Re: [Axapta-Knowledge-Village] New Topic

2008-09-01 Thread Sumit Loya
You can use following QueryBuildRange criteria1, criteria2; criteria2 = this.query().dataSourceTable(tablenum(Table1)).addRange(fieldnum(Table1,field2)); criteria2.value(strfmt('%1', queryValue(value2))); and so on Remember that the conditions will be added with and operator that is statement

Re: [Axapta-Knowledge-Village] XML file parsing

2008-08-28 Thread Sumit Loya
Hi James, you can start by looking at class AxdXmlReader (it internally uses XmlTextReader class). There are many classes available for XML parsing like XMLTextReader, XMLReader and XmlDocument. AxdXmlReader has been specifically created for reading the XML documents that come through AIF. For

Re: [Axapta-Knowledge-Village] Creating one item dimension

2008-08-26 Thread Sumit Loya
Hi, Creating a new inventory dimension is not an easy task. It requires modifications at lots of places and to lots of objects. You can get some help from following link. http://sumit-theaxfactor.spaces.live.com/blog/cns!596957786228C73F!194.entry This is just the starting point and basic

Re: [Axapta-Knowledge-Village] Need Help

2008-08-19 Thread Sumit Loya
Hi, If you are talking abt.. the 'Account name' and 'Offset account name' fields then know that the data for these controls is coming from display methods and not from any field in a table so you will be anyways not able to edit them. Let me know if thats not the case. Regards, Sumit On Tue,

Re: [Axapta-Knowledge-Village] Need Help

2008-08-19 Thread Sumit Loya
when I will create line for the payment … *From:* Axapta-Knowledge-Village@yahoogroups.com [mailto: [EMAIL PROTECTED] *On Behalf Of *Sumit Loya *Sent:* Tuesday, August 19, 2008 11:12 AM *To:* Axapta-Knowledge-Village@yahoogroups.com *Subject:* Re: [Axapta-Knowledge-Village] Need Help Hi

Re: [Axapta-Knowledge-Village] Re: Hiding Code

2008-08-14 Thread Sumit Loya
Hi, Yes there exists a code scrambler tool for hiding the code but that is a paid service. Anyways there are possibilites where you can create your own tool.. but that will require some time to do... Regards, Sumit On 8/14/08, Not At My Desk [EMAIL PROTECTED] wrote: oops! replied to

  1   2   >