Table

EmplAdvLine_RU

Advance report lines

Lines of advance reports, used for Russia. The key is the advance report ID plus the line number. Each line has amounts in currency and in the company currency, tax details, ledger dimensions and a line type. It links to an expense rate, an advance holder transaction and source documents.

Table name
EmplAdvLine_RU
Module
Expense
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
AdvanceNumIdx
Replacement key
AdvanceNumIdx
Key fields
AdvanceId, LineNum
Model
Foundation

Fields (44)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AdvanceIdPoints to the advance report that owns the line.String (20)
EmplAdvanceId_RU
YesEmplAdvTable_RU.AdvanceIdNone
LineNumNumber of the line within the advance report.Real
LineNum
NoEmplAdvLineEntity
AmountCurLine amount in the transaction currency.Real
AmountCur
NoEmplAdvLineEntity
AmountCurApprovedAmount of the line confirmed in the advance report.Real
AmountCur
NoEmplAdvLineEntity
AmountCurExclTaxLine amount in the transaction currency, excluding tax.Real
AmountCur
NoNone
AmountMstLine amount in the company currency.Real
AmountMST
NoNone
AmountMstExclTaxLine amount in the company currency, excluding tax.Real
AmountMST
NoNone
CurrencyCodeCurrency of the line.String (3)
CurrencyCode
YesCurrency.CurrencyCodeEmplAdvLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault dimension set of the line.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
DescriptionShort text describing the line.String (60)
Description
NoNone
DistributionTemplatePoints to the accounting distribution template used.Int64
AccountingDistributionTemplateRecId
NoAccountingDistributionTemplate.RecIdNone
DocumentDateDisbursement date of the line.Date
DocumentDate
YesEmplAdvLineEntity
DocumentNameName of the supporting document.String (60)
Name
NoEmplAdvLineEntity
DocumentNumNumber of the supporting document.String (20)
DocumentNum
YesEmplAdvLineEntity
EmplAdvExpendTable_RUPoints to the expense rate used by the line.Int64
RefRecId
NoEmplAdvExpendTable_RU.RecIdNone
EmplTransRecIdPoints to the related advance holder transaction.Int64
RefRecId
NoEmplTrans_RU.RecIdNone
ExchRateExchange rate used for the line.Real
ExchRate
NoNone
ExchRateSecondSecondary exchange rate used for the line.Real
ExchrateSecondary
NoNone
FacturedFully_RUYes/No flag showing whether the line is fully factured.Enum
FacturedFully_RU
NoYes (enum)
NoNone
LedgerDimensionMain account and dimensions of the line.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdNone
LineTypeKind of line: free, invoice, expense or vendor.Enum
EmplAdvLineType_RU (enum)
NoNone
OverNormYes/No flag showing whether the line is over the rate.Enum
NoYesId
NoYes (enum)
NoEmplAdvLineEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchBookVATProcessParameters_RUPoints to the VAT process parameters for posting over the norm.Int64
PurchBookVATProcessParametersRecId_RU
NoPurchBookVATProcessParameters_RU.RecIdNone
QtyQuantity on the line.Real
Qty
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
SourceDocumentHeaderPoints to the source document header.Int64
RefRecId
NoSourceDocumentHeader.RecIdNone
SourceDocumentLinePoints to the source document line.Int64
RefRecId
NoSourceDocumentLine.RecIdNone
SubLedgerJournalStatusStatus of the subledger journal: required, processing or completed.Enum
SubLedgerJournalStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountSales tax amount of the line.Real
TaxAmountCur
NoNone
TaxAmountExcise_RUExcise amount of the line.Real
TaxAmountExcise_RU
NoNone
TaxAmountMSTTax amount in the company currency.Real
AmountMST
NoNone
TaxAmountVAT_RUVAT amount of the line.Real
TaxAmountVAT_RU
NoNone
TaxedYes/No flag for transfer to the tax base.Enum
NoYesId
NoYes (enum)
NoNone
TaxGroupSales tax group of the line.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxIncludedYes/No flag showing whether prices include sales tax.Enum
InclTax
NoYes (enum)
NoNone
TaxItemGroupItem sales tax group of the line.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
TaxValueVAT_RUVAT rate value of the line.Real
TaxValueVAT_RU
NoNone
TaxVATType_RUVAT type: not liable, 0%, 10% or 20%.Enum
VATType_RU (enum)
NoNone
TouchedYes/No flag labelled Update. Purpose is not clear from the metadata.low confidenceEnum
TradeTouched
NoYes (enum)
NoNone
TriangulationYes/No flag for euro triangulation.Enum
EUROTriangulation
NoYes (enum)
NoNone

Indexes (7)

Relations (12)

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

  • AccountingDistributionTemplate → AccountingDistributionTemplate

    Join on DistributionTemplate = AccountingDistributionTemplate.RecId

    Many EmplAdvLine_RU records → zero or one AccountingDistributionTemplate record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many EmplAdvLine_RU records → exactly one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many EmplAdvLine_RU records → zero or one DimensionAttributeValueSet record

  • EmplAdvExpendTable_RU → EmplAdvExpendTable_RU

    Join on EmplAdvExpendTable_RU = EmplAdvExpendTable_RU.RecId

    Many EmplAdvLine_RU records → zero or one EmplAdvExpendTable_RU record

  • EmplAdvTable → EmplAdvTable_RU

    Join on AdvanceId = EmplAdvTable_RU.AdvanceId

    Many EmplAdvLine_RU records → exactly one EmplAdvTable_RU record

  • EmplTrans → EmplTrans_RU

    Join on EmplTransRecId = EmplTrans_RU.RecId

    Many EmplAdvLine_RU records → zero or one EmplTrans_RU record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many EmplAdvLine_RU records → exactly one DimensionAttributeValueCombination record

  • PurchBookVATProcessParameters_RU → PurchBookVATProcessParameters_RU

    Join on PurchBookVATProcessParameters_RU = PurchBookVATProcessParameters_RU.RecId

    Many EmplAdvLine_RU records → zero or one PurchBookVATProcessParameters_RU record

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Exactly one EmplAdvLine_RU record → exactly one SourceDocumentHeader record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Exactly one EmplAdvLine_RU record → exactly one SourceDocumentLine record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many EmplAdvLine_RU records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many EmplAdvLine_RU records → zero or one TaxItemGroupHeading record

Get this data out

Tables are not exposed directly. These public entities read from EmplAdvLine_RU; use one of them in Power BI, Power Platform or a data management project.

Need help with EmplAdvLine_RU in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk