Table
CompanyNAFCode
NAF codes
A list of NAF codes with a short description. The NAF code is the key. Customer entities and the legal entity record use it.
- Table name
CompanyNAFCode- Module
Inventory- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
RecId- Replacement key
NAFIdx- Key fields
CompanyIdNAF- Model
Foundation
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CompanyIdNAFThe NAF code, up to five characters. | String (5)CompanyIdNAF | Yes | NAFCodeEntityCustCustomerV3EntityRetailVendVendorV3Entityand 7 more | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
NameDescription of the NAF code. | String (60)Description | No | NAFCodeEntity | |
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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
NAFIdxReplacement keyUnique, alternate key.
Get this data out
Tables are not exposed directly. These public entities read from CompanyNAFCode; use one of them in Power BI, Power Platform or a data management project.
NAFCodeEntity· 2 fields from this tableCustCustomerV3Entity· 1 field from this tableRetailVendVendorV3Entity· 1 field from this tableCustCustomerV2Entity· 1 field from this tableVendVendorV2Entity· 1 field from this tableCustCustomerEntity· 1 field from this tableCustFoundationEntity· 1 field from this tableCustFoundationExtendedEntity· 1 field from this tablesmmProspectEntity· 1 field from this tableVendVendorEntity· 1 field from this tableVendProspectiveVendorRegistrationEntity· 0 fields from this table
Need help with CompanyNAFCode in a report, an integration or a migration? Talk to Dr Dynamics.