xml 在理货中创建成本中心的格式

xml format for creating cost centre in tally

在主要组下的理货中创建单个新成本中心的xml格式是什么。

例如。在 'Sundry Debtors' 下创建名为 'My Debtors' 的组的 XML 标签如下:

<!--XML tags to create a Group named My Debtors under Sundry Debtors-->
<ENVELOPE>
    <HEADER>
        <TALLYREQUEST>Import Data</TALLYREQUEST>
    </HEADER>
    <BODY>
        <IMPORTDATA>
            <REQUESTDESC>
                <REPORTNAME>All Masters</REPORTNAME>
            </REQUESTDESC>
            <REQUESTDATA>
                <TALLYMESSAGE xmlns:UDF="TallyUDF">
                    <GROUP NAME="My Debtors" ACTION="Create">
                        <NAME.LIST>
                            <NAME>My Debtors</NAME>
                        </NAME.LIST>
                        <PARENT>Sundry Debtors</PARENT>
                        <ISSUBLEDGER>No</ISSUBLEDGER>
                        <ISBILLWISEON>No</ISBILLWISEON>
                        <ISCOSTCENTRESON>No</ISCOSTCENTRESON>
                    </GROUP>
                </TALLYMESSAGE>
            </REQUESTDATA>
        </IMPORTDATA>
    </BODY>
</ENVELOPE>

我终于明白了:

<ENVELOPE>
    <HEADER>
        <TALLYREQUEST>Import Data</TALLYREQUEST>
    </HEADER>
    <BODY>
        <IMPORTDATA>
            <REQUESTDESC>
                <REPORTNAME>All Masters</REPORTNAME>
            </REQUESTDESC>
            <REQUESTDATA>
                <TALLYMESSAGE xmlns:UDF="TallyUDF">
                    <COSTCENTRE NAME="NewCostCentre">
                        <NAME>NewCostCentre</NAME>
                    </COSTCENTRE>
                </TALLYMESSAGE>
            </REQUESTDATA>
        </IMPORTDATA>
    </BODY>
</ENVELOPE>