Table
BankLGGuarantee
Letter of guarantee
Holds letters of guarantee, one record per guarantee number (the key). It stores the value, margin and expense amounts, status, facility status, origin and expiry date. It links to the current action, a bank facility agreement line, dimensions and a financial tag.
- Table name
BankLGGuarantee- Module
Bank- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
BankDocument- Primary index
None- Replacement key
BankLGNumberIdx- Key fields
Number- Model
Foundation
Fields (23)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
NumberNumber that identifies the letter of guarantee. | String (25)BankLGNumber | Yes | None | |
BankAccountCurrencyExpenseAmountExpense amount, in the bank account currency. | RealBankLGExpenseCur | No | None | |
BankAccountCurrencyGuaranteeAmountGuarantee value, in the bank account currency. | RealBankLGValueCur | Yes | None | |
BankAccountCurrencyMarginAmountMargin amount, in the bank account currency. | RealBankLGMarginCur | No | None | |
BankNumNumber that the bank uses for the guarantee. | String (20)BankLGBankNum | No | None | |
CancellationReasonReason code given for cancelling. | StringBankLGCancellationReasonId | No | ReasonTable.Reason | None |
CurrentActionLetter of guarantee action that is currently in effect. | Int64RefRecId | Yes | BankLGAction.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimension values for the guarantee. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
ExpiryDateTimeDate and time the guarantee expires. | UtcDateTimeBankLGExpiryDateTime | Yes | None | |
FacilityAgreementLineBank facility agreement line linked to the guarantee. | Int64BankDocumentAgreementLineRefRecId | No | BankDocumentFacilityAgreementLine.RecId | None |
FacilityStatusFacility state: requested, open or closed. | EnumBankLGFacilityStatusType (enum) | Yes | None | |
FinTagFinancial tag linked to the guarantee. | Int64FinTagRecId | No | FinTag.RecId | None |
LastExecutionActionMost recent action carried out on the guarantee. | EnumBankLGExecutionActionType (enum) | No | None | |
OriginTypeKind of record the guarantee comes from, such as a sales order or project. | EnumBankLGOriginType (enum) | Yes | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PreFacilityStatusFacility status held before the latest change. | EnumBankLGFacilityStatusType (enum) | No | None | |
PreStatusStatus held before the latest change. | EnumBankLGStatusType (enum) | 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 | |
RequestReasonReason code that gives the type or purpose of the request. | StringBankLGPurposeCodeId | Yes | ReasonTable.Reason | None |
StatusCurrent stage of the guarantee, from request to given to the beneficiary. | EnumBankLGStatusType (enum) | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (4)
BankLGNumberIdxReplacement keyUnique, alternate key.
BankDocumentFacilityAgreementLineIdxNot unique.
RequestReasonIdxNot unique.
CancellationReasonIdxNot unique.
Relations (7)
Each relation joins BankLGGuarantee to another table on the fields shown.
BankDocumentFacilityAgreementLine→BankDocumentFacilityAgreementLineJoin on
FacilityAgreementLine = BankDocumentFacilityAgreementLine.RecIdMany BankLGGuarantee records → zero or one BankDocumentFacilityAgreementLine record
BankLGAction→BankLGActionJoin on
CurrentAction = BankLGAction.RecIdMany BankLGGuarantee records → exactly one BankLGAction record
BankLGGuarantee_Number→BankLGGuaranteeJoin on
Number = BankLGGuarantee.NumberCardinality not set in the metadata.
CancellationReason→ReasonTableJoin on
CancellationReason = ReasonTable.ReasonMany BankLGGuarantee records → zero or one ReasonTable record
PurposeCode→ReasonTableJoin on
RequestReason = ReasonTable.ReasonMany BankLGGuarantee records → exactly one ReasonTable record
DimensionAttributeValueSet→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany BankLGGuarantee records → zero or one DimensionAttributeValueSet record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdZero or one BankLGGuarantee record → zero or one FinTag record
Get this data out
No public entity reads from BankLGGuarantee. Its data is only reachable through the application, a custom entity or a database export.
Need help with BankLGGuarantee in a report, an integration or a migration? Talk to Dr Dynamics.