Data entity

BankDocumentFacilityAgreementEntity

Bank facility agreements with a bank account, a start and end date, and an agreement type. Each record is for one facility type under an agreement. It holds the limit and the amount used. It also holds amount, percent and calculation method settings for letter of guarantee amounts.

Entity name
BankDocumentFacilityAgreementEntity
Public entity name
DocumentFacilityAgreement
OData collection
DocumentFacilityAgreements
Category
Not set
Module
Cash and bank management
Read-only
No
Data management enabled
Yes
Configuration key
BankDocument
Keys
AgreementNumber, FacilityType
Staging table
BankDocumentFacilityAgreementStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/DocumentFacilityAgreements
Dataverse virtual table
mserp_bankdocumentfacilityagreemententity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • BankDocumentFacilityAgreement · root
  • BankDocumentFacilityAgreementLine · OuterJoin to BankDocumentFacilityAgreement
  • BankDocumentFacilityType · OuterJoin to BankDocumentFacilityAgreementLine · read-only
  • BankLGFacilityAgreementLine · OuterJoin to BankDocumentFacilityAgreementLine
  • CashMarginCalc (table BankLGAmountCalculation) · OuterJoin to BankLGFacilityAgreementLine
  • DecreaseValueCommissionCalc (table BankLGAmountCalculation) · OuterJoin to BankLGFacilityAgreementLine
  • ExtensionCommissionCalc (table BankLGAmountCalculation) · OuterJoin to BankLGFacilityAgreementLine
  • IncreaseValueCommissionCalc (table BankLGAmountCalculation) · OuterJoin to BankLGFacilityAgreementLine
  • IssuanceCommissionCalc (table BankLGAmountCalculation) · OuterJoin to BankLGFacilityAgreementLine

Fields (25)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
FacilityTypeRecIdFacility type that this line covers.Int64
BankDocumentFacilityTypeRefRecId
NoNo (private)BankDocumentFacilityType.RecIdBankDocumentFacilityAgreementLine.BankDocumentFacilityType
AgreementLineFacility agreement line these details belong to.Int64
BankDocumentAgreementLineRefRecId
YesNo (private)BankDocumentFacilityAgreementLine.RecIdBankLGFacilityAgreementLine.BankDocumentFacilityAgreementLine
AmountUsedAmount already used against the limit on this line.Real
BankDocumentFacilityAgreementAmountCur
NoYesBankDocumentFacilityAgreementLine.AmountUsed
AmountLimitMaximum amount allowed for the facility type on this agreement.Real
BankDocumentFacilityAgreementAmountCur
NoYesBankDocumentFacilityAgreementLine.Limit
AgreementNumberShort code that identifies the facility agreement.String (15)
BankDocumentAgreementNumber
YesYesBankDocumentFacilityAgreement.AgreementNumber
BankAccountBank account the agreement relates to.String
CompanyBankAccountId
YesYesBankAccountTable.AccountIDBankDocumentFacilityAgreement.BankAccountTable
StartDateDate and time when the agreement starts.UtcDateTime
ValidFromDateTime
YesYesBankDocumentFacilityAgreement.ValidFrom
EndDateDate and time when the agreement ends.UtcDateTime
ValidToDateTime
YesYesBankDocumentFacilityAgreement.ValidTo
AgreementTypeShows whether the agreement is revolving or non-revolving.Enum
BankFacilityAgreementType
  • Revolving 0
  • NonRevolving 1
NoYesBankDocumentFacilityAgreement.AgreementType
FacilityTypeShort code that names the facility type.String (15)
BankDocumentFacilityTypeName
NoYesBankDocumentFacilityType.FacilityTypeName
LGCashMarginAmountFixed amount used when the method is a fixed value.Real
AmountCur
NoYesBankLGAmountCalculation.Amount
LGCashMarginPercentagePercentage used when the method is percentage.Real
BankLGPercent
NoYesBankLGAmountCalculation.Percentage
LGCashMarginCalcMethodMethod for the amount: percentage or fixed value.Enum
BankLGAmountCalcType
  • Percentage 0
  • FixedValue 1
NoYesBankLGAmountCalculation.CalcMethod
LGDecreaseValueCommissionAmountFixed amount used when the method is a fixed value.Real
AmountCur
NoYesBankLGAmountCalculation.Amount
LGDecreaseValueCommissionCalcMethodMethod for the amount: percentage or fixed value.Enum
BankLGAmountCalcType
  • Percentage 0
  • FixedValue 1
NoYesBankLGAmountCalculation.CalcMethod
LGDecreaseValueCommissionPercentagePercentage used when the method is percentage.Real
BankLGPercent
NoYesBankLGAmountCalculation.Percentage
LGExtensionCommissionAmountFixed amount used when the method is a fixed value.Real
AmountCur
NoYesBankLGAmountCalculation.Amount
LGExtensionCommissionCalcMethodMethod for the amount: percentage or fixed value.Enum
BankLGAmountCalcType
  • Percentage 0
  • FixedValue 1
NoYesBankLGAmountCalculation.CalcMethod
LGExtensionCommissionPercentagePercentage used when the method is percentage.Real
BankLGPercent
NoYesBankLGAmountCalculation.Percentage
LGIncreaseValueCommissionAmountFixed amount used when the method is a fixed value.Real
AmountCur
NoYesBankLGAmountCalculation.Amount
LGIncreaseValueCommissionPercentagePercentage used when the method is percentage.Real
BankLGPercent
NoYesBankLGAmountCalculation.Percentage
LGIncreaseValueCommissionCalcMethodMethod for the amount: percentage or fixed value.Enum
BankLGAmountCalcType
  • Percentage 0
  • FixedValue 1
NoYesBankLGAmountCalculation.CalcMethod
LGIssuanceCommissionAmountFixed amount used when the method is a fixed value.Real
AmountCur
NoYesBankLGAmountCalculation.Amount
LGIssuanceCommissionPercentagePercentage used when the method is percentage.Real
BankLGPercent
NoYesBankLGAmountCalculation.Percentage
LGIssuanceCommissionCalcMethodMethod for the amount: percentage or fixed value.Enum
BankLGAmountCalcType
  • Percentage 0
  • FixedValue 1
NoYesBankLGAmountCalculation.CalcMethod

Foreign keys (3)

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.

  • FacilityTypeRecId → BankDocumentFacilityType.RecId (key of BankDocumentFacilityType)

    Many BankDocumentFacilityAgreementLine records → exactly one BankDocumentFacilityType record

    BankDocumentFacilityType details: see BankDocumentFacilityTypeEntity, BankDocumentPostingEntity

  • AgreementLine → BankDocumentFacilityAgreementLine.RecId (key of BankDocumentFacilityAgreementLine)

    Zero or one BankLGFacilityAgreementLine record → exactly one BankDocumentFacilityAgreementLine record

    Not exposed by a public entity.

  • BankAccount → BankAccountTable.AccountID (key of BankAccountTable)

    Many BankDocumentFacilityAgreement records → exactly one BankAccountTable record

    BankAccountTable details: see BankAccountEntity, CashDueAnnouncementJournalEntity, BusinessDocumentSalesInvoiceBaseEntity

Need help with BankDocumentFacilityAgreementEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk