Re: [Axapta-Knowledge-Village] Question on X++ Basics

2010-05-28 Thread Pankaj Gupta
Like any other OO Laungauage X++ also follows all principles of object oriented programming. Every form is an instance of FORMRUN class which is restricted by a keyword FINAL which means it cannot be inherited further.. So it cant form a new instance every time when u create a new form by its name,

Re: [Axapta-Knowledge-Village] Identifying Thread Id

2010-04-17 Thread Pankaj Gupta
Hi Ashish, Just ensure the following points holds true in your case : 1) Provide Interop persmission to *assert *in your code.and making sure reverting back appropriately. 2) Double check if you are not running any mail sending code in *client static *methods. Code running in batches does not ge

Re: [Axapta-Knowledge-Village] Reading pdf in Ax?

2010-04-17 Thread Pankaj Gupta
Adding to this reply : Document handling in Ax allows you to attach almost any type of document to your record. Even PDFs in your case. Try fiddle around it from Basic > Setup >document handling and define the type of document you want to attach, you can even specify the maximum size of your PDF fi

Re: [Axapta-Knowledge-Village] AIF outbound acknowledgement

2010-02-20 Thread Pankaj Gupta
Ax does not give you the functionality to receive an aknowlegement on outbound process because once the xml is out of the queue, its out of Ax scope and now its your third party integration s.w job to receive this file process it and send acknowledge back to Ax. We did a same thing for our client w

[Axapta-Knowledge-Village] Re: Calling SP through Ax2009

2009-03-16 Thread Pankaj Gupta
Siti , There are few things which accually I noted down and managed to solve the problem: 1) The responsible class should have the run on property on server. 2) The DB should have the execute permission. You may go to SQL and try to run the stored procedure from there to check if it has all right

[Axapta-Knowledge-Village] Packing slip update thru AIF

2009-03-15 Thread Pankaj Gupta
Hi guys, Has anyone tried to update the packing slip SO/ PO thru AIF? There is packing slip update service availbale but i could find the exact procedure to update it..an sample xml/document would be great help! I trying with file system adapter the most easiest one. -- Pankaj --

Re: [Axapta-Knowledge-Village] Calling SQL Statement thru Axapta

2009-03-12 Thread Pankaj Gupta
m > Date: Wednesday, March 4, 2009, 1:00 PM > > Hi Pankaj, > >Try to do this by using a class and Set the runon property of the > class to Server. > > Regards, > Mukesh > > On Thu, Feb 19, 2009 at 5:44 PM, Pankaj Gupta com<http://mc/compose?to=pgupt...

[Axapta-Knowledge-Village] Calling SQL Statement thru Axapta

2009-02-19 Thread Pankaj Gupta
Hi Guys! There is one requirement where i need to call a stored procedure of SQL Database (SQL Server 2005) from Ax2009. I have copied my requirment to simplest example below: During the execution of code it throws these errors Request for the permission of type 'SqlStatementExecutePermission' fa

Re: [Axapta-Knowledge-Village] Re: Customer Aging Report.

2009-02-05 Thread Pankaj Gupta
Ahalil, I good easier substitue is also availbale for cust ageging report, which very less people know in Ax. Go to Customers> Balace button > Balance > Agening Buckets . Use the selection criteria which is actually runs on the setup AR-> Setup-> Statistics-> Aging Bucket and choose the Transacti

[Axapta-Knowledge-Village] Take a look at my Facebook Profile

2009-01-15 Thread Pankaj Gupta
Hi Axapta-Knowledge-Village, I set up a Facebook Profile where I can post my pictures, videos and events and I want to add you as a friend so you can see it. First, you need to join Facebook! Once you join, you can also create your own profile. Thanks, Pankaj To join Facebook, please use the l

Re: [Axapta-Knowledge-Village] MS word features in AXapta

2008-08-12 Thread Pankaj Gupta
Also this can done dynamically at the code level , Change the field property to 'AutoDeclaration" to yes this way you can access all its property at code...and there you go Addr_Name.font('Arial'); Addr_Name.bold(10); On 8/12/08, Deepankar Sahdev <[EMAIL PROTECTED]> wrote: > >Hi

[Axapta-Knowledge-Village] Help regarding business connector

2008-04-24 Thread Pankaj Gupta
HI.. M trying to connect business connector to Visual studio 2005 to access some axapta functionality. I m using 3.0 V with some help from MSDN... *I have written this simple method in webservice and registerd the Axapta COM connector to VStudio. I have one configuration with name " Ladelle_SP3

[Axapta-Knowledge-Village] Problem on storing a file on network

2008-03-13 Thread Pankaj Gupta
Hi. I have a requirement where I need to store a text file on client's computer which is on same network, I m using AsciiIo class for creating and storing the data, its runs fine on 3.0 but in Ax 4.0 as soon as code goes creating a new instance of class new AsciiIo it throws a stacktrace error. M a

Re: [Axapta-Knowledge-Village] Args

2008-01-23 Thread Pankaj Gupta
One way of doing this extend ur report to runbase report class and filter the report query according to sales quotation. explain ur problem more if this does not work. On Jan 11, 2008 12:16 PM, Aji Sarosa <[EMAIL PROTECTED]> wrote: > Hi Paulina, > > Perhaps you can tell me more about: > - How

Re: [Axapta-Knowledge-Village] Report Footer

2008-01-23 Thread Pankaj Gupta
You should use EPILOG section instead of Footer :) On Jan 22, 2008 12:45 AM, V G <[EMAIL PROTECTED]> wrote: > Hi > I have a report wherein some text (like conditions of sales) are to be put > at the end of the report. Also it should be at the bottom of the page just > like page footer. > SO if

Re: [Axapta-Knowledge-Village] Reg - Group by Clause

2008-01-23 Thread Pankaj Gupta
Try to put your fields on which you want to group ur records in sorting section of datasource and change property autoheader YES. On Jan 23, 2008 3:15 PM, knee_soft <[EMAIL PROTECTED]> wrote: > Hi all, > > How to use the Group by clause in Reports. The Scenario is i > want to print the report

Re: [Axapta-Knowledge-Village] Re: Checking of Field Names and Field Types

2007-09-13 Thread Pankaj Gupta
dicttableEmpl= new DictTable(empltable.TableId); fieldcntempl = dicttableEmpl.fieldCnt(); for (i = 1; i <= fieldcntempl; i++) { fieldidEmp = dicttableEmpl.fieldCnt2Id(i); reqFieldName = dicttableEmpl.fieldName(fieldidEmpl);

Re: [Axapta-Knowledge-Village] OLAP ERROR

2007-09-09 Thread Pankaj Gupta
Please go and install the sql server on the client also. anshul On 8/24/07, navneet kaur <[EMAIL PROTECTED]> wrote: > > Hi All , > > I have configured the Sql server for Olap reporting . > At my server end i am able to create , process and view the cubes but when > i access the > cubes from th

Re: [Axapta-Knowledge-Village] Hall

2007-08-18 Thread Pankaj Gupta
If you get this please do let me know also. On 8/8/07, anjibabu padamata <[EMAIL PROTECTED]> wrote: > > Dear Ricardo > I am preparing for Axapata 4.0 Financial module. Mb6-507 certification > exam. I need your guidence and help for preparing the exam. If you can help > us with any dumps for exam

Re: [Axapta-Knowledge-Village] Lookup

2007-05-18 Thread Pankaj Gupta
sysTableLookup.addLookupfield(fieldnum(ITL_AdminClubMembershipRequisition, emplid)); queryBuildDataSource =query.addDataSource (tablenum(ITL_AdminClubMembershipRequisition)); queryBuildDataSource.orderMode(OrderMode::GROUPBY); queryBuildDataSource.addSortField(fieldNum(I

Re: [Axapta-Knowledge-Village] Refresh Or Execute of Data Source?

2007-05-03 Thread Pankaj Gupta
Hi, Nitesh Thanks for your help,, but I am little confuse here, you can create an object of class, table, and of an EDT but how can you create an object of a form?, can you help me in detail,? may be with a piece of some code,,m sounding foolish but m new in Axapta! Regards, On 4/30/07, Nitesh R

Re: [Axapta-Knowledge-Village] Multi line Error

2007-04-30 Thread Pankaj Gupta
I would suggest you to use the StringEditText control without pressing the enterkey, as it would take the enter key with its code..Also, in order to show the multiline data on a report of a text field,,,change the control's dynamic length property to "yes", it will accomodate the extra text in next

Re: [Axapta-Knowledge-Village] Number Series

2007-04-30 Thread Pankaj Gupta
Yes,, you can use the same no . seq across different companies with or without same pattern,,you just have to go to number seq table in basic module and create a new set up for your company,,,and add this set up to your number seq reference,,, try this out! Pankaj. On 4/28/07, Dynamics Freak <[E

Re: [Axapta-Knowledge-Village] Help me out!

2007-01-29 Thread Pankaj Gupta
Thanks! Brandon. Will try this for sure On 1/26/07, Brandon George <[EMAIL PROTECTED]> wrote: > > I have never tried this before, but you might be able to build a query > from a query. So for example: > > Query1 = Order By DataSet > > Query2 = Built from Query 1, Group by the DataSet > >