Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_Ledger" of service "API_LEDGER_SRV". This service is part of the following communication scenarios: SAP Business Objects Cloud for Planning Integration (SAP_COM_0087). See https://api.sap.com/api/API_LEDGER_SRV for more information.

Hierarchy

  • any
    • Ledger

Implements

Index

Properties

isLeadingLedger

isLeadingLedger: boolean

Indicator: Leading Ledger. Identifies one of your ledgers as the leading ledger. You must designate one of your ledgers as the leading ledger. However, it is not possible to designate more than one ledger as the leading ledger.Caution:As soon as the leading ledger contains transaction data, the Leading indicator can no longer be deselected.

nullable

ledger

ledger: string

Ledger in General Ledger Accounting. Identifies a ledger in General Ledger Accounting. Maximum length: 2.

ledgerApplication

ledgerApplication: string

Owner application. Application to which this object (table or ledger) belongs. Maximum length: 2.

nullable

ledgerSubApplication

ledgerSubApplication: string

Subapplication. Maximum length: 3.

nullable

toText

toText: LedgerText[]

One-to-many navigation property to the LedgerText entity.

Static ALL_FIELDS

ALL_FIELDS: any = new AllFields('*', Ledger)

All fields selector.

Static IS_LEADING_LEDGER

IS_LEADING_LEDGER: BooleanField<Ledger> = new BooleanField('IsLeadingLedger', Ledger, 'Edm.Boolean')

Static representation of the isLeadingLedger property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static LEDGER

LEDGER: StringField<Ledger> = new StringField('Ledger', Ledger, 'Edm.String')

Static representation of the ledger property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static LEDGER_APPLICATION

LEDGER_APPLICATION: StringField<Ledger> = new StringField('LedgerApplication', Ledger, 'Edm.String')

Static representation of the ledgerApplication property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static LEDGER_SUB_APPLICATION

LEDGER_SUB_APPLICATION: StringField<Ledger> = new StringField('LedgerSubApplication', Ledger, 'Edm.String')

Static representation of the ledgerSubApplication property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TO_TEXT

TO_TEXT: Link<Ledger, LedgerText> = new Link('to_Text', Ledger, LedgerText)

Static representation of the one-to-many navigation property toText for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static _allFields

_allFields: any[] = [Ledger.LEDGER,Ledger.IS_LEADING_LEDGER,Ledger.LEDGER_APPLICATION,Ledger.LEDGER_SUB_APPLICATION,Ledger.TO_TEXT]

All fields of the Ledger entity.

Static _defaultServicePath

_defaultServicePath: string = "/sap/opu/odata/sap/API_LEDGER_SRV"

Default url path for the according service.

Static _entityName

_entityName: string = "A_Ledger"

Technical entity name for Ledger.

Static _keyFields

_keyFields: Array<Selectable<Ledger>> = [Ledger.LEDGER]

All key fields of the Ledger entity.

Static _keys

_keys: any = Ledger._keyFields.reduce((acc: any, field) => {acc[field.fieldName] = field;return acc;}, {})

Mapping of all key field names to the respective static field property Ledger.

Static _serviceName

_serviceName: string = "API_LEDGER_SRV"

Technical service name for Ledger.

Methods

Static builder

  • Returns an entity builder to construct instances Ledger.

    Returns EntityBuilderType<Ledger, LedgerType>

    A builder that constructs instances of entity type Ledger.

Static customField

  • Returns a selectable object that allows the selection of custom field in a get request for the entity Ledger.

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<Ledger>

    A builder that constructs instances of entity type Ledger.

Static requestBuilder

  • Returns a request builder to construct requests for operations on the Ledger entity type.

    Returns LedgerRequestBuilder

    A Ledger request builder.