Data entity
SalesTableWBiEntity
Read-only-style BI entity holding country-specific extra data for sales orders. Fields include export order, shipping bill, entry certificate, TCS and TDS groups, GSTIN of the e-commerce operator and invoice type. Many of these fields point to India-related tax and export reporting. Each row is identified by SourceKey.
- Entity name
SalesTableWBiEntity- Public entity name
SalesTableWBiEntity- OData collection
SalesTableWBiEntities- Category
Document- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
No- Configuration key
LogisticsBasic- Keys
SourceKey- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/SalesTableWBiEntities- Dataverse virtual table
mserp_salestablewbientity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
SalesTable_W· root
Fields (27)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
BankAccount_LVPrimary company bank account, used for Latvia. | StringCompanyBankAccountId | No | Yes | BankAccountTable.AccountID | SalesTable_W.BankAccount_LV |
ConsTarget_JPYes/No flag marking the order as a consolidation target, used for Japan. | EnumCustConsTarget_JP
| No | Yes | SalesTable_W.ConsTarget_JP | |
CreditNoteReasonCodeReason reference for a credit note. | Int64ReasonTableRefRecId | No | Yes | ReasonTableRef.RecId | SalesTable_W.CreditNoteReasonCode |
CurBankAccount_LVCompany bank account for an additional currency, used for Latvia. | StringCompanyBankAccountId | No | Yes | BankAccountTable.AccountID | SalesTable_W.CurBankAccount_LV |
CustBankAccount_LVCustomer bank account, used for Latvia. | StringCustBankAccountId | No | Yes | SalesTable_W.CustBankAccount_LV | |
CustomsExportOrder_INYes/No flag marking an export order, used for India. | EnumNoYesId
| No | Yes | SalesTable_W.CustomsExportOrder_IN | |
CustomsShippingBill_INYes/No flag for a shipping bill, used for India. | EnumNoYesId
| No | Yes | SalesTable_W.CustomsShippingBill_IN | |
EntryCertificateRequired_WYes/No flag showing whether an entry certificate is required. | EnumEntryCertificateRequired_W
| No | Yes | SalesTable_W.EntryCertificateRequired_W | |
FiscalDocType_PLDocument to print, invoice or fiscal document, used for Poland. | Enum
| No | Yes | SalesTable_W.FiscalDocType_PL | |
IntrastatAddValue_LVAdditional value for Intrastat reporting, used for Latvia. | RealLvIntrastatAddValue | No | Yes | SalesTable_W.IntrastatAddValue_LV | |
IssueOwnEntryCertificate_WYes/No flag for issuing your own entry certificate. | EnumIssueOwnEntryCertificate_W
| No | Yes | SalesTable_W.IssueOwnEntryCertificate_W | |
NatureOfAssessee_INType of assessee, such as company, firm or individual, used for India. | Enum
| No | Yes | SalesTable_W.NatureOfAssessee_IN | |
SalesTableSales order this record extends. | Int64RefRecId | No | Yes | SalesTable.RecId | SalesTable_W.SalesTable |
TaxPeriodPaymentCode_PLVAT report date code, used for Poland. | StringPlTaxPeriodPaymentCode | No | Yes | PlTaxDueTable.TaxPeriodPaymentCode | SalesTable_W.TaxPeriodPaymentCode_PL |
TCSGroup_INTax collected at source (TCS) withholding group, used for India. | StringTaxWithholdGroup | No | Yes | TaxWithholdGroupHeading.TaxWithholdGroup | SalesTable_W.TCSGroup_IN |
TDSGroup_INTax deducted at source (TDS) withholding group, used for India. | StringTaxWithholdGroup | No | Yes | TaxWithholdGroupHeading.TaxWithholdGroup | SalesTable_W.TDSGroup_IN |
TransportationDocumentTransportation details record linked to the order. | Int64TransportationDocumentRecId | No | Yes | TransportationDocument.RecId | SalesTable_W.TransportationDocument |
UnitedVATInvoice_LTYes/No flag for a united VAT invoice, used for Lithuania. | EnumUnitedVATInvoice_LT
| No | Yes | SalesTable_W.UnitedVATInvoice_LT | |
InvoiceType_MYType of invoice, such as GST or self-billed, used for Malaysia. | Enum
| No | Yes | SalesTable_W.InvoiceType_MY | |
ProvisionalAssessment_INYes/No flag showing whether the invoice amount is set by provisional assessment, used for India. | EnumNoYesId
| No | Yes | SalesTable_W.ProvisionalAssessment_IN | |
MerchantID_INIdentifier of the e-commerce operator (merchant) for the sales order, used for India. | String (60)MerchantID_IN | No | Yes | SalesTable_W.MerchantID_IN | |
ECommerceSale_INYes/No flag marking the order as an e-commerce sale, used for India. | EnumNoYesId
| No | Yes | SalesTable_W.ECommerceSale_IN | |
ECommerceOperatorGSTIN_INGSTIN tax registration of the e-commerce operator, used for India. | Int64RefRecId | No | Yes | TaxRegistrationNumbers_IN.RecId | SalesTable_W.ECommerceOperatorGSTIN_IN |
ECommerceOperator_INCustomer account of the e-commerce operator, used for India. | String (20)CustAccount | No | Yes | SalesTable_W.ECommerceOperator_IN | |
WithIGSTPayment_INYes/No flag for supply with tax payment, used for India. | EnumNoYesId
| No | Yes | SalesTable_W.WithIGSTPayment_IN | |
WouldYouClaimRefund_INYes/No flag showing whether a refund will be claimed, used for India. | EnumNoYesId
| No | Yes | SalesTable_W.WouldYouClaimRefund_IN | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | SalesTable_W.RecId |
Foreign keys (9)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
BankAccount_LV→BankAccountTable.AccountID(key of BankAccountTable)Zero or one SalesTable_W record → zero or one BankAccountTable record
BankAccountTable details: see BankAccountEntity, CashDueAnnouncementJournalEntity, BusinessDocumentSalesInvoiceBaseEntity
CreditNoteReasonCode→ReasonTableRef.RecId(key of ReasonTableRef)Many SalesTable_W records → zero or one ReasonTableRef record
ReasonTableRef details: see CustInvoiceJournalLineEntity, PurchPurchaseOrderConfirmationHeaderEntity, PurchPurchaseOrderHeaderEntity
CurBankAccount_LV→BankAccountTable.AccountID(key of BankAccountTable)Zero or one SalesTable_W record → zero or one BankAccountTable record
BankAccountTable details: see BankAccountEntity, CashDueAnnouncementJournalEntity, BusinessDocumentSalesInvoiceBaseEntity
SalesTable→SalesTable.RecId(key of SalesTable)Zero or one SalesTable_W record → exactly one SalesTable record
SalesTable details: see SalesOrderHeaderV3Entity, SalesOrderHeaderV2Entity, SalesOrderHeaderV4Entity
TaxPeriodPaymentCode_PL→PlTaxDueTable.TaxPeriodPaymentCode(key of PlTaxDueTable)Many SalesTable_W records → zero or one PlTaxDueTable record
PlTaxDueTable details: see TaxVATReportDateCodeEntity
TCSGroup_IN→TaxWithholdGroupHeading.TaxWithholdGroup(key of TaxWithholdGroupHeading)Many SalesTable_W records → zero or one TaxWithholdGroupHeading record
TaxWithholdGroupHeading details: see TaxWithholdingGroupEntity
TDSGroup_IN→TaxWithholdGroupHeading.TaxWithholdGroup(key of TaxWithholdGroupHeading)Many SalesTable_W records → zero or one TaxWithholdGroupHeading record
TaxWithholdGroupHeading details: see TaxWithholdingGroupEntity
TransportationDocument→TransportationDocument.RecId(key of TransportationDocument)Zero or one SalesTable_W record → zero or one TransportationDocument record
TransportationDocument details: see AssetPackingSlipEntity, TransportationDocumentEntity, PurchPurchaseOrderConfirmationHeaderEntity
ECommerceOperatorGSTIN_IN→TaxRegistrationNumbers_IN.RecId(key of TaxRegistrationNumbers_IN)Many SalesTable_W records → zero or one TaxRegistrationNumbers_IN record
TaxRegistrationNumbers_IN details: see TaxGSTRegistrationNumberEntity, TaxInfoManagementEntity, TaxCustomsTaxRegistrationNumberEntity
Need help with SalesTableWBiEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.