New/Import Option Syntax->
<TOOL STYLE="MNU" NAME="MenuName" KEY="IDFormenu" >
<TOOL BG="1" STYLE="BUT" NAME="SubMenuName" KEY="IDForSubMenuName " CAT="Category">
<TAG>
<FRM KEY="Form’s Name">
<PARAMS CompanyID="%IDField%" DocType="TP" ACTION="Import"/>
</FRM>
</TAG>
</TOOL>
<TOOL BG="1" STYLE="BUT" NAME="SubMenuName" KEY="IDForSubMenuName" CAT=" Category ">
<TAG>
<FRM KEY="FormName"/>
</TAG>
</TOOL>
</TOOL>
Listing Option Syntax->
<TOOL BG="1" STYLE="BUT" NAME="SubMenuName" KEY="IDForSubMenuName" >
<TAG>
<VIEW KEY="View’s Name">
</VIEW>
</TAG>
</TOOL>
Description:
STYLE -Need to set MNU for Menu and BUT for SubMenu.
NAME ->User can set MenuName and SubMenuName in this block.
E.g-> Master, Company, New Company
KEY->User can set Keys for IDFormenu and IDForSubMenuName in this block. It is should be Unique.
E.g-> ID_Master, ID_MnuComp, ID_MnuNewComp, ID_GstImportVouchTaxpComp
BG->Used for separator between two menu.
E.g-> BG="1"
CAT-> User can set Category in this block.
E.g->CAT
TAG ->All Forms and views key should be define between
<TAG> and </TAG>
FRM KEY->User Can set Form Key Name which is define in table Clientfrmprn.
E.g-> frmGstImportVouch, frmGstCompany
PARAMS->User can pass default values for called forms.
E.g-> CompanyID= IDField like CompanyID define in Systables
DocType=TP
ACTION->Require in case of Import Data.
E.g->Import
VIEW KEY->User can set View name which is define in table Clientviews.
E.g-> ListgstComp
Output->