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 descriptionType / EDT / enumMandatoryReferencesIn public entities
NumberNumber that identifies the letter of guarantee.String (25)
BankLGNumber
YesNone
BankAccountCurrencyExpenseAmountExpense amount, in the bank account currency.Real
BankLGExpenseCur
NoNone
BankAccountCurrencyGuaranteeAmountGuarantee value, in the bank account currency.Real
BankLGValueCur
YesNone
BankAccountCurrencyMarginAmountMargin amount, in the bank account currency.Real
BankLGMarginCur
NoNone
BankNumNumber that the bank uses for the guarantee.String (20)
BankLGBankNum
NoNone
CancellationReasonReason code given for cancelling.String
BankLGCancellationReasonId
NoReasonTable.ReasonNone
CurrentActionLetter of guarantee action that is currently in effect.Int64
RefRecId
YesBankLGAction.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimension values for the guarantee.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
ExpiryDateTimeDate and time the guarantee expires.UtcDateTime
BankLGExpiryDateTime
YesNone
FacilityAgreementLineBank facility agreement line linked to the guarantee.Int64
BankDocumentAgreementLineRefRecId
NoBankDocumentFacilityAgreementLine.RecIdNone
FacilityStatusFacility state: requested, open or closed.Enum
BankLGFacilityStatusType (enum)
YesNone
FinTagFinancial tag linked to the guarantee.Int64
FinTagRecId
NoFinTag.RecIdNone
LastExecutionActionMost recent action carried out on the guarantee.Enum
BankLGExecutionActionType (enum)
NoNone
OriginTypeKind of record the guarantee comes from, such as a sales order or project.Enum
BankLGOriginType (enum)
YesNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PreFacilityStatusFacility status held before the latest change.Enum
BankLGFacilityStatusType (enum)
NoNone
PreStatusStatus held before the latest change.Enum
BankLGStatusType (enum)
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
RequestReasonReason code that gives the type or purpose of the request.String
BankLGPurposeCodeId
YesReasonTable.ReasonNone
StatusCurrent stage of the guarantee, from request to given to the beneficiary.Enum
BankLGStatusType (enum)
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (4)

Relations (7)

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

  • BankDocumentFacilityAgreementLine → BankDocumentFacilityAgreementLine

    Join on FacilityAgreementLine = BankDocumentFacilityAgreementLine.RecId

    Many BankLGGuarantee records → zero or one BankDocumentFacilityAgreementLine record

  • BankLGAction → BankLGAction

    Join on CurrentAction = BankLGAction.RecId

    Many BankLGGuarantee records → exactly one BankLGAction record

  • BankLGGuarantee_Number → BankLGGuarantee

    Join on Number = BankLGGuarantee.Number

    Cardinality not set in the metadata.

  • CancellationReason → ReasonTable

    Join on CancellationReason = ReasonTable.Reason

    Many BankLGGuarantee records → zero or one ReasonTable record

  • PurposeCode → ReasonTable

    Join on RequestReason = ReasonTable.Reason

    Many BankLGGuarantee records → exactly one ReasonTable record

  • DimensionAttributeValueSet → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many BankLGGuarantee records → zero or one DimensionAttributeValueSet record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Zero 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.

Email sales@drdynamics.co.uk