Tally Prime Ledger & Group Security TDL
I can help you for tdl. However, please note that I can provide you with a general outline of how to create a TDL (Tally Definition Language) code for ledger and group security in Tally Prime, but writing the complete code would require a more detailed understanding of your specific requirements. Here's an example of how you can approach it:
```xml
<ENVELOPE>
<HEADER>
<VERSION>1</VERSION>
<TALLYREQUEST>Import</TALLYREQUEST>
<TYPE>Data</TYPE>
<ID>Ledger & Group Security</ID>
</HEADER>
<BODY>
<IMPORTDATA>
<REQUESTDESC>
<REPORTNAME>Ledger & Group Security</REPORTNAME>
<STATICVARIABLES>
<SVCURRENTCOMPANY>YourCompany</SVCURRENTCOMPANY>
</STATICVARIABLES>
</REQUESTDESC>
<REQUESTDATA>
<TALLYMESSAGE xmlns:UDF="TallyUDF">
<!-- Define Group Security -->
<GROUP NAME="Group1">
<SECURITY>Read</SECURITY>
</GROUP>
<GROUP NAME="Group2">
<SECURITY>Full</SECURITY>
</GROUP>
<!-- Define Ledger Security -->
<LEDGER NAME="Ledger1">
<SECURITY>Read</SECURITY>
</LEDGER>
<LEDGER NAME="Ledger2">
<SECURITY>Full</SECURITY>
</LEDGER>
</TALLYMESSAGE>
</REQUESTDATA>
</IMPORTDATA>
</BODY>
</ENVELOPE>
```
In the above code, you can see the XML structure required for creating ledger and group security using TDL in Tally Prime. The `<GROUP>` tag is used to define group security, and the `<LEDGER>` tag is used to define ledger security. Within each tag, you can specify the security level using the `<SECURITY>` tag, which can be set to "Read" or "Full".
You can customize the code by adding or modifying the group and ledger names as per your requirements. Additionally, you may need to include other relevant tags or attributes based on the specific security settings or conditions you want to implement.
Please note that TDL code can be complex, and it's recommended to refer to the TDL documentation or consult with a Tally expert for a more detailed implementation specific to your needs.
Comments
Post a Comment