Download the Excel sheet and XML tags file for Exercise 5.
Explanation
Before creating STOCKITEM masters, we need to create the other Masters viz. UNIT and STOCKGROUP. The XML tags for same are given herewith for your reference.
XML tags to create UNIT Masters
<MASTER TYPE="UNIT"/>
<NAME COLUMNREFERENCE="C"/>
<ISSIMPLEUNIT>Yes</ISSIMPLEUNIT>
</MASTER>
Remarks:-
1) The UNIT Master does not support Aliases. Hence, we cannot use the <NAME.LIST> tag as used in other Masters.
2) The above tags instruct UDIMagic to create UNIT Masters based upon Column C data in Excel Sheet.
XML tags to create STOCKGROUP Masters
<MASTER TYPE="STOCKGROUP"/>
<NAME.LIST>
<NAME COLUMNREFERENCE="B"/>
<NAME.LIST>
</MASTER>
Remarks:-
1) The above tags instruct UDIMagic to create STOCKGROUP Masters based upon Column B data in Excel Sheet.
XML tags to create STOCKITEM Masters
<MASTER TYPE="STOCKITEM"/>
<NAME.LIST>
<NAME COLUMNREFERENCE="A"/>
<NAME.LIST>
<!-- STOCKGROUP Name to be taken from Column B-->
<PARENT COLUMNREFERENCE="B"/>
<!-- BASEUNITS to be taken from Column C-->
<BASEUNITS COLUMNREFERENCE="C"/>
<!-- PART NUMBER to be taken from Column D-->
<ADDITIONALNAME COLUMNREFERENCE="D"/>
</MASTER>
Remarks:-
1) The <ADDITIONALNAME> tag is used to specify the Part Number.
2) You can also specify Alias for Part-number using the following tags:-
<ADDITIONALNAME.LIST>
<ADDITIONALNAME>....Part No....</ADDITIONALNAME>
<ADDITIONALNAME>....Alias1 for Part No....</ADDITIONALNAME>
<ADDITIONALNAME>....Alias2 for Part No....</ADDITIONALNAME>
</ADDITIONALNAME.LIST>
Tips:-
1) Use Internet Explorer (or Firefox) to view the XML tags file.
2) For editing the XML tags, you can use any XML Editor (like Microsoft Visual Web Developer 2005 Express Edition).
3) You can get the Tally XML tags for any Master from Tally Software itself. All you need to do is to manually enter a dummy record in Tally and then Export it using option "Gateway of Tally >> Display >> List of Accounts >> Alt+E". This generates the XML tags for the Master record in file MASTER.XML
No comments:
Post a Comment