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· rootBankDocumentFacilityAgreementLine· OuterJoin toBankDocumentFacilityAgreementBankDocumentFacilityType· OuterJoin toBankDocumentFacilityAgreementLine· read-onlyBankLGFacilityAgreementLine· OuterJoin toBankDocumentFacilityAgreementLineCashMarginCalc(tableBankLGAmountCalculation) · OuterJoin toBankLGFacilityAgreementLineDecreaseValueCommissionCalc(tableBankLGAmountCalculation) · OuterJoin toBankLGFacilityAgreementLineExtensionCommissionCalc(tableBankLGAmountCalculation) · OuterJoin toBankLGFacilityAgreementLineIncreaseValueCommissionCalc(tableBankLGAmountCalculation) · OuterJoin toBankLGFacilityAgreementLineIssuanceCommissionCalc(tableBankLGAmountCalculation) · OuterJoin toBankLGFacilityAgreementLine
Fields (25)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
FacilityTypeRecIdFacility type that this line covers. | Int64BankDocumentFacilityTypeRefRecId | No | No (private) | BankDocumentFacilityType.RecId | BankDocumentFacilityAgreementLine.BankDocumentFacilityType |
AgreementLineFacility agreement line these details belong to. | Int64BankDocumentAgreementLineRefRecId | Yes | No (private) | BankDocumentFacilityAgreementLine.RecId | BankLGFacilityAgreementLine.BankDocumentFacilityAgreementLine |
AmountUsedAmount already used against the limit on this line. | RealBankDocumentFacilityAgreementAmountCur | No | Yes | BankDocumentFacilityAgreementLine.AmountUsed | |
AmountLimitMaximum amount allowed for the facility type on this agreement. | RealBankDocumentFacilityAgreementAmountCur | No | Yes | BankDocumentFacilityAgreementLine.Limit | |
AgreementNumberShort code that identifies the facility agreement. | String (15)BankDocumentAgreementNumber | Yes | Yes | BankDocumentFacilityAgreement.AgreementNumber | |
BankAccountBank account the agreement relates to. | StringCompanyBankAccountId | Yes | Yes | BankAccountTable.AccountID | BankDocumentFacilityAgreement.BankAccountTable |
StartDateDate and time when the agreement starts. | UtcDateTimeValidFromDateTime | Yes | Yes | BankDocumentFacilityAgreement.ValidFrom | |
EndDateDate and time when the agreement ends. | UtcDateTimeValidToDateTime | Yes | Yes | BankDocumentFacilityAgreement.ValidTo | |
AgreementTypeShows whether the agreement is revolving or non-revolving. | Enum
| No | Yes | BankDocumentFacilityAgreement.AgreementType | |
FacilityTypeShort code that names the facility type. | String (15)BankDocumentFacilityTypeName | No | Yes | BankDocumentFacilityType.FacilityTypeName | |
LGCashMarginAmountFixed amount used when the method is a fixed value. | RealAmountCur | No | Yes | BankLGAmountCalculation.Amount | |
LGCashMarginPercentagePercentage used when the method is percentage. | RealBankLGPercent | No | Yes | BankLGAmountCalculation.Percentage | |
LGCashMarginCalcMethodMethod for the amount: percentage or fixed value. | Enum
| No | Yes | BankLGAmountCalculation.CalcMethod | |
LGDecreaseValueCommissionAmountFixed amount used when the method is a fixed value. | RealAmountCur | No | Yes | BankLGAmountCalculation.Amount | |
LGDecreaseValueCommissionCalcMethodMethod for the amount: percentage or fixed value. | Enum
| No | Yes | BankLGAmountCalculation.CalcMethod | |
LGDecreaseValueCommissionPercentagePercentage used when the method is percentage. | RealBankLGPercent | No | Yes | BankLGAmountCalculation.Percentage | |
LGExtensionCommissionAmountFixed amount used when the method is a fixed value. | RealAmountCur | No | Yes | BankLGAmountCalculation.Amount | |
LGExtensionCommissionCalcMethodMethod for the amount: percentage or fixed value. | Enum
| No | Yes | BankLGAmountCalculation.CalcMethod | |
LGExtensionCommissionPercentagePercentage used when the method is percentage. | RealBankLGPercent | No | Yes | BankLGAmountCalculation.Percentage | |
LGIncreaseValueCommissionAmountFixed amount used when the method is a fixed value. | RealAmountCur | No | Yes | BankLGAmountCalculation.Amount | |
LGIncreaseValueCommissionPercentagePercentage used when the method is percentage. | RealBankLGPercent | No | Yes | BankLGAmountCalculation.Percentage | |
LGIncreaseValueCommissionCalcMethodMethod for the amount: percentage or fixed value. | Enum
| No | Yes | BankLGAmountCalculation.CalcMethod | |
LGIssuanceCommissionAmountFixed amount used when the method is a fixed value. | RealAmountCur | No | Yes | BankLGAmountCalculation.Amount | |
LGIssuanceCommissionPercentagePercentage used when the method is percentage. | RealBankLGPercent | No | Yes | BankLGAmountCalculation.Percentage | |
LGIssuanceCommissionCalcMethodMethod for the amount: percentage or fixed value. | Enum
| No | Yes | BankLGAmountCalculation.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.