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

2009-11-08 Thread r_ssh
Hey,

Have you tried the following in X++

static void usingAXxml(Args _args)
{
System.Xml.XmlDocument xmlDoc2;

str _xml;
;


_xml = @' 
  http://schemas.microsoft.com/dynamics/2008/01/documents/CustInvoice";>

  USD
  4000
  2009-02-16
  4000
 
  100
  Line 1
  11005
  2
full
  
 
  200
  Line 2
  11010
  4
full
  

  ';

xmlDoc2 = new System.Xml.XmlDocument();
xmlDoc2.LoadXml(_xml);

info(xmlDoc2.ToString());

} 

May be this is what your looking for???

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, "giridharraj" 
 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 document 
> object. I have done that but the problem is the dot net couldn't recognize AX 
> xml object and even AX couldn't read dot net XML object. It gives me some xml 
> object cast error. Please tell me how to convert an Ax xml object into dot 
> net xml object and vice versa. Please give me some solution.
> 
> Thanks and Regards,
> Giridhar Raj.
>




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

2009-11-03 Thread r_ssh
Hi James,

AX 2009 wil work on WS2008 on X64 machine. Is service packs installed for 
WS2008?

Both SP1 & SP2 are supported version for AX2009. Please let me know if this 
issue is observed frequently. If so then it would be better idea of logging a 
bug on this issue.

Thanks
Santosh.R


--- In Axapta-Knowledge-Village@yahoogroups.com, "James Flavell"  
wrote:
>
> Hi everyone
> 
>  
> 
> I know it is officially supported but has anyone had issue with W2008 (x64)
> and AX2009?
> 
>  
> 
> Am getting event log: 
> 
> The Dynamics AX Object Server 5.0$01- service terminated unexpectedly.
> It has done this 1 time(s).
> 
>  
> 
> And the log also says it says is running on a OS that is not supported and
> says W2003 SP1 is the supported os ..!!!???
> 
>  
> 
> Thanks
> 
> James
>




[Axapta-Knowledge-Village] Re: string to real conversion in x++

2009-11-02 Thread r_ssh
Hi,

Please use the following function.

str2Num - Converts a text string to a real number. 
Example: str2Num("140.455") returns the value 140.455. 

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, "giridharraj" 
 wrote:
>
> Hi,
> 
> Can anyone give me an idea on how to convert a value in string datatype to a 
> real in x++?
> 
> Thanks and Regards,
> Giridhar Raj.
>




[Axapta-Knowledge-Village] Re: AIF File system adapter Inbound Error

2009-11-01 Thread r_ssh
Access has to flow to all the node in the drive structure.

Example:

If you have folder has C:\Inbound\AIFIN\Xml\TextAIFInbound.xml

then each node should have full control(Inbound, AIFIN, Xml). Even add full 
control to the "TextAIFInbound.xml".

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, "giridharraj" 
 wrote:
>
> 
> Hi Santosh,
> 
> I tried your suggestion but still I am getting the same error.
> 
> Regards,
> Giridhar raj.
> --- In Axapta-Knowledge-Village@yahoogroups.com, "r_ssh" 
>  wrote:
> >
> > Hi,
> > 
> > Do the following:
> > 
> > Right-clicking the folder and selecting Properties. Please add your user 
> > with "Full Control" and click Apply.
> > 
> > Restart your AX Service. Try to perform Inbound operation now and let me 
> > know the result.
> > 
> > Thanks
> > Santosh.R
> > 
> > --- In Axapta-Knowledge-Village@yahoogroups.com, "giridharraj" 
> >  wrote:
> > >
> > > Hi,
> > > 
> > > I am getting an error for AIF Inbound, I have done all the settings still 
> > > I am getting the same Error: Cannot be read because the submitting user 
> > > could not be determined. The default owner for objects created by members 
> > > of the Administrators group must be set to the object creator. 
> > > 
> > > To avoid the above error I have done the following steps for file system 
> > > adapters still I am getting that error.
> > > 
> > > Before you create the folder for the inbound file system adapter on the 
> > > server, complete the following: 
> > > 
> > > 1.Click Start > Programs > Administrative Tools > Local Security Policy. 
> > > 
> > > 2.On the Local Security Settings menu, navigate to Security Settings > 
> > > Local Policies > Security Options. 
> > > 
> > > 3.Change the Security Settings for the System Objects: Default owner for 
> > > objects created by members of the administrator's group from 
> > > Adminstrator's group to Object creator. 
> > > 
> > > 4.Log off and log back on to the computer. 
> > > 
> > > 5.Create the folder for the inbound file system transfer. 
> > > 
> > > 6.Verify that the owner of the folder is the user sending the document to 
> > > Microsoft Dynamics AX (the submitting user) by: 
> > > 
> > > a.Right-clicking the folder and selecting Properties, and then 
> > > 
> > > b.Clicking Advanced on the Security tab to view the Advanced Security 
> > > Settings. 
> > > 
> > > The owner of the folder is shown on the Owner tab. 
> > > 
> > >   
> > > 
> > > Please suggest me solution to avoid that error.
> > > 
> > > Regards,
> > > Giridhar Raj.
> > >
> >
>




[Axapta-Knowledge-Village] Re: AIF File system adapter Inbound Error

2009-11-01 Thread r_ssh
Hi,

Do the following:

Right-clicking the folder and selecting Properties. Please add your user with 
"Full Control" and click Apply.

Restart your AX Service. Try to perform Inbound operation now and let me know 
the result.

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, "giridharraj" 
 wrote:
>
> Hi,
> 
> I am getting an error for AIF Inbound, I have done all the settings still I 
> am getting the same Error: Cannot be read because the submitting user could 
> not be determined. The default owner for objects created by members of the 
> Administrators group must be set to the object creator. 
> 
> To avoid the above error I have done the following steps for file system 
> adapters still I am getting that error.
> 
> Before you create the folder for the inbound file system adapter on the 
> server, complete the following: 
> 
> 1.Click Start > Programs > Administrative Tools > Local Security Policy. 
> 
> 2.On the Local Security Settings menu, navigate to Security Settings > Local 
> Policies > Security Options. 
> 
> 3.Change the Security Settings for the System Objects: Default owner for 
> objects created by members of the administrator's group from Adminstrator's 
> group to Object creator. 
> 
> 4.Log off and log back on to the computer. 
> 
> 5.Create the folder for the inbound file system transfer. 
> 
> 6.Verify that the owner of the folder is the user sending the document to 
> Microsoft Dynamics AX (the submitting user) by: 
> 
> a.Right-clicking the folder and selecting Properties, and then 
> 
> b.Clicking Advanced on the Security tab to view the Advanced Security 
> Settings. 
> 
> The owner of the folder is shown on the Owner tab. 
> 
>   
> 
> Please suggest me solution to avoid that error.
> 
> Regards,
> Giridhar Raj.
>




[Axapta-Knowledge-Village] Re: Big Problem In AX

2009-10-29 Thread r_ssh
Hi Michael,

After restoring run the following query in your database to open Ax with ur 
user credentials.
Update userinfo
Set SID = `----`
Where id = `admin'

To obtain SID run the following query in your older database
Select SID from userinfo where id = `admin'

Hope this resolves your issue.

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, "frickmystr" 
 wrote:
>
> You will have to manually edit the Admin's information in the SQL database 
> and change it's domain and SID to it's new domain and SID.
> 
> table: UserInfo
> Fields: SID & NETWORKDOMAIN
> 
> Here is a post that shows how to get the SID of a use.
> 
> http://kevin.vanzonneveld.net/techblog/article/determine_sid_of_windows_user/
> 
> Hope this helps. I have to do this all the time when moving data from a 
> customer's system to my system. 
> 
> Michael Franchino
> mcaConnect
> 
> 
> --- In Axapta-Knowledge-Village@yahoogroups.com, "Amgad Toma"  
> wrote:
> >
> > Dear Gentle
> > 
> > I can't Open Axapta Now
> > 
> > Our Domain Name is changed from name to another, and IT. team create new 
> > user in active directory.
> > And joined all machine and servers to new domain, when we go back to open 
> > MS Axapta Again,
> > This message display.
> > You are not recognize user.
> > what can I do to open application?
> > 
> > Note: Administrator account not able to open application
> > 
> > Amgad Toma
> >
>




[Axapta-Knowledge-Village] Re: Printing Problem

2009-10-29 Thread r_ssh
Hi Subhajit,

Check if this jobs helps you.

static void PowerArthimeticFormat(Args _args)
{
realr, r1;
Window  10,5 at 5,5 // Window resizing
;
   
//Power
r = power(10, 5);
print r;
pause;

//I hope you aren't looking like this type.
r1 = 10 ^ 5;
print r1;
pause;
}

Hope this helps :)Revert back in case of any additional queries
Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, "ghoshsubhajit" 
 wrote:
>
> Hi
> 
> I want to print 10 to the power 5 in arithmatical format [not 10^5] in axapta.
> 
> Subhajit Ghosh
>




[Axapta-Knowledge-Village] Re: AOS does'y start automatically

2009-10-29 Thread r_ssh

Hi Suneel,

This is because in the Windows Service(services.msc) the Dynamics AOS
server is set to "Manual" Solution is to change the service to
"Automatic". So when the OS/Server is restarted then Dynamics AX service
will also be started along with other services.

Hope this resolves your issue.

Thanks
Santosh.R
--- In Axapta-Knowledge-Village@yahoogroups.com, SUNEEL BABU
 wrote:
>
>
> Dear All.,
>
> When i restart the Server dynamics Ax AOS was not started
automatically. I need to start manually everytime. Can anyone tell me
"How to solve this".
>
>
>
> Regards.,
>
> Suneel
>
> _
> New Windows 7: Find the right PC for you. Learn more.
> http://windows.microsoft.com/shop
>





[Axapta-Knowledge-Village] Re: Find a record in the Report

2009-10-29 Thread r_ssh
Hi VG,

May be you can use the global search feature in Dynamics AX. In this you can 
configure the table name(In the report datasource find the tables which are 
used.) Setup only these tables for Global Search.

In case you dont have idea on "How to setup Global Search in AX" please refer 
my blog entry
http://sangi1983.spaces.live.com/blog/cns!264A0056CBCBB1D3!198.entry

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, V G  wrote:
>
> Hi All
> 
> I wanted to know if there is a functionality in AX wherein we can search a
> entry in a Axapta report
> What client wants is to search a entry in report as the report is usually
> too long 20-30 pages.
> All ideas welcome.
> Thanks in advance
> 
> Thanks
> VG
>




[Axapta-Knowledge-Village] Re: AX 4.0 SP2 Layer confusion

2009-10-28 Thread r_ssh

Hi Dannie,

The "compare" function CAN see the customization in method
createJournalTransfer, but even after compile, the method
"createJournalTransfer" is still only marked (sys,syp).This is
because the object/variable which your trying to introduce in the "CUS"
layer already exists in SYP layer. You might have somehow missed that
variable in SYP as a result it doesn't show mark as (SYS,SYP,CUS).

Here is the screenshoot attached from 4.0SP2 which is taken on my local
system.




Thanks

Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, "Dannie Feldfos"
 wrote:
>
> Hi
>
>
>
> Please see the below example:
>
> The "compare" function CAN see the customization in method
createJournalTransfer, but even after compile, the method
"createJournalTransfer" is still only marked (sys,syp).
>
> It should have been marked (sys,syp,cus) AX does not see the code if
we run it.
>
>
>
> We do not know how many Customization we have lost or cannot see.
>
>
>
> ANY Suggestions on how to solve this - has anybody seen this before?
>
>
>
>
>
>
>
>
>
>
>
>
>
> Med venlig hilsen / Kind regards / Mit freundlichen Grüssen
> VOLA A/S
>
> Dannie Feldfos
> Senior System Engineer
>
> Lunavej 2
> DK-8700 Horsens
> Denmark
> Direct: +45 7628 4890
> Tel.: +45 7023 5500
> Fax: +45 7628 4869
> Mobile: +45 6146 1880
> Web: www.vola.com 
>




[Axapta-Knowledge-Village] Re: Form initialization Error in AX 09

2009-10-27 Thread r_ssh
If Client only is having this issue.
Did you complile the AOT objects on the Client?

Thanks
Santosh.R


--- In Axapta-Knowledge-Village@yahoogroups.com, neeraj gupta 
 wrote:
>
> 
> Dear anitha;
> i also tried this  thing as u told.
>  even i have compiled whole AOT . but still this error is coming.
> 
> --- On Tue, 27/10/09, Anitha S  wrote:
> 
> > From: Anitha S 
> > Subject: Re: [Axapta-Knowledge-Village] Form initialization Error in AX 09
> > To: Axapta-Knowledge-Village@yahoogroups.com
> > Date: Tuesday, 27 October, 2009, 4:35 PM
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  
> >  
> > 
> > 
> > 
> > 
> > 
> >   Hi.. 
> > Try restoring those forms and then
> > compile..
> >  
> > Regards,
> > Anitha
> > 
> > 
> > On Tue, Oct 27, 2009 at 4:32 PM,
> > neeraj gupta  > yahoo.co. in> wrote:
> > 
> > 
> >   
> > 
> > 
> > 
> > Hi ; 
> > 
> > i m using Ax 09.when i try to open the some forms at client
> > Computer i get the 
> > 
> > following error 
> > 
> > formbuild tabpage control object does not have method
> > column space. this error comes in 
> > 
> > 
> > many forms like
> > 
> > Administration->CompanyAccount Form
> > 
> > Administration->Periodic->ExcelSpreadheet->TemplateWizard
> > 
> > General ledger->General->General Journal.
> > 
> > These forms are working fine on Server Computer.
> > 
> > 
> > if have looked in AOT->systemDocumentation -> Classes
> > ->ormbuild tabpage.
> > 
> > this is having some method named Unknown.
> > 
> > whether it is License problem(as i am working on Customers
> > License) or client component 
> > 
> > 
> > problem or something else.
> > 
> > Pls let me know if any body getting such error or having
> > any solution regarding this.
> > 
> > its very urgent 
> > 
> > Keep up with people you care about with Yahoo! India Mail.
> > Learn how. http://in.overview.
> > mail.yahoo. com/connectmore
> > 
> > 
> > 
> > 
> > 
> >  
> > 
> >   
> > 
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
>   Try the new Yahoo! India Homepage. Click here. 
> http://in.yahoo.com/trynew
>




[Axapta-Knowledge-Village] Re: export table structure to XML using AIF

2009-10-27 Thread r_ssh
Hi Raj,

Your sending table name via AIF? What exactly you want to do? Could you please 
refer my blog 
http://sangi1983.spaces.live.com/blog/cns!264A0056CBCBB1D3!377.entry

There is a internal method in AX(.xml) which will give the table structure 
along with the value. But this is nothing to do with Import AX TABLE NAME with 
xml.

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, "giridharraj" 
 wrote:
>
> Hi,
> 
> I need to do a short proto type in which Ax will receive an xml file 
> containing a table name and based on that info. the Ax application must send 
> the table structure in XML format. This has to be saved in file system. 
> Please help in doing this using AIF. I have been trying using AIF but its not 
> working. Please help me.
> 
> Regards,
> Raj
>




[Axapta-Knowledge-Village] Re: Filtering on a diaplay method on a grid question

2009-09-20 Thread r_ssh
Hi Girac,

In AX when data is fetched via a data method you can never do a 
filteration(i.e. Filter By Grid, Filter By Selection). This is design of AX.

Filter can be applied on those forms where data is fetched directly from 
table(i.e. Field that are bounded to the datasource in the Form Design)

Thanks
Santosh.R


--- In Axapta-Knowledge-Village@yahoogroups.com, "girac127"  
wrote:
>
> Hello all,
> 
> I have a display method on my grid to return data but I am noticing I can not 
> filter when I am using this to get data. 
> How can I filter, right click, filter by..., when using display methods?
>




[Axapta-Knowledge-Village] Re: Workflow Error --Exception has been thrown by the target of an invocation.

2009-09-09 Thread r_ssh
Hi Pankaj,

Make sure the configuration & security keys is set in the workflow 
properties(template/categories)

Thanks
Santosh.R
--- In Axapta-Knowledge-Village@yahoogroups.com, Pankaj Kant  
wrote:
>
> Hi Every One
> 
> I have configured workflows in Account Payables module and now when I submit 
> the workflow The system is throwing exception in Infolog  as mentioned below  
> when I run the form Tutorial_workflow_processor
> 
> SysWorkflowMessageQueueManager-run
> SysWorkflowEventDispatcher-onAcknowledgeWorkflowActivation
> SysWorkflowEventDispatcher-raiseWorkflowActivationEvent
> ClrObject static method invocation error.
> Exception has been thrown by the target of an invocation.
> 
>  I am not able to understand what is this error as I have not  done any 
> customizations in the workflow
> Any pointers will be great help
> 
> Thanks in Advance
> 
> 
> PK
>




[Axapta-Knowledge-Village] Re: Indian Localization

2009-09-02 Thread r_ssh
Naveen,

Actually you should only see Indian Locialization.

Thanks
Santosh
--- In Axapta-Knowledge-Village@yahoogroups.com, Naveen  wrote:
>
> Hi Santosh,
> 
> Actually, we have to enable only the country which we wanted to use in 
> Configuration Keys of Axapta.
> So, we went to Configuration Keys and disabled all other Countries. So, now 
> it is working here fine, I am seeing only the Indian Localization in 
> functionality.
> But still in VersionInfo, I get to see the Other Countries (Brazil, China, 
> Japan, Thailand, India). Will it be like that only for AX2009?
> 
> Thanks,
> Naveen
> 
> 
> 
> 
> 
> From: r_ssh 
> To: Axapta-Knowledge-Village@yahoogroups.com
> Sent: Wednesday, 2 September, 2009 12:14:22 PM
> Subject: [Axapta-Knowledge-Village] Re: Indian Localization
> 
>   
> Hi Naveen,
> 
> First of all your Application version is different from Kernel version which 
> is incorrect. Also when any specific locialization installation is done only 
> that particular country would be available.
> 
> Thanks
> Santosh.R
> 
> --- In Axapta-Knowledge- vill...@yahoogro ups.com, Naveen  
> wrote:
> >
> > Hi,
> >  
> > We have installed Ax2009 with Indian Localization. After Installing, the 
> > version info is displaying as shown in Attached Image.
> > Here i m seeing even other countries also. So, is this the correct one 
> > which we have installed(for India Localization) ?
> >  
> > Thanks in Advance,
> > Naveen
> > 
> > 
> > See the Web's breaking stories, chosen by people like you. Check out 
> > Yahoo! Buzz. http://in.buzz. yahoo.com/
> >
> 
> 
> 
> 
> 
>   Love Cricket? Check out live scores, photos, video highlights and more. 
> Click here http://cricket.yahoo.com
>




[Axapta-Knowledge-Village] Re: Indian Localization

2009-09-01 Thread r_ssh
Hi Naveen,

First of all your Application version is different from Kernel version which is 
incorrect. Also when any specific locialization installation is done only that 
particular country would be available.

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, Naveen  wrote:
>
> Hi,
>  
> We have installed Ax2009 with Indian Localization. After Installing, the 
> version info is displaying as shown in Attached Image.
> Here i m seeing even other countries also. So, is this the correct one which 
> we have installed(for India Localization)?
>  
> Thanks in Advance,
> Naveen
> 
> 
>   See the Web's breaking stories, chosen by people like you. Check 
> out Yahoo! Buzz. http://in.buzz.yahoo.com/
>




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

2009-06-25 Thread r_ssh
Hi All,

Thanks for respondign to one and all :)

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, vamsi praneeth 
 wrote:
>
> datenull() is a method which is just used to compare if there's no date or 
> something else...it won't by any means return a value. It could be used as a 
> validation but not to return any value.An example has been cited below
>  if (fdate==datenull())
>     {
>     error ('Please select the date');
>     return false;
>  }
> --- On Thu, 6/25/09, r_ssh  wrote:
> 
> 
> From: r_ssh 
> Subject: [Axapta-Knowledge-Village] Issue with dateNull() function.
> To: Axapta-Knowledge-Village@yahoogroups.com
> Date: Thursday, June 25, 2009, 3:42 PM
> 
> 
> 
> 
> 
> 
> 
> 
> Hi All,
> 
> Why is dateNull() returning no value. Is this the expected behaviour?
> 
> static void TestDateNull( Args _args)
> {
> ;
> print Global::dateNull( );
> pause;
> }
> 
> In Global class, dateNull() function returns 01\01\1900. But why it doesn't 
> print when the job is executed? We had also tried in the follwing ways but no 
> luck:(
> 
> print min(datenull( ),today() ); //not working
> print mkdate(01,01, 1900); //not working
> print num2date(0); //not working
> print str2date("01- 01-1900", 123); //notworking
> print systemdateset( datenull( )); //not working
> print systemdateget( ); //not working
> pause;
> 
> Heard that the same happens on AX3.0 and AX40??? Why is the behaviour like 
> this.
> 
> Sumit/Sreenath any information available???
> 
> Thanks
> Santosh.R
>




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

2009-06-25 Thread r_ssh
Hi All,

Why is dateNull() returning no value. Is this the expected behaviour?

static void TestDateNull(Args _args)
{
;
 print Global::dateNull();
 pause;
}

In Global class, dateNull() function returns 01\01\1900. But why it doesn't 
print when the job is executed? We had also tried in the follwing ways but no 
luck:(


print min(datenull(),today()); //not working
print mkdate(01,01,1900);  //not working
print num2date(0); //not working
print str2date("01-01-1900",123); //notworking
print systemdateset(datenull()); //not working
print systemdateget(); //not working
pause;


Heard that the same happens on AX3.0 and AX40??? Why is the behaviour like this.

Sumit/Sreenath any information available???

Thanks
Santosh.R




[Axapta-Knowledge-Village] Re: Dynamics Connection Error

2009-05-30 Thread r_ssh
Hi Suneel,

What does the eventLog reads? Have you recently changed PWD of ur system.If so, 
try to Logon using your credentials instead of NTAuthority.

(OR)

Please check the port number in the AxClicfg from the client PC and make sure 
that the client port matches with the port number of AOS. Else this would also 
result in the Establishment failure.

Please let me knw if it works or if you have any other issue.

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, suneel babu  
wrote:
>
> 
> Dear All.,
> 
>I had problem of AOS connection from my client systems. when i try 
> to connect from the client to AOS it throws "Failed to establish connection". 
> In AOS system it connected, I try to ping the Server IP and Port from the 
> client it was working properly. And client configuration also ok. I try to 
> save the configuration file from the AOS and copy the file to client system. 
> Even that was unsuccessfull. Any one help me regarding the error.,
> 
>  
> 
> Regards.,
> 
> Suneel.
> 
> _
> Drag n' drop—Get easy photo sharing with Windows Live™ Photos.
> 
> http://www.microsoft.com/india/windows/windowslive/photos.aspx
>




[Axapta-Knowledge-Village] Re: "reread" versus "_ds.reread"

2009-05-29 Thread r_ssh
Hi,

Form datasource reread():Rereads the current record from the database.

I'm not sure on the table reread() and i haven't come across using the same 
till date.


--- In Axapta-Knowledge-Village@yahoogroups.com, "anton_tjiptadi" 
 wrote:
>
> Hi Anita,
> Thanks. but still confuse about reread in table ([table].reread) and form 
> datasource ([_ds].reread), is it the same?
> 
> regards,
> 
> --- In Axapta-Knowledge-Village@yahoogroups.com, Anitha S  
> wrote:
> >
> > Hi..
> > 
> > refresh() will not reread the record from the database.  It basically just
> > refreshes the screen with whatever is stored in the form cache.
> > 
> > 
> > refreshEx() will refresh the view of the records.
> > 
> > 
> > reread() will only re-read the CURRENT record from the DB so you should not
> > use it to refresh the form data if you have added/removed records.  It's
> > often used if you change some values in the current record in some code, and
> > commit them to the database using .update() on the table, instead of through
> > the form datasource.  In this case .reread() will make those changes appear
> > on the form.
> > 
> > research() will rerun the existing form query against the datasource,
> > therefore updating the list with new/removed records as well as updating
> > existing ones.  This will honour any existing filters and sorting on the
> > form.
> > 
> > executeQuery() is another useful one.  It should be used if you have
> > modified the query in your code and need to refresh the form.  It's like
> > .research() except it takes query changes into account.
> > 
> > Hope your queries have been answered.
> > 
> > I am not sure about the combination of using table.reread followed by
> > datasource.refresh.
> > 
> > If you have any other thoughts, kindly share it across.
> > 
> > 
> > Regards,
> > 
> > Anitha
> > 
> > 
> > On Fri, May 29, 2009 at 10:13 AM, anton_tjiptadi
> > wrote:
> > 
> > >
> > >
> > > Hi all,
> > >
> > > What is the different between [table].reread and [datasaource].reread ?
> > >
> > > I have a problem with my Ax3, seems this reread function not working
> > > correctly bcos sometimes return the correct value (the new updated record)
> > > but sometime return old value.
> > >
> > > FYI, bfore using the Reread function, I update or write first the record. 
> > > I
> > > run few times, but often after Reread what I already
> > > "write" on that table is lost.
> > >
> > > For more detail may I ask what Ax exactly doing with below function :
> > > [table].reread
> > > [datasource].reread
> > > [datasource].refresh
> > > [datasource].refreshEx
> > > [datasource].research
> > > [datasource].executeQuery
> > >
> > > furthermore can I use it in combination for example after [table].reread
> > > then [datasource].refresh ?
> > >
> > > Thanks in advance,
> > > Anton
> > >
> > >  
> > >
> >
>




[Axapta-Knowledge-Village] Re: Voiding Purchase Invoice Urgent

2009-05-28 Thread r_ssh
Hi Sayeed,

I think you can create a credit note. 

Any functional guys out there, Please confirm if the suggested way is right.

Thanks
Santosh


--- In Axapta-Knowledge-Village@yahoogroups.com, "ax_con"  wrote:
>
> Can anybody suggest how reverse a purchase invoice!!
> 
> Regards
> Sayeed
>




[Axapta-Knowledge-Village] Re: duplicate a company

2009-05-27 Thread r_ssh
Hi Jens,

Hi,

Just duplicate the company and run "SysdatabaseTransDelete" on the duplicated 
company so it deletes the transaction.

Thanks


--- In Axapta-Knowledge-Village@yahoogroups.com, "Jens Strandberg" 
 wrote:
>
> Duplicate the company and run the facility to delete transactions in the new
> company afterwards.
> 
>   _  
> 
> From: Axapta-Knowledge-Village@yahoogroups.com
> [mailto:axapta-knowledge-vill...@yahoogroups.com] On Behalf Of Axapta
> Consultant
> Sent: Wednesday, May 27, 2009 7:36 PM
> To: Axapta-Knowledge-Village@yahoogroups.com
> Subject: [Axapta-Knowledge-Village] duplicate a company
> 
> 
> 
> 
> 
> 
> 
> hi all;
> 
> i want to duplicate a company codes only  without transactions 
> 
> thanks in advise
>




[Axapta-Knowledge-Village] Re: Client was changed Domain

2009-05-24 Thread r_ssh
Hey Suneel,

What do you mean that "Domain has changed"?
Is it network domain??

If network domian is changed for that particular user then in SQL you need to 
update userInfo table of AX to update the new network domain.

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, suneel babu  
wrote:
>
> 
> Hi.,
> 
> I had One problem in Dynamics Ax. " As My client was changed his domain 
> recently (2003 to 2008). After that Dynamics AX doesn't working. Is there any 
> solution for that. Or i need to reinstall the Ax. 
> 
>  
> 
> Regards.,
> 
> Suneel.
> 
> _
> More than messages–check out the rest of the Windows Live™.
> http://www.microsoft.com/india/windows/windowslive/
>




[Axapta-Knowledge-Village] Re: Users Import Error

2009-05-12 Thread r_ssh
Hi,

Before trying to import the Users from other domain to AX could you please test 
the following job in AX by providing the following parameters

a) Domain <>
b) Alias  <>

static void TestSID(Args _args)
{
sid userSid;
Microsoft.Dynamics.IntegrationFramework.Util util;
;


util = new Microsoft.Dynamics.IntegrationFramework.Util();

//Get the Windows SID for this user
//We can't lookup the Axapta user in the userInfo table
//using the domain and alias because the userInfo table
//may not have the correct information.  For example,
//a user may be deleted or renamed in Active Directory
// BP Deviation Documented

//PASS THE DOMAIN AND ALIAS -- MANDATORY
userSid = util.GetUserSid(Domain, alias);
CodeAccessPermission::revertAssert();

Debug::printTab(DebugPrintTab::ActiveX, userSid);
}

If no SID is generated then there is some issue.

May be this would give you some idea.

Thanks
Santosh

--- In Axapta-Knowledge-Village@yahoogroups.com, "Ali Jawad"  
wrote:
>
> Dear Champs!
> 
> While importing Users from other domain to AX I am experiencing with the 
> following error.
> " Invalid parameter passed to getUserSID"
> 
> Both AX and other domains have the trust relationship.
> 
> your prompt help is needed.
> 
> BR,
> Ali Jawad
>




[Axapta-Knowledge-Village] Re: AX2009 demodata

2009-05-08 Thread r_ssh
Hi,

Could you please tell if the demo data import was successful? Or do you get 
import error like record already exist in Invent table?

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, sudeep s gopalkrishnan 
 wrote:
>
> Hi,
> 3 tables should be filled in:
> 
> 
> 
>1. Invent table
>2. Invent table module:
> 
> For each item you should create 3 records ( Sales order,  Purchase order and
> Inventory) for the field module type
> 
>1. Invent Item location:
> 
> Here dimension No you nee to set:
>You can give "All blank" this is already exits in the table.
> 
> Regards
> Sudeep
> 
> 
> On Fri, May 8, 2009 at 11:58 AM, nahidansar  wrote:
> 
> >
> >
> > After importing demo data for ax 2009. the items in the item master is not
> > displayed..plz let me know the solution. Thanks in advance.
> >
> > 
> >
> 
> 
> 
> -- 
> Warm Regards
> Sudeep.G
>




[Axapta-Knowledge-Village] Re: TTSBEGIN/TTSCOMMIT ERROR

2009-05-07 Thread r_ssh
Hi Anton,

TTS level '1' usually leaves your Ax session in an unusable state that 
you can't close properly.

Solution:
Open the AOT and run this job:
static void resetTTS(Args _args)
{
while (appl.ttsLevel() > 0)
ttsAbort;
}

It simply rolls back any pending transactions until the TTS level is back at 
zero. Hope this resove your issue.

Thanks
Santosh.R


--- In Axapta-Knowledge-Village@yahoogroups.com, "anton_tjiptadi" 
 wrote:
>
> Hi all,
> 
> Can someone help me to fix this error? It happened when I open a dialog after 
> some routine in my code.
> 
> An unbalanced X++ TTSBEGIN/TTSCOMMIT pair has been detected.
> 
> a) Cause of this includes too many/few TTSBEGIN or TTSCOMMIT.
> 
> b) Return calls within TTSBEGIN/TTSCOMMIT.
> 
> c) User interaction within TTSBEGIN/TTSCOMMIT pairs.
> 
> 
> 
> The current TTS level is `1'.
> 
> Any help/sudgestion will be appreciated. thanks
> 
> Regards,
> Anton
>




[Axapta-Knowledge-Village] Fwd: Re: Navigation Pane issue!!

2009-05-06 Thread r_ssh
Hi,

Could please refer my blog on Hiding Navigation pane
http://sangi1983.spaces.live.com/blog/cns!264A0056CBCBB1D3!213.entry

Instead of passing false as recommended in the blog just pass 'true' and check 
out if the navigation pane shows up.

Thanks
Santosh.R


--- In Axapta-Knowledge-Village@yahoogroups.com, "kardo_ax"  
wrote:
>
> thanks for your help but it didnt work up with me. I dont know its strange 
> the nav.pane doesnt show even on startup I have to use the short cut keys. 
> Not showing on startup and its empty or like getting halted.
> --- In Axapta-Knowledge-Village@yahoogroups.com, Ali Ýhsan Aðca 
>  wrote:
> >
> > Normally it has to work. Because I tried it with changing Main Menu 
> > (deleting all the menu references to create your case) and executing the 
> > command. Then it did empty navigation pane (without restarting client) and 
> > tried also vice versa.
> > 
> > Addition to that, Application class is near Info,Global.. classes (at 
> > bottom of the AOT\Classes node)
> > 
> > 
> > 
> > 
> > --- In Axapta-Knowledge-Village@yahoogroups.com, "kardo_ax"  
> > wrote:
> > >
> > > i just put the command in a job but nothing happens. Also cant find such 
> > > a class.Maybe im missing some details can you plz specify the steps?
> > > --- In Axapta-Knowledge-Village@yahoogroups.com, Ali Ýhsan Aðca 
> > >  wrote:
> > > >
> > > > Try with executing in a job.
> > > > If it works (it has to), put that command in Class: 
> > > > Application.startupPost method.
> > > > 
> > > > It will automatically be executed after client openned.
> > > > 
> > > > Ali Ihsan Agca.
> > > > 
> > > > --- In Axapta-Knowledge-Village@yahoogroups.com, "kardo_ax"  
> > > > wrote:
> > > > >
> > > > > How exactly to run it?
> > > > > --- In Axapta-Knowledge-Village@yahoogroups.com, Ali Ýhsan Aðca 
> > > > >  wrote:
> > > > > >
> > > > > > Try that command:
> > > > > > 
> > > > > > infolog.navPane().loadStartupButtons();
> > > > > > 
> > > > > > This will fill navigation pane according to AOT\Menus\MainMenu
> > > > > > 
> > > > > > --- In Axapta-Knowledge-Village@yahoogroups.com, "kardo_ax" 
> > > > > >  wrote:
> > > > > > >
> > > > > > > I can access the menus from AOT but the navigation pane is not 
> > > > > > > showing and when using AL+Shit+f1 just appears as a transparent 
> > > > > > > pane without anything inside
> > > > > > > --- In Axapta-Knowledge-Village@yahoogroups.com, "kardo_ax" 
> > > > > > >  wrote:
> > > > > > > 
> > > > > > > folders have been created in the AOT 
> > > > > > > --- In Axapta-Knowledge-Village@yahoogroups.com, Ali Ýhsan Aðca 
> > > > > > >  wrote:
> > > > > > > >
> > > > > > > > Can you check in AOT\Menus\MainMenu? If there is any Menu 
> > > > > > > > reference or not :)
> > > > > > > > 
> > > > > > > > --- In Axapta-Knowledge-Village@yahoogroups.com, "kardo_ax" 
> > > > > > > >  wrote:
> > > > > > > > >
> > > > > > > > > I uploaded the license and been through all points of the 
> > > > > > > > > check list
> > > > > > > > > --- In Axapta-Knowledge-Village@yahoogroups.com, Ali Ýhsan 
> > > > > > > > > Aðca  wrote:
> > > > > > > > > >
> > > > > > > > > > Maybe you have not load license yet?
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > --- In Axapta-Knowledge-Village@yahoogroups.com, "kardo_ax" 
> > > > > > > > > >  wrote:
> > > > > > > > > > >
> > > > > > > > > > > The case occurred right after finishing from the check 
> > > > > > > > > > > list. I didnt create any groups yet, Just using the 
> > > > > > > > > > > administrator
> > > > > > > > > > > 
> > > > > > > > > > >  --- In Axapta-Knowledge-Village@yahoogroups.com, "Craig 
> > > > > > > > > > > Fidler"  wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Is your user added to a group
> > > > > > > > > > > > 
> > > > > > > > > > > >  
> > > > > > > > > > > > 
> > > > > > > > > > > > From: Axapta-Knowledge-Village@yahoogroups.com
> > > > > > > > > > > > [mailto:axapta-knowledge-vill...@yahoogroups.com] On 
> > > > > > > > > > > > Behalf Of kardo_ax
> > > > > > > > > > > > Sent: Tuesday, May 05, 2009 1:43 PM
> > > > > > > > > > > > To: Axapta-Knowledge-Village@yahoogroups.com
> > > > > > > > > > > > Subject: [Axapta-Knowledge-Village] Navigation Pane 
> > > > > > > > > > > > issue!!
> > > > > > > > > > > > 
> > > > > > > > > > > >  
> > > > > > > > > > > > 
> > > > > > > > > > > > 
> > > > > > > > > > > > 
> > > > > > > > > > > > 
> > > > > > > > > > > > 
> > > > > > > > > > > > 
> > > > > > > > > > > > Hi all,
> > > > > > > > > > > > 
> > > > > > > > > > > > I have just installed AX2009 without SP1 and the 
> > > > > > > > > > > > navigation pane is not
> > > > > > > > > > > > showing and when using ctl+shift+f1 it shows as empty 
> > > > > > > > > > > > although all modules
> > > > > > > > > > > > are checked on!!! In the View menus the navigation pane 
> > > > > > > > > > > > options are dimmed??
> > > > > > > > > > > > Any advise??
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > 

[Axapta-Knowledge-Village] Re: Free Text Invoice Invoice Field

2009-05-06 Thread r_ssh
Hi Shasan,

Even though the Free text invoice is set to manual in Number sequence table you 
cannot edit because AllowEdit is set to 'No' for the "InvoiceId" in the 
CustInvoiceTable.

More the InvoiceId is extended via CustInvoiceId
\Data Dictionary\Extended Data Types\CustInvoiceId\Relations\CustInvoiceId == 
CustInvoiceJour.InvoiceId

If any value is passed explicitly it will result in a warning stating "The 
value 'XXX' in field 'Invoice' is not found in relating table 'Customer invoice 
journal'."

InvoiceId is fetched based on following piece of code
[invoiceId, voucher] = numberSeq.numAndVoucher(); 
in the [Classes\CustPostInvoice\run ].

If set to Manual then both invoiceId and voucher is null which results in the 
following error would be thrown
[Voucher number cannot be selected automatically.].
Code:
if (NumberSequenceTable::find(numberSequenceCode).Manual || 
NumberSequenceTable::find(voucherSequenceCode).Manual)
{
num = '';
voucher = '';
}

Thanks
Santosh.R   

--- In Axapta-Knowledge-Village@yahoogroups.com, S Hasan bukhari 
 wrote:
>
> Dear All,
>  
> The Invoice Filed in the Free Test Invoice is not allowing to enter any 
> Invoice number manually. The number sequance attached to it is set to Manual 
> but still its not disable.
>  
> Your prompt help is required.
>  
>  
> Regards,
> Hasan Bukhari
>




[Axapta-Knowledge-Village] Re: No interactive logon rights

2009-05-06 Thread r_ssh
Agus,

In the  Local Security Policy under Security Option you will find many 
interactive logon rights. Although i'm not sure on which is the one your 
looking for. 
I found one!But not sure whether this would resolve your issue. 
"Interactive logon: Require Domain Controller authentication to unlock"

Just try to look onto the different interactive logons provided in local 
Security settings.

Thanks
Santosh.R



--- In Axapta-Knowledge-Village@yahoogroups.com, Agus Riyadi  
wrote:
>
> Hi Santosh,
> 
> Thanks for your reply.
> Which specific setting is it? I don't find one similar to '%interactive
> logon%'.
> 
> I tried by opening domain security policy > windows setting > local policies
> > user right assignment > deny logon locally.
> I add the proxy account here but I tested it can still log on to computer in
> the domain.
> 
> Thanks and best regards,
> 
> Agus
> 
> On Mon, Apr 27, 2009 at 5:10 PM, r_ssh  wrote:
> 
> >
> >
> > Hi Agus,
> >
> > Have you tried checking in Local Security Policy. Under Security Setting >>
> > Local Policies >> Security option.
> >
> > Thanks
> > Santosh.R
> >
> >
> > --- In 
> > Axapta-Knowledge-Village@yahoogroups.com,
> > Agus Riyadi  wrote:
> > >
> > > Hi All,
> > >
> > > Ax document recommends that domain account that is used as business
> > > connector proxy should be set with the following option :
> > > - password does not expire
> > > - no interactive logon rights
> > > However I can't find the second option 'no interactive logon rights',
> > both
> > > in Windows 2000 and Windows 2003.
> > >
> > > Can someone tell me where to set this? Is this something to do in the
> > group
> > > policy instead?
> > >
> > > Thanks and best regards,
> > >
> > > Agus
> > >
> >
> >  
> >
>




[Axapta-Knowledge-Village] Re: No interactive logon rights

2009-05-02 Thread r_ssh
Hi Agus,

Have you tried checking in Local Security Policy. Under Security Setting >> 
Local Policies >> Security option.

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, Agus Riyadi  
wrote:
>
> Hi All,
> 
> Ax document recommends that domain account that is used as business
> connector proxy should be set with the following option :
> - password does not expire
> - no interactive logon rights
> However I can't find the second option 'no interactive logon rights', both
> in Windows 2000 and Windows 2003.
> 
> Can someone tell me where to set this? Is this something to do in the group
> policy instead?
> 
> Thanks and best regards,
> 
> Agus
>




[Axapta-Knowledge-Village] Re: Upgrade Problem - Ax4.0 SP2 to Ax2009.

2009-04-24 Thread r_ssh
Hi Mukesh,

The error might be due to insufficient admin privileges. 
Please check the following query in sql
select * from AccessRightsList 
Check the GroupID & DomainID. <>

Since AX4 & AX2009 uses the windows credentials. Only the administrator will 
have access. If your not the administrator user to logon ax then update the 
user information in SQL table (sysUserInfo).

Thanks
Santosh

--- In Axapta-Knowledge-Village@yahoogroups.com, Mukesh Kumar 
 wrote:
>
> Hi,
> 
>   I am trying to upgrade Ax4.0 SP2 to Ax2009. I have followed the steps
> that is given in the upgrade guide. At the time of Login in to Ax after all
> the setups, System is giving the following message.
> 
> *Cannot create a record in Group rights (AccessRightsList). Group: Admin,
> Admin.
> The SQL database has issued an error.
> 
> Cannot create a record in System Events (SysEvent). Event ID: 21, Refresh
> Data Cache.
> The SQL database has issued an error.
> 
> *Please guide me in this matter if somebody already faced that problem
> earlier.
> 
> -- 
> Mukesh Mutreja
> # 09818421567
>




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

2009-04-21 Thread r_ssh
Amar,

By default you would have checked 
Users(amar_senapati\Users)in security tab to full control. 
But this would still have an issue. 

Instead Add your user again under Security Tab and give full privilages. Do the 
same for the xML file also. 
Special permission needs to be given only for xML before Inbound processing is 
performed.

1) Right click on xML >> pROPERTIES >> Advanced >>(Under Advanced Security for 
the xML) >> Click Owner Tab and select the user which was created under 
security Tab recently.

This should indeed resolve your issue. Please revert back if you have any 
concerns.

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, "amar_senapati2000" 
 wrote:
>
> Thanks Sumit and Santosh for your help.
> 
> I did checked all the seetings like folder ownerships, file ownerships..  and 
> found the ownership is assigned to the same AD account ( amar_senapati) only. 
> I am logging into AX 2009 using this account. The XML document file also 
> using the same account.
> 
> I am still getting the same error ..
> 
> Regards,
> Amar
> 
> --- In Axapta-Knowledge-Village@yahoogroups.com, Sumit Loya  
> wrote:
> >
> > Thanks Santosh,
> > 
> > Sorry Amar, mailed in a hurry so cudnt give you the exact way of configuring
> > the security policy. This is what you need to do as a part of AIF setup.
> > 
> > Regards,
> > Sumit
> > 
> > On Tue, Apr 21, 2009 at 9:25 AM, r_ssh  wrote:
> > 
> > >
> > >
> > > Hi Amar,
> > >
> > > Sumit was referring when AIF processing is done a warning would be thrown
> > > stating "Cannot be read because the submitting user could not be 
> > > determined.
> > > The default owner for objects created by members of the Administrators 
> > > group
> > > must be set to the object creator."
> > >
> > > To avoid the above error do the following steps for file system adapters.
> > >
> > > Before you create the folder for the inbound file system adapter on the
> > > server, complete the following:
> > >
> > > a) Click Start > Programs > Administrative Tools > Local Security Policy.
> > >
> > > b) On the Local Security Settings menu, navigate to Security Settings >
> > > Local Policies > Security Options.
> > >
> > > c) Change the Security Settings for the System Objects: Default owner for
> > > objects created by members of the administrator's group from 
> > > Adminstrator's
> > > group to Object creator.
> > >
> > > d) Log off and log back on to the computer.
> > >
> > > e) Create the folder for the inbound file system transfer.
> > >
> > > f) Verify that the owner of the folder is the user sending the document to
> > > Microsoft Dynamics AX (the submitting user) by:
> > >
> > > g) Right-clicking the folder and selecting Properties, and then
> > > Clicking Advanced on the Security tab to view the Advanced Security
> > > Settings.
> > > The owner of the folder is shown on the Owner tab.
> > >
> > > After these settings are done place the XML file in that particular 
> > > folder.
> > > Now run the AIF job to read the xml and to create the records in Ax2009.
> > >
> > > Thanks
> > > Santosh.R
> > >
> > >
> > > --- In 
> > > Axapta-Knowledge-Village@yahoogroups.com,
> > > "amar_senapati2000"  wrote:
> > > >
> > > > Hi Sumit,
> > > >
> > > > I didnt get the pointer
> > > >
> > > > Can you explain little bit more and the exact path ...for this security
> > > option to check in my system...
> > > >
> > > > Thanks
> > > > Amar
> > > >
> > > > --- In 
> > > > Axapta-Knowledge-Village@yahoogroups.com,
> > > Sumit Loya  wrote:
> > > > >
> > > > > 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 wrote:
> > > > >
> > > > > >
> > > 

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

2009-04-20 Thread r_ssh
Hi Amar,

Sumit was referring when AIF processing is done a warning would be thrown 
stating "Cannot be read because the submitting user could not be determined. 
The default owner for objects created by members of the Administrators group 
must be set to the object creator."

To avoid the above error do the following steps for file system adapters. 

Before you create the folder for the inbound file system adapter on the server, 
complete the following: 

a) Click Start > Programs > Administrative Tools > Local Security Policy. 

b) On the Local Security Settings menu, navigate to Security Settings > Local 
Policies > Security Options. 

c) Change the Security Settings for the System Objects: Default owner for 
objects created by members of the administrator's group from Adminstrator's 
group to Object creator. 

d) Log off and log back on to the computer. 

e) Create the folder for the inbound file system transfer. 

f) Verify that the owner of the folder is the user sending the document to 
Microsoft Dynamics AX (the submitting user) by: 

g) Right-clicking the folder and selecting Properties, and then 
   Clicking Advanced on the Security tab to view the Advanced Security 
Settings. 
The owner of the folder is shown on the Owner tab. 

After these settings are done place the XML file in that particular folder. Now 
run the AIF job to read the xml and to create the records in Ax2009. 

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, "amar_senapati2000" 
 wrote:
>
> Hi Sumit,
> 
> I didnt get the pointer
> 
> Can you explain little bit more and the exact path ...for this security 
> option to check in my system...
> 
> Thanks
> Amar
> 
> --- In Axapta-Knowledge-Village@yahoogroups.com, Sumit Loya  
> wrote:
> >
> > 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 wrote:
> > 
> > >
> > >
> > > You must have configure the Business Connector Proxy user. Make sure
> > > that user has access.
> > >
> > > On Mon, Apr 20, 2009 at 8:10 AM, Amar Senapati
> > > > wrote:
> > > >
> > > >
> > > >
> > > > Hi All,
> > > >
> > > > I am trying to use the AIF file adapter to integarte with other system. 
> > > > I
> > > am
> > > > using AX 2009 in Windows 2008 Server and SQL Server 2008 standard
> > > edition..
> > > >
> > > > I have done all the AIF basic set ups ( end points , channels etc..). I
> > > am
> > > > testing for a inbound process. I used the CreateSalesOrder XML file (
> > > > samples provided by MS ). I changed the message id, domian etc to the 
> > > > XML
> > > > file as per my AX 2009 settings.
> > > >
> > > > When i run the batch process , I am getting below error saying the
> > > adapter
> > > > is unable to read the file. The error is "The file system adapter is
> > > unable
> > > > to read the file D:\AIF\InBound\CreateSalesOrder.xml. Error: Access to
> > > the
> > > > path 'D:\AIF\InBound\CreateSalesOrder.xml' is denied."
> > > >
> > > > I checked all the folder sharing , security setups. The folder sharing
> > > and
> > > > security full access is given for the AD user id used for AX 2009 login.
> > > The
> > > > user id is administrator in AX2009 system. I have also checked the owner
> > > of
> > > > the file and its the same AD user id.
> > > >
> > > > Please suggest or point me , if i missed any other settings.
> > > >
> > > > Thanks in Advance.
> > > > Amar
> > > >
> > > > Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo!
> > > Edition
> > > > http://downloads.yahoo.com/in/firefox/
> > > >
> > > >
> > >
> > > 
> > >
> >
>




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

2009-04-20 Thread r_ssh
Hi Amar,

The error is "The file system adapter is unable to read the file 
D:\AIF\InBound\CreateSalesOrder.xml. Error: Access to the path 
'D:\AIF\InBound\CreateSalesOrder.xml' is denied."

Make sure the folder has proper privileges access to the user. 
Pease add your userId to the folder security option and specify FULL 
RIGHTS.Same needs to followed for xML file also. 

Hope this resolve your issue. If you still have any issue please revert back.

Thanks
Santosh.R
--- In Axapta-Knowledge-Village@yahoogroups.com, Amar Senapati 
 wrote:
>
> 
> Hi All,
> 
> I am trying to use the AIF file adapter to integarte with other system. I am 
> using AX 2009 in Windows 2008 Server and SQL Server 2008 standard edition..
> 
> I have done all the AIF basic set ups ( end points , channels etc..). I am 
> testing for a inbound process. I used the CreateSalesOrder XML file ( samples 
> provided by MS ). I changed the message id, domian etc to the XML file as per 
> my AX 2009 settings.
> 
> When i run the batch process , I am getting below error saying the adapter is 
> unable to read the file. The error is "The file system adapter is unable to 
> read the file D:\AIF\InBound\CreateSalesOrder.xml. Error:  Access to the path 
> 'D:\AIF\InBound\CreateSalesOrder.xml' is denied."
> 
> I checked all the folder sharing , security setups. The folder sharing and 
> security full access is given for the AD user id used for AX 2009 login. The 
> user id is administrator in AX2009 system. I have also checked the owner of 
> the file and its the same AD user id.
> 
> Please suggest or point me , if i missed any other settings.
> 
> Thanks in Advance.
> Amar
> 
> 
>   Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! 
> Edition http://downloads.yahoo.com/in/firefox/
>




[Axapta-Knowledge-Village] Re: AX 2009 training material path

2009-04-20 Thread r_ssh
Hi Seetharaman,

Kindly request you to have a look at the follwoing blog
http://blogs.msdn.com/ukax/
http://daxguy.blogspot.com/2008/08/ax-2009-documents.html

May be this would give the material required for the same.

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, "see_5623" 
 wrote:
>
> Hi,
> 
> Could anyone share with me AX 2009 training material link(Partner source or 
> anyother).
> 
> Thanks in advance,
> See5623.
>




[Axapta-Knowledge-Village] Re: Adding a button to a form

2009-04-16 Thread r_ssh
Girac,

If you requirement is something like opening the document directly instead of 
doing the same thru multiple forms. Then override the clicked() method of the 
button with the following piece of code

WinApi::shellExecute('winword.exe') --> This will directly open the documents. 
But the limitation is you need to manually find the document in system and its 
not the same functionality as DocuView does.

Thanks
Santosh

--- In Axapta-Knowledge-Village@yahoogroups.com, "Girac"  wrote:
>
> Hello Santosh
> I have that option checked and have the button next to my alert, but I want 
> to add a button on the form that when pressed will open the Document handler 
> and select my "New>Document" that I specify, instead of the user having to 
> click the DocHandler, then New, then find the right word document as that 
> will ba many to choose from.
> 
> 
> 
> 
> --- In Axapta-Knowledge-Village@yahoogroups.com, "r_ssh" 
>  wrote:
> >
> > Hi Girac,
> > 
> > Any form which is designed will have the "Document handling" button readily 
> > available.
> > 
> > Please enable the Document Handling via
> > 
> > Tools > Options > Enable Document Handling active.(This is generic way 
> > where it enables globally to all the forms in AX)
> > 
> > Hope this answers your query.
> > 
> > Thanks
> > Santosh.R
> > 
> > --- In Axapta-Knowledge-Village@yahoogroups.com, "Girac"  wrote:
> > >
> > > I would like to add a document handler button to a form of mine and only 
> > > have the document show up. 
> > > I dont have alot of ax programming, can anyone shed light on how this is 
> > > done. 
> > > 
> > > best regards,,,
> > > 
> > > 
> > > g
> > >
> >
>




[Axapta-Knowledge-Village] Re: Adding a button to a form

2009-04-15 Thread r_ssh
Hi Girac,

Any form which is designed will have the "Document handling" button readily 
available.

Please enable the Document Handling via

Tools > Options > Enable Document Handling active.(This is generic way where it 
enables globally to all the forms in AX)

Hope this answers your query.

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, "Girac"  wrote:
>
> I would like to add a document handler button to a form of mine and only have 
> the document show up. 
> I dont have alot of ax programming, can anyone shed light on how this is 
> done. 
> 
> best regards,,,
> 
> 
> g
>




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

2009-04-09 Thread r_ssh
Hi Khalil Rehman,

Example: To add OR condition in a IF condition.
if(ledgerJournalTable.JournalName == "BPV")||(ledgerJournalTable.JournalName == 
"VEN_INV")

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, Khalil Rehman 
 wrote:
>
> 
> Dear All,
> 
>  
> 
> how we can add OR Condition in IF Condition
> 
>  
> 
> e.g. if  (ledgerJournalTable.JournalName == "BPV")   or 
> (ledgerJournalTable.JournalName == "VEN_INV")
> 
> 
>  
> 
> so how we can add OR condition in between two conditions.
> 
>  
> 
> your urgent reply is needed. 
> 
>  
> 
> thanks in advance.
> 
> 
> 
>   KHALIL UR REHMAN  
> 
> 
> 
> _
> Invite your mail contacts to join your friends list with Windows Live Spaces. 
> It's easy!
> http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
>




[Axapta-Knowledge-Village] Re: reg : Error code 80

2009-04-05 Thread r_ssh
Hi Raja,

Are you trying to upgrade from 4.0SP1 --> 4.0 SP2?
Try copying the aod files of 4.0SP2 and restart the AX client and this should 
work and upgrade checklist should be completed.

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, Raja Mani  
wrote:
>
> Dear All,
> 
> I Installed Ax4.0 Sp1 and i completed installation check list.Then I stopped 
> the Ax Service and replaced SP2 Standard folder.
> 
> At the time of starting service it was throwed some error code 80.
> 
> how can i resolved that issue.
> 
> Thanks in Advance,
> Raja
>




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

2009-04-02 Thread r_ssh
Hi Morten,

As per my knowledge AX2009 has issue with batch debugging and we can use other 
way to crack the issue. You can just play around with code.

Try using "SysExceptionLog" class to know what is happening at the backend 
during batch processing. Any log can be written using the above class.

Here is the small example to showcase as to how we can play around if unable to 
debug a class thru batch.

In the AifInboundMsgProcess class, logState method we wanted to what userId is 
processed during inbound processing.
//Write a message to the event log
exceptionLog = new SysExceptionLog();
exceptionLog.writeEntry(Exception::Info, 
strfmt("AifInboundMsgProcess::logState(): recId: %1, EndpointUserId: %2", 
gatewayQueue.RecId, gatewayQueue.EndpointUserId), _module); 

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, "morlopen"  
wrote:
>
> Hello,
> 
> I am trying to debug a class while it runs as a batchjob on the AOS. This 
> does not work for me.
> 
> I have inserted a global breakpoint in the code using the breakpoint 
> statement. Then I start up the debugger and put the class in the batch queue. 
> The class is executed, but nothing happens in the debugger. I have tried 
> running the debugger on the client and also on the AOS server.
> 
> In the server configuration utility I have activated 'Enable breakpoints to 
> debug X++ code running on this server' and 'Enable global breakpoints to 
> debug X++ code running in batch jobs'. Have you experienced this problem?
> 
> Regards,
> Morten Løpen
>




[Axapta-Knowledge-Village] Re: reg : BUS layer issue

2009-04-02 Thread r_ssh
Hi Rajaa,

Could you please verify if the AX Server configuration has Application file 
location set to "Standard" folder OR ANY OTHER FOLDER?? 

If that is so... 

1) Try to stop AOS server.
2) Paste AxBUS.aod file in the application folder.
3) Restart the AX services

Hope this resolves the issue.

Thanks
Santosh.R
--- In Axapta-Knowledge-Village@yahoogroups.com, Raja Mani  
wrote:
>
> Hi Everyone,
> 
> Actually i was developed some form,reports and menuitems(like module) in BUS 
> Layer..
> 
> I just paste that AxBUS.AOD to my client machine(End User) standard folder.
> 
> In EndUser machine not  showing those customization.
> 
> Note : I didn't import those customization..I just paste that BUS Layer AOD 
> 
> anyone help me out that issue.
> 
> Thanks,
> Raja
>




[Axapta-Knowledge-Village] Re: Table's ValidateWrite() method is executed when moving from one tab to another.

2009-04-02 Thread r_ssh
Hi GeetRamesh,

Validatewrite will be invoked only when you move the focus from one tab to 
another where the datasources is/are different. 

For Example in "CustTable" form
When you change tabs, the table changes, as a result system (kernel) requires 
to save data on previous table when user moves to details tab(DirPartyTable), 
since one of mandatory fields is not filled in CustGroup, system shows an 
infolog.
As the focus is set back to the form the INFOLOG appears recursively, since 
each form opens in a new window for AX2009 thereby the position is set on the 
active form.

The only way to that is change focus back to other("Overview") tab and close 
the infolog window.This is the how the kernel designed behaves.

What i would suggest is to design a simple form with two tab and refer to the 
same datasource. Try checking if still the validateWrite method is invoked when 
u change tab.

Thanks
Santosh.R
--- In Axapta-Knowledge-Village@yahoogroups.com, "geethramesh" 
 wrote:
>
> Hi,
> 
> I have a form with multiple datasources.
> In the grid, when I move from one tab to another, where the datasource is the 
> same between the tabs moved, the table's validatewrite method is executed.
> 
> Is there any reason why the validatewrite is executed, inspite of me not 
> forcing the insert into the table when the tab is changed?
> 
> 
> Thanks in advance,
> GR.
>




[Axapta-Knowledge-Village] Re: Ledger account for Vendor invoice account

2009-04-01 Thread r_ssh
Hi Khalil,

Make sure that the ledger account is filled in purchLine.

AP > PO > PurchLine >Setup(Tab) > Under Posting > LedgerAccount

Hope this resolves your issue.

Thanks
Santosh.R

--- In Axapta-Knowledge-Village@yahoogroups.com, "Ali Jawad"  
wrote:
>
> Hi,
> 
>  
> 
> I am getting an  error while posting invoice from purchase order that says
> ledger account missing for vendor invoice discount.
> 
> Where exactly I can set this account?
> 
>  
> 
>  
> 
>  
> 
> Regards,
> 
> Ali
>




[Axapta-Knowledge-Village] Re: How to pick the relevant Packing slip Id for every Sales Invoice number.

2009-04-01 Thread r_ssh
The packing slip ID and invoice ID are identical to each other.

--- In Axapta-Knowledge-Village@yahoogroups.com, "prasanna_koulgi" 
 wrote:
>
> --- In Axapta-Knowledge-Village@yahoogroups.com, "rohvas"  wrote:
> 
> Hi,
> 
> In the Inventtrans table both fields are avaliable i.e. Sales Invoice number 
> & relevant packing slip id 
> 
> PRASANNA
> 
> >
> > Hi,
> > Is it possible to pick up the relevant packing slip id for every sales 
> > invoice number provided I have only Sales Invoice number & its voucher info 
> > in the Ledger Transactions form?
> > 
> > Kindly guide me on this.
> > 
> > Best Regards,
> > Rohini.
> >
>