Wednesday, October 17, 2007

Tips: Enable company/user template when created new form with new table

It is pretty simple. Go and check your new table, look at TableGroup property, and set the value to Group/Main.

There is some info in Dev Guide 4.0 (grabbed from internet):

Table groups constitute a way to categorize tables according to the types of data they hold. Determining group membership, though, is not an exact science but more of a conceptual definition. But when determining group membership for your own tables, follow the standards in the Microsoft Axapta application.

Parameter
The table holds data primarily used as parameters or setup information for one of the Main tables. The table typically holds only one record.
CustParameters, VendParameters

Group
The table holds data primarily used to categorize one of the Main tables. There is a one-to-many relationship between Group and Main.
CustGroup, VendGroup

Main
The table is one of the principal tables in the application and holds data for a central business object. The table typically holds static, base information.
There is a one-to-many relationship between Main and Transaction.
CustTable, VendTable

Transaction
The table holds transaction data. Typically the table is not used for data entry directly.
CustTrans, VendTrans

WorksheetHeader
The table typically categorizes information in the WorkSheetLine tables.
There is a one-to-many relationship between WorkSheetHeader and WorkSheetLine.
SalesTable

WorksheetLine
The table holds information to be validated and made into transactions. Compared to the information in Transaction tables, the information in WorkSheetLine tables is temporary and may be deleted without affecting system stability.
SalesLine

Miscellaneous
The table does not fit in any of the other categories.

No comments: