[development-axapta] Re: How to know current user group in AX

2010-10-25 Thread Arijit Basu
You get the current user in AX. Now the user may belong to one or more
groups. Query the user-group relations and find out...

Arijit Basu

On Thu, Oct 21, 2010 at 5:13 AM, SUNEEL BABU  wrote:

>
> How to know current user group in AX?
>
> *Regards.,*
> *Suneel*
>
>
>


[Non-text portions of this message have been removed]



[development-axapta] Re: Regarding Purchase Requisition work flow

2009-11-02 Thread Arijit Basu
Have u configured the workflow? Check the workflow history for details.

On 10/29/09, SUNEEL BABU  wrote:
>
> Hi.,
>
>  I configured workflow for purchase requisition with 3 user groups
> (PREmpl,PRAppr,PRCompl). I create and submit a purchase requition. But that
> requition was not processing. I can submit only. I didt find that
> requisition in any user for approval. for this is anything to do?
>
>
>
> Regards.,
>
> Suneel
>   
> _
> Windows 7: Simplify what you do everyday. Find the right PC for you.
> http://windows.microsoft.com/shop

-- 
Sent from my mobile device



Arijit Basu


[development-axapta] Re: WorkFlow error

2009-10-27 Thread Arijit Basu
Hi Suneel,
  You need to set Directory Browsing in the IIS Server. I guess you are on
Windows 2008.
ANyways do not worry. Just ensure that the Workflow URL is validated from
AX.
Regards,
Arijit

On Tue, Oct 27, 2009 at 4:22 PM, SUNEEL BABU  wrote:

> Dear All.,
>  I installed workflow in server. When i try to browse the workflow
> url (http://srvep/MicrosoftDynamicsAXWorkflow50/) it shows the following
> error: can anyone tell why i am getting this error ASAP.
>
> *"Viewing the contents of directory denied
> The display content is not allowed for this virtual directory"*
>
> --
> New Windows 7: Find the right PC for you. Learn 
> more.<http://windows.microsoft.com/shop>
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] WorkFlow

2007-06-12 Thread Arijit Basu
Hi,
  Can you tell me what version of AX you are using? AX does NOT (as of now)
have a default workflow module. You need to either customize it or purchase
a 3rd Party module.

Arijit

On 6/10/07, matter <[EMAIL PROTECTED]> wrote:
>
>   Dear All
> I need to implement workflow system in my Company without purchase any
> additional software and we have Axapta as ERP system do you have any idea
> how to use Axapta as workflow system and we also don't have business
> management module in Axapta
> Best Regards
>
> -
> Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's
> on, when.
>
> [Non-text portions of this message have been removed]
>
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] Encrypt code

2007-05-29 Thread Arijit Basu
Hi Gonzalo,
  Check this out
http://www.nextinnovation.com/framework.asp?page=codescrambler

Its called Code Scrambler

Cheers

Arijit Basu
MVP | Dynamics AX
http://daxguy.blogspot.com/

On 5/26/07, gonzalo_edo <[EMAIL PROTECTED]> wrote:
>
>   Hi all...
>
> Any one know how to encrypt code in AX, I've made some modules in Var
> layer but I want to encrypt 'em in order to not be available to be
> viewed or edited.
>
> Hope can help me...
>
> Regards,
>
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] can you customize icon for new menus on main menu

2007-05-21 Thread Arijit Basu
Hi Mary,
   Its easy. Lets say u have created a new menu named "MARYmenu". Click on
the property sheet for this menu and fill up the normal resource property.
Now to find out what pix u want, see the resources in the
form\tutorial_Resources

Cheers

Arijit Basu
http://daxguy.blogspot.com/

On 5/16/07, MaryAnn Hand <[EMAIL PROTECTED]> wrote:
>
>   In AX4, the main menu has icons for each module. If you add a new
> entry to the main menu, can you also add a unique icon for it?
>
> If so, how do you do it?
> Mary Ann
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] AX4 - no more ability to set locking property on an object?

2007-05-21 Thread Arijit Basu
Hi Mary,
  Its now linked to VSS :). For more info see my post
http://daxguy.blogspot.com/2007/03/version-control-system-setup-for-dax-40.html

Cheers

Arijit Basu
http://daxguy.blogspot.com/

On 5/16/07, MaryAnn Hand <[EMAIL PROTECTED]> wrote:
>
>   In Axapta 3.0, you could lock objects you are working on. In AX4,
> this does not seem possible. Is it? And I just cannot see how? Is
> it now linked to Source Control integration?
>
> Mary Ann
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] Business Connector

2007-05-10 Thread Arijit Basu
Hi Daniel,
   Have you referenced the AX .NET Business Connector in Visual Studio?

On 5/9/07, Daniel Selles <[EMAIL PROTECTED]> wrote:
>
>   Hi Arijit,
>
> When I execute this statement below the error occurs because I can`t use
> the logon or logonAs statement. I have tried many things, change user who
> logon on AX, type another user different, etc. I seems that any thing is not
> installed correctly in my CPU.
>
> AX.Logon(null, null, null, null);
>
> Thank you,
>
> Daniel Selles | Dynamics Ax Developer | Systems Advisers Group Brazil
>
> Tel: +55 11 3345 5001 Fax: +55 11 5103 0255
> Mob: +55 16 8117 7954 Web: www.systemsadvisers.com/brazil
>
> Systems Advisers Group: We provide global solutions and services around
> Microsoft Dynamics AX, Microsoft Dynamics GP and SunSystems. As one of the
> fastest growing Microsoft Dynamics partners globally we are currently 1 of
> only3 global "power vendors" to Microsoft for Microsoft Dynamics services.
> With experience in global implementations in over 47 countries, the group
> has Centres of Excellence in Asia Pac., Europe and Latin America for
> onshore-offshore capabilities to suit the needs of your organisation.
>
> Offices in: Belgium | Brazil | France | Germany | India | The Netherlands
> | UAE | United Kingdom | USA
>
> For more information visit us at www.systemsadvisers.com <
> http://www.systemsadvisers.com/> or write [EMAIL 
> PROTECTED] [EMAIL PROTECTED] >
>
> 
>
> De: 
> development-axapta@yahoogroups.comem 
> nome de Arijit Basu
> Enviada: qua 9/5/2007 05:19
> Para: development-axapta@yahoogroups.com
> Assunto: Re: [development-axapta] Business Connector
>
>
> Hi,
> It looks like Authentication Error.In your code, you have loggedon as
> Current Windows Account. Is that configured as a user in AX? Try using the
> LogonAs() method. I have created a C# code which logs on to AX. See the
> code. Its workin fine.
>
> Axapta AX = new Axapta();
> try
> {
> AX.Logon(null, null, null, null);
> {
> Object AXVersion,AXPOToday,AXPOTodayValue;
> Object AXPOLastWeek, AXPOLastWeekValue;
> String VendAccountNumberField = "AccountNum";
> Object VendAccountNum;
> String VendNameField = "Name";
> Object VendName;
> String VendCurrencyField = "Currency";
> Object VendCurrencyNum;
> String VendEMailField = "EMail";
> Object VendEMailNum;
>
> //Top Purchase Order Group which fetches PO Details
> groupAXVersion.Visible = true;
> AXVersion = AX.CallStaticClassMethod
> ("AXPurchStatistics","ApplicationVersion");
> textAXVersion.Text = AXVersion.ToString();
> AXPOToday = AX.CallStaticClassMethod("AXPurchStatistics",
> "PORaisedToday");
> textPOGeneratedToday.Text = AXPOToday.ToString();
> AXPOTodayValue =
> AX.CallStaticClassMethod("AXPurchStatistics",
> "PORaisedTodayValue");
> textPOGeneratedTodayValue.Text = AXPOTodayValue.ToString
> ();
> AXPOLastWeek =
> AX.CallStaticClassMethod("AXPurchStatistics",
> "PORaisedLastWeek");
> textPOGeneratedLastWeek.Text = AXPOLastWeek.ToString();
> AXPOLastWeekValue =
> AX.CallStaticClassMethod("AXPurchStatistics",
> "PORaisedLastWeekValue");
> textPOGeneratedLastWeekValue.Text =
> AXPOLastWeekValue.ToString();
> //Lists vendors in the List Control
> AxaptaRecord AXRecord = AX.CreateAxaptaRecord
> ("VendTable");
> AXRecord.ExecuteStmt("Select * from %1 ");
> while (AXRecord.Found)
> {
> VendAccountNum = AXRecord.get_Field
> (VendAccountNumberField);
> VendName = AXRecord.get_Field(VendNameField);
> VendCurrencyNum = AXRecord.get_Field
> (VendCurrencyField);
> VendEMailNum = AXRecord.get_Field(VendEMailField);
> //Console.WriteLine(VendName);
> listVendors.Items.Add(VendAccountNum + " \t"
> +VendName+ " - " + VendCurrencyNum + " - " + VendEMailNum);
> AXRecord.Next();
> }
> AXRecord.Dispose();
>
> }
> groupPurchaseOrder.Show();
> listVendors.Show();
> label7.Show();
>
> }
> catch (Exception)
> {
> MessageBox.Show("Login failed due to unknown error");
> }
> AX.Logoff();
> }
>
> Arijit Basu
>
> On 5/9/07, Daniel Selles <[EMAIL 
> PROTECTED] DanielS% 40systemsadvisers.com> > wrote:
> >
> > Hi all,
> >
> > I'm trying to use the Business Connector to execute my class. I've
> created
> > a dll to call on sql 2005 assembly. But my C# class can't access the
> axapta
> > and give the follow error message on the Ax. Logon statment:
> >
> > My class:
> &

Re: [development-axapta] Business Connector

2007-05-09 Thread Arijit Basu
Hi,
   It looks like Authentication Error.In your code, you have loggedon as
Current Windows Account. Is that configured as a user in AX? Try using the
LogonAs() method. I have created a C# code which logs on to AX. See the
code. Its workin fine.



Axapta AX = new Axapta();
try
{
AX.Logon(null, null, null, null);
{
Object  AXVersion,AXPOToday,AXPOTodayValue;
Object  AXPOLastWeek, AXPOLastWeekValue;
String  VendAccountNumberField = "AccountNum";
Object  VendAccountNum;
String  VendNameField = "Name";
Object  VendName;
String  VendCurrencyField = "Currency";
Object  VendCurrencyNum;
String  VendEMailField = "EMail";
Object  VendEMailNum;

//Top Purchase Order Group which fetches PO Details
groupAXVersion.Visible = true;
AXVersion = AX.CallStaticClassMethod
("AXPurchStatistics","ApplicationVersion");
textAXVersion.Text = AXVersion.ToString();
AXPOToday = AX.CallStaticClassMethod("AXPurchStatistics",
"PORaisedToday");
textPOGeneratedToday.Text = AXPOToday.ToString();
AXPOTodayValue =
AX.CallStaticClassMethod("AXPurchStatistics",
"PORaisedTodayValue");
textPOGeneratedTodayValue.Text = AXPOTodayValue.ToString
();
AXPOLastWeek =
AX.CallStaticClassMethod("AXPurchStatistics",
"PORaisedLastWeek");
textPOGeneratedLastWeek.Text = AXPOLastWeek.ToString();
AXPOLastWeekValue =
AX.CallStaticClassMethod("AXPurchStatistics",
"PORaisedLastWeekValue");
textPOGeneratedLastWeekValue.Text =
AXPOLastWeekValue.ToString();
//Lists vendors in the List Control
AxaptaRecord AXRecord = AX.CreateAxaptaRecord
("VendTable");
AXRecord.ExecuteStmt("Select * from %1 ");
while (AXRecord.Found)
{
VendAccountNum = AXRecord.get_Field
(VendAccountNumberField);
VendName = AXRecord.get_Field(VendNameField);
VendCurrencyNum = AXRecord.get_Field
(VendCurrencyField);
VendEMailNum = AXRecord.get_Field(VendEMailField);
//Console.WriteLine(VendName);
listVendors.Items.Add(VendAccountNum + " \t"
+VendName+ "  -  " + VendCurrencyNum + "  -  " + VendEMailNum);
AXRecord.Next();
}
AXRecord.Dispose();

}
groupPurchaseOrder.Show();
listVendors.Show();
label7.Show();

}
catch (Exception)
{
MessageBox.Show("Login failed due to unknown error");
}
AX.Logoff();
}

Arijit Basu

On 5/9/07, Daniel Selles <[EMAIL PROTECTED]> wrote:
>
>   Hi all,
>
> I'm trying to use the Business Connector to execute my class. I've created
> a dll to call on sql 2005 assembly. But my C# class can't access the axapta
> and give the follow error message on the Ax. Logon statment:
>
> My class:
> public void Run(string IdIntranet, string Modulo)
>
> {
>
> Axapta ax;
>
> ax = new Axapta();
>
> ax.Logon(null, null, null, null);
>
> ax.CallStaticClassMethod("GsInsereDiario_FundoFixo", "Run", "IdIntranet",
> "Modulo");
>
> ax.Logoff();
>
> }
>
> Error Message:
> Microsoft.Dynamics.BusinessConnectorNet.LogonFailedException:
>
> at Microsoft.Dynamics.BusinessConnectorNet.Axapta.Logon(BC_PROXY_ACCOUNT_INFO*
> pBCProxyAccountInfo, String company, String language, String objectServer,
> String configuration)
>
> at Microsoft.Dynamics.BusinessConnectorNet.Axapta.Logon(String company,
> String language, String objectServer, String configuration)
>
> at ClassFundoFixo.FundoFixo.Run(String IdIntranet, String Modulo) in
> C:\Documents and Settings\deselles\My Documents\Visual Studio
> 2005\Projects\ClassLibrary1\ClassLibrary1\ClassFundoFixo.cs:line 20
>
> at TesteFundoFixo.Form1.button1_Click(Object sender, EventArgs e) in
> C:\Documents and Settings\deselles\My Documents\Visual Studio
> 2005\Projects\TesteFundoFixo\TesteFundoFixo\Form1.cs:line 25
>
> Thanks in advance,
>
> Daniel Selles | Dynamics Ax Developer | Systems Advisers Group Brazil
>
> Tel: +55 11 3345 5001 F

Re: [development-axapta] Re: Batch process

2007-04-24 Thread Arijit Basu
Hi VG,
   See this XPO


On 4/24/07, touseef_zafar <[EMAIL PROTECTED]> wrote:
>
>   Hi VG,
>
> its quite easy, create a new class that extends RunBaseBatch. by doing
> so you would be able to get full standard functinality of batch
> processing. then you can set the timming when you want to run the code.
> ther is sample class in AX call Toturial_runbasebatch.
>
> i hope this will help,
>
> Thanks
> Touseef
>
> --- In 
> development-axapta@yahoogroups.com,
> "V G" <[EMAIL PROTECTED]>
> wrote:
> >
> > Hi
> > I have a requirement where I need to run a piece of code
> automatically at a
> > given time at night.
> > How can I do this.
> > Thanks
> > VG
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] how to install axapta

2007-04-24 Thread Arijit Basu
Hi Mohan,
   R u installing AX 4.01? If so then you must use the installation wizard
and choose "single Computer Installation." The following components will be
installed (AOS, File Server, Database Server n Client).

On 4/23/07, mohan giri <[EMAIL PROTECTED]> wrote:
>
>   hi Basu
> Thanks for this hyperlink
> i got the book thru this hyperlink but there is no
> snapshot of installation because thru snapshot you can
> understand easily
> and i installed server and clint in same machine but
> unable to run the program
> if there is any alternative please inform me about it
>
> thanks
>
> mohan
>
> --- Arijit Basu <[EMAIL PROTECTED] > wrote:
>
> > Hi Mohan,
> > Download this file
> >
>
> http://www.microsoft.com/downloads/details.aspx?FamilyID=436cf64c-cd15-4121-a21b-bfef09b9906a&displaylang=en
> > Hopefully your queries will be resolved
> >
> > Arijit Basu
> >
> > On 4/21/07, mohangiri <[EMAIL PROTECTED] >
> wrote:
> > >
> > > hi
> > > i want to install axapta in xp with sp2
> > > but unable to run axapta please give me
> > information step by step
> > > for installation
> > >
> > > thanks in advance
> > >
> > > mohan
> > >
> > >
> > >
> >
> >
> >
> > --
> >
> >
> > Arijit Basu
> >
> >
> > [Non-text portions of this message have been
> > removed]
> >
> >
>
> __
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] how to install axapta

2007-04-23 Thread Arijit Basu
Hi Mohan,
   Download this file
http://www.microsoft.com/downloads/details.aspx?FamilyID=436cf64c-cd15-4121-a21b-bfef09b9906a&displaylang=en
 Hopefully your queries will be resolved

Arijit Basu

On 4/21/07, mohangiri <[EMAIL PROTECTED]> wrote:
>
>   hi
> i want to install axapta in xp with sp2
> but unable to run axapta please give me information step by step
> for installation
>
> thanks in advance
>
> mohan
>
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] Number of copies in report

2007-04-17 Thread Arijit Basu
Hi VG,
   When you print a report from AX, there is an option to select the number
of copies of print. Why dont u use that...

Arijit Basu

On 17 Apr 2007 01:58:11 -0700, V G <[EMAIL PROTECTED]> wrote:
>
>   Hi
> I have a requirement wherein I have to give the user option to select the
> number of copies to print.
> Any help is highly appreciated
>
> Thanks
> VG
>
> [Non-text portions of this message have been removed]
>
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] Axapta how change the color of a single colum not the entire row

2007-04-11 Thread Arijit Basu
Hi Luca,
   Hope this helps
http://daxguy.blogspot.com/2007/04/coloring-grids-in-dax.html

On 07 Apr 2007 07:16:00 -0700, gr8luca <[EMAIL PROTECTED]> wrote:
>
>   Hi i'm Luca,
> someone could tell me how i can change the color of a single colum, so
> not the entire row, in a grid?
>
> Thanks
>
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] Axapta how change the color of a single colum not the entire row

2007-04-11 Thread Arijit Basu
Hi Luca,
  Use this

public void displayOption(Common _record, FormRowDisplayOption _options)
{
_options.backColor(WinApi::RGB2int(255,255,0)); // Yellow
_options.affectedElementsByControl(Control_Name.id());
_options.affectedElementsByControl(Another_Control_Name.id());
}


Hope it helps

Arijit Basu
http://daxguy.blogspot.com/


On 07 Apr 2007 07:16:00 -0700, gr8luca <[EMAIL PROTECTED]> wrote:
>
>   Hi i'm Luca,
> someone could tell me how i can change the color of a single colum, so
> not the entire row, in a grid?
>
> Thanks
>
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] How can I find the error text or information text quickly

2007-04-04 Thread Arijit Basu
Hi,
  See this post to find errors / warnings. Then you can replace the messages

http://daxguy.blogspot.com/2006/11/how-to-find-out-where-that-error.html

Arijit Basu

On 04 Apr 2007 03:32:10 -0700, Karani Yilmaz <[EMAIL PROTECTED]>
wrote:
>
>   How can I find the error text or information text
> quickly to replace them with new ones.?
> Some texts are not meaningfull so I want to replace
> them with obvious ones..
>
> __
> 8:00? 8:25? 8:40? Find a flick in no time
> with the Yahoo! Search movie showtime shortcut.
> http://tools.search.yahoo.com/shortcuts/#news
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] Re: Importing external sales order

2007-03-29 Thread Arijit Basu
Hi,
  Why dont u use AX SalesTable & AX SalesLine Classes. There is a post on my
BLOG for Purchase Orders.
http://daxguy.blogspot.com/2006/11/how-to-create-po-from-ax-classes.html
You can easily extend this for SO's.
Hope it helps

Arijit Basu
http://daxguy.blogspot.com/

On 3/29/07, larrybellou <[EMAIL PROTECTED]> wrote:
>
>   I am using AxSalesTable and AxSalesLine but I keep getting message
> boxes instead of the error getting back to my code. I put a try
> catch around AxSalesLine.Save but it still did not get back to my
> code. Any ideas?
>
> --- In 
> development-axapta@yahoogroups.com,
> "Jacob Hjelmer Nielsen"
> <[EMAIL PROTECTED]> wrote:
> >
> >
> > Why dont you use the AxBC classes instead? I.e. AxSalesTable and
> AxSalesLine,
> >
> > :-J
> >
> > Jacob Hjelmer
> >
> > Thy Data Center Development A/S
> > Søvej 13b
> > DK-3460 Birkerød
> > Denmark
> >
> > URL : http://development.thydatacenter.dk/
> http://development.thydatacenter.dk/>
> > E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> >
> > 
> >
> > From: 
> > development-axapta@yahoogroups.com[mailto:
> development-
> [EMAIL PROTECTED] ] On Behalf Of Brandon
> George
> > Sent: 8. juli 2005 15:25
> > To: development-axapta@yahoogroups.com
> > Subject: RE: [development-axapta] Re: Importing external sales order
> >
> > You are correct about both of those... And the .clear I did
> do within
> > my class, but I did forget to add it to this example.
> >
> > However if you read the code you will notice the .initValue
> is
> > called, but called from different methods: Examples from the code:
> > salesTable.initFromCustTable();
> > ...
> > salesLine.initFromSalesTable(salesTable);
> >
> > If you look both of these methods perform the initValue, but they
> also add
> > other information, that is important from the CustTable and
> SalesTable.
> >
> > -Brandon
> >
> > -Original Message-
> > From: 
> > development-axapta@yahoogroups.com
> > [mailto:development-axapta@yahoogroups.com]
> On Behalf Of Karsten
> Krabbes
> > Sent: Friday, July 08, 2005 8:55 AM
> > To: development-axapta@yahoogroups.com
> > Subject: [development-axapta] Re: Importing external sales order
> >
> > Please be aware, when creating new records in tables you should
> call two
> > more methods before filling the fields:
> >
> > .clear() .. to make sure your new record is really empty.
> > .initValue() .. the super() call here calls the
> recordtemplate
> > function !!
> >
> > br
> > Karsten
> >
> > --- In 
> > development-axapta@yahoogroups.com,
> "Brandon George"
> > <[EMAIL PROTECTED]> wrote:
> > > The following, when placed in a job will create a SalesOrder. This
> > should
> > > show you exactly how to create one, and from this code you could
> > then create
> > > yourself a class, for processing your external Sales Orders.
> > >
> > > SalesTable salesTable;
> > > SalesLine salesLine;
> > > NumberSeq numberSeq;
> > > NumberSequenceReference numberSequenceReference;
> > > InventTable InventTable;
> > > ;
> > >
> > > numberSequenceReference = NumberSeqReference::findReference
> > > (typeId2ExtendedTypeId(typeid(SalesId))) ;
> > > numberSeq = NumberSeq::newGetNumFromCode
> > > (numberSequenceReference.NumberSequence) ;
> > >
> > > ttsbegin;
> > >
> > > // Entry for Sales Header
> > > salesTable.SalesId = numberSeq.num() ;
> > > salesTable.CustAccount = "10" ;
> > > salesTable.initFromCustTable();
> > > salesTable.SalesType = SalesType::Sales ;
> > > salesTable.SalesStatus = SalesStatus::None ;
> > > salesTable.insert();
> > >
> > > // Entry for Sales Line
> > > InventTable = InventTable::find("1000");
> > > salesLine.initFromSalesTable(salesTable);
> > > salesLine.SalesId = salesTable.SalesId ;
> > > salesLine.ItemId = InventTable.ItemId;
> > > salesLine.SalesQty = 1 ;
> > > salesLine.createLine(false,true,true,false,false,true);
> > > numberSeq.used();
> > >
> > > ttscommit;
> > >
> > > If you have any questions about the code please let us all know!
> > Also
> > > SalesAutoCreate will show you a similar thing, except it will be
> > more
> > > complica

Re: [development-axapta] How can I add two fields

2007-03-13 Thread Arijit Basu
Hi,
 Use the display method in the report
E.g.
Display Real ShowSum()
{
   Return (Datasource.Field1)+(Datasource.Field2);
}

Hope this helps



On 3/13/07, contact2ajit2006 <[EMAIL PROTECTED]> wrote:
>
>   Hello Frnds
>
> How can I add two fields(columns) and display it to third cloumn in
> reports..
>
> plz hep me out..
>
> ThanX and Regards
>
> Ajit
>
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] Re: Current Userid

2007-03-12 Thread Arijit Basu
Hi,
 Use CuruserId();
Cheers

Arijit Basu
http://daxguy.blogspot.com/

On 3/9/07, jquinteroz <[EMAIL PROTECTED]> wrote:
>
>   --- In 
> development-axapta@yahoogroups.com,
> "febinpc" <[EMAIL PROTECTED]>
> wrote:
> >
> > Hi friends
> > I'm working on AX 4.0, I want catch the Current Userid of
> application,
> > or in simple language we can say ,I want to print the Current user ID
> > Can anybody help me to solve it...
> > Reagrds
> > Febin Chiramel
> >
> Hi!:
> I hope that this code solve your issue:
> display str 10 user()
> {
> return curuserid();
> }
>
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] Current Userid

2007-03-12 Thread Arijit Basu
Use CurUserId();

Cheers

Arijit Basu
http://daxguy.blogspot.com/

On 09 Mar 2007 03:59:22 -0800, febinpc <[EMAIL PROTECTED]> wrote:
>
>   Hi friends
> I'm working on AX 4.0, I want catch the Current Userid of application,
> or in simple language we can say ,I want to print the Current user ID
> Can anybody help me to solve it...
> Reagrds
> Febin Chiramel
>
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] How to call a job

2007-02-09 Thread Arijit Basu
Hi,
 Try this

treeNode treeNode;
xInfo xInfo = new xInfo();
;
treeNode = xInfo.rootNode();
treeNode = treeNode::findNode("jobs").AOTfindChild("Job1");
treeNode.AOTrun();


Cheers
Arijit Basu
http://daxguy.blogspot.com/

On 2/9/07, William S. Jacobsen <[EMAIL PROTECTED]> wrote:
>
>   Anyone who knows how to call a Job from code?
>
> /William
>
> [Non-text portions of this message have been removed]
>
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] Biztalk and axapta

2007-02-01 Thread Arijit Basu
Hi,
  have a look at these links from partnersource

https://mbs.microsoft.com/partnersource/documentation/whitepapers/daxwpwebservicesandbiztalkserver20061218.htm?printpage=false

https://mbs.microsoft.com/partnersource/documentation/whitepapers/dax_aif_config.htm?printpage=false

Hope this helps

Arijit
http://daxguy.blogspot.com/


On 2/1/07, branjema <[EMAIL PROTECTED]> wrote:
>
>   Does anyone know how to have axapta read and send data to biztalk?
>
> Thanks
>
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] How can I suppress an annoying message?

2007-01-24 Thread Arijit Basu
Hi Mary,
  Try this in your report code in the fetch section:
printJobSettings.suppressRightEdgeExeededMessage()
printJobSettings.suppressScalingMessage()

Hope it helps
Cheers
Arijit Basu
http://daxguy.blogspot.com/

On 1/24/07, MaryAnn Hand <[EMAIL PROTECTED]> wrote:
>
>   When a report needs to be rescaled, the info log pops up with a
> message...
>
> " - Report is scaled  percent to fit the page."
>
> I have two customers who do not want to see these messages. The report
> looks fine. I cannot find this message among the labels, so I cannot
> find the place in the code to comment it out.
>
> If I cannot supress this message, can I do something to scale the
> report in the code so that Axapta will not need to rescale it?
>
> Thanks for any help you all can post.
> Mary Ann
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] Creating table and lines functionality similar to salestable form

2006-12-22 Thread Arijit Basu
Dont forget the InventDim table. Take a look at the Salestable/PurchTable
Form for Inspiration

On 12/22/06, tarun jalhotra <[EMAIL PROTECTED]> wrote:
>
>   Take both tables as datasources and change the property (Join Source)of
> workorderlines Datasource to workordertable.it will show you the records
> in lines depending upon record selected in workordertable.
>
> hope it helps.
>
> gokhaleanu <[EMAIL PROTECTED] > wrote:
> hello to all,
>
> i need to Create table and lines functionality similar to salestable
> form using
> Tables - "workordertable" and "workorderlines"
> Form - "workordertableform"
>
> "workordertable" has index - workorderNo
> "workorderlines" has index - workorderNo and LineNo
>
> I have set relation on "workorderlines" table -
> workordertable.workorderNo == workorderlines.workorderNo
>
> to achieve functionality of "workordertableform" same as "salestable"
> form, (for example selecting one record of salestable, shows
> corrosponding records from salesline table) which properties/ methods
> should I change?
>
> Anuradha
>
> __
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> [Non-text portions of this message have been removed]
>
>  
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] Methods on word application objects

2006-12-07 Thread Arijit Basu
Hi Vijay,
  Ive added a new post to my BLOG regarding your request.
http://daxguy.blogspot.com/
Hope it helps.
Cheers


On 12/7/06, vijay_lad1 <[EMAIL PROTECTED]> wrote:
>
>   Hi ,
>
> I am working on word document thru AX code. Can u please give the list
> of methods which can be use with word objects.
> For Ex. whats the mehod name to print a word document thru AX code.
>
> Is there any way to find out list of methods on given non AX objects
> like excel , word etc.
>
> 
>



-- 


Arijit Basu


[Non-text portions of this message have been removed]



Re: [development-axapta] has been released!!!

2006-03-14 Thread Arijit Basu




Hi,
   It would be great if you could convert to english


On 3/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Dear All,
>   I wrote a e-Book , which is my
> summing-up of axapta development experience.
>   but now, only chinese version is available, do you want me to translate
> it to english verion?  if yes,please let me know, because i want to konw how
> many people need it.
>
> please download it in my websit www.qiuhao.com  .
>
>  thanks.
>
>
> --
> qhpeng
> 2006-03-13
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>


--


Arijit Basu


[Non-text portions of this message have been removed]









  
  
SPONSORED LINKS
  
  
  

Computer part
  
  
Programming languages
  
  
Microsoft axapta
  
  


Support exchange
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "development-axapta" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.