Table
FBRevenueSourceSetup_BR
Revenue source per item
Setup table used for Brazil. It links an item, an item group or all items to a fiscal classification, a taxation code and a revenue source code. It has no defined key.
- Table name
FBRevenueSourceSetup_BR- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ItemCodeSays whether the setup line applies to a single item, an item group or all items. | EnumTableGroupAll (enum) | No | None | |
ItemRelationThe item or item group the line applies to, depending on the item code. | String (20)InventItemRelation | No | InventItemGroup.ItemGroupIdInventTable.ItemId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RevenueSourceCodeThe revenue source code assigned to this combination. | String (3)FBRevenueSource_BR | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxationCodeThe taxation code the line applies to. | String (3)TaxationCode_BR | Yes | None | |
TaxFiscalClassificationIDThe fiscal classification code the line applies to. | StringTaxFiscalClassificationId_BR | No | TaxFiscalClassification_BR.FiscalClassificationId | None |
Indexes (1)
FBRevenueSourceSetupIdxItemCode,ItemRelation,TaxFiscalClassificationID,TaxationCodeUnique.
Relations (5)
Each relation joins FBRevenueSourceSetup_BR to another table on the fields shown.
InventTable→InventTableJoin on
ItemCode = TableGroupAll::Table,ItemRelation = InventTable.ItemIdMany FBRevenueSourceSetup_BR records → zero or one InventTable record
InventItemGroup→InventItemGroupJoin on
ItemCode = TableGroupAll::GroupId,ItemRelation = InventItemGroup.ItemGroupIdMany FBRevenueSourceSetup_BR records → zero or one InventItemGroup record
TaxFiscalClassification_BR→TaxFiscalClassification_BRJoin on
ItemCode = TableGroupAll::All,TaxFiscalClassificationID = TaxFiscalClassification_BR.FiscalClassificationIdMany FBRevenueSourceSetup_BR records → zero or one TaxFiscalClassification_BR record
TaxationCodeTable_BR→TaxationCodeTable_BRJoin on
TaxationCode = TaxationCodeTable_BR.TaxationCodeMany FBRevenueSourceSetup_BR records → exactly one TaxationCodeTable_BR record
FBRevenueSource_BR→FBRevenueSources_BRJoin on
RevenueSourceCode = FBRevenueSources_BR.CodeMany FBRevenueSourceSetup_BR records → exactly one FBRevenueSources_BR record
Get this data out
No public entity reads from FBRevenueSourceSetup_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with FBRevenueSourceSetup_BR in a report, an integration or a migration? Talk to Dr Dynamics.