[Axapta-Knowledge-Village] Re:How to Import XMl file to Ax

2008-04-25 Thread suneel babu





HI .,  Thanks for ur Reply.,   And i Explain in detail  
My customer has gave a sales invoice in XML format. now import it 
in to Ax. so i want to know 'how to export that invoice in to Ax'.  
Thanks in advance 
*Hi,What kind of XML file 
are you thinking of?To read a custom XML file you can use the XmlDocument and 
XmlNode classes provided in Ax. See small example below for looping through an 
xml file:XmlDocument xmlDoc;XmlNode xmlRootNode;XmlNode xmlElement;int 
elementIdx;;xmlDoc = 
XmlDocument::newBlank();xmlDoc.load('c:\test.xml');xmlRootNode = 
xmlDoc.documentElement();for(elementIdx=0;elementIdxxmlRootNode.childNodes().length();elementIdx++){xmlElement
 = 
xmlRootNode.childNodes().item(elementIdx);info(xmlElement.name());}Regards,Anders
 SorensenThis posting is provided 'AS IS' with no warranties, and confers no 
rights.From: Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] 
On Behalf Of suneel babuSent: 24. april 2008 06:29To: Development; Axapta 
Knowledge villageSubject: [Axapta-Knowledge-Village] How to Import XMl file to 
AxHi All.,I want to know process of 'importing XML file to Ax'.Regards.,Suneel.

Windows Live Spaces : Help your online world come to life, add 500 photos a 
month. Try it! 
_
Video: Get a glimpse of the latest in Cricket, Bollywood, News and Fashion. 
Only on MSN videos.
http://video.msn.com/?mkt=en-in

[Axapta-Knowledge-Village] No Transaction Recods

2008-04-25 Thread Rajkumar
Hi,
I have to print a report which needs to fetch records from InventTable 
and InventTrans for items which have no physical transaction during a 
defined period(dates).

I have created a query in inventTable and trying to loop through the 
inventrans records in fetch method and find the items which are not 
falling in the defined period. The retrived items are passed using 
element.send(inventTable). It takes lot of time to print the data. Can 
anybody suggest the proper way to do this.

Regards 



[Axapta-Knowledge-Village] How to Import the VAR Layer Object into a USR Layer

2008-04-25 Thread s_siet4u
Hi All,
Can any one tell me how to import the VAR(Development Layer) 
Layer to the User Layer. i have developed some customization in a VAR 
Layer. i want to import this customization into the USR Layer.
Please help me out its a very Urgent.



Re: [Axapta-Knowledge-Village] Export to Excel

2008-04-25 Thread Sankar Ganesh S
Hi Ms.Priyanka

you can use the Excel buffer(Table No.370) to export
in excel. presently iam using this, it is working
fine.
1. Create the book
2. Insert it in to the excel buffer as per you
requirement.
3. finally create the create sheet.

regards
S Sankar ganesh

--- [EMAIL PROTECTED] wrote:

 Hi All,
   I have one report, which when exported to excel
 doesnt comes in proper
 format.Is there any other way to export the report
 in excel, may be
 through coding as possible in Navision.
 
 Thanks in advance.
 Regards
 Priyanka
 
 



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


[Axapta-Knowledge-Village] Reg:Hiding Code in Axapta

2008-04-25 Thread luvuprasad
Hi All,

I have a query ,could anyone help me.We have developed few
customizations in Axapta.Now we want to give those customizations  to
our client for a trail run.Here we want to hide the X++ code which he
cannot copy or delete or edit the code.how should  i proceed.


Please reply ASAP


Prasad



RE: [Axapta-Knowledge-Village] How to Import the VAR Layer Object into a USR Layer

2008-04-25 Thread Harry Deshpande
Hi

Go to Application - DBSysncronize , set return true at the top.

Export your code out of VAR Layer, make sure that you are exporting with ID's.

Delete your code from VAR Layer.

Log out and start Ax in USR Layer.

Import your project, make sure you are importing with ID's.

Remove the changes to application - DBSyncronize.

Regards


Harry Deshpande
http://blogs.msdn.com/axperf


This posting is provided AS IS with no warranties, and confers no
rights. Use of included script samples are subject to the terms
specified at http://www.microsoft.com/info/cpyright.htm;
The code provided (if any) may be written from the point of view of a
third party and the programming style/development standards may suit
such a point of view.

From: Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
Behalf Of s_siet4u
Sent: Friday, April 25, 2008 3:18 AM
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: [Axapta-Knowledge-Village] How to Import the VAR Layer Object into a 
USR Layer


Hi All,
Can any one tell me how to import the VAR(Development Layer)
Layer to the User Layer. i have developed some customization in a VAR
Layer. i want to import this customization into the USR Layer.
Please help me out its a very Urgent.