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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ItemCodeSays whether the setup line applies to a single item, an item group or all items.Enum
TableGroupAll (enum)
NoNone
ItemRelationThe item or item group the line applies to, depending on the item code.String (20)
InventItemRelation
NoInventItemGroup.ItemGroupIdInventTable.ItemIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RevenueSourceCodeThe revenue source code assigned to this combination.String (3)
FBRevenueSource_BR
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxationCodeThe taxation code the line applies to.String (3)
TaxationCode_BR
YesNone
TaxFiscalClassificationIDThe fiscal classification code the line applies to.String
TaxFiscalClassificationId_BR
NoTaxFiscalClassification_BR.FiscalClassificationIdNone

Indexes (1)

Relations (5)

Each relation joins FBRevenueSourceSetup_BR to another table on the fields shown.

  • InventTable → InventTable

    Join on ItemCode = TableGroupAll::Table, ItemRelation = InventTable.ItemId

    Many FBRevenueSourceSetup_BR records → zero or one InventTable record

  • InventItemGroup → InventItemGroup

    Join on ItemCode = TableGroupAll::GroupId, ItemRelation = InventItemGroup.ItemGroupId

    Many FBRevenueSourceSetup_BR records → zero or one InventItemGroup record

  • TaxFiscalClassification_BR → TaxFiscalClassification_BR

    Join on ItemCode = TableGroupAll::All, TaxFiscalClassificationID = TaxFiscalClassification_BR.FiscalClassificationId

    Many FBRevenueSourceSetup_BR records → zero or one TaxFiscalClassification_BR record

  • TaxationCodeTable_BR → TaxationCodeTable_BR

    Join on TaxationCode = TaxationCodeTable_BR.TaxationCode

    Many FBRevenueSourceSetup_BR records → exactly one TaxationCodeTable_BR record

  • FBRevenueSource_BR → FBRevenueSources_BR

    Join on RevenueSourceCode = FBRevenueSources_BR.Code

    Many 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.

Email sales@drdynamics.co.uk