Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_GLAccountText" of service "API_GLACCOUNTINCHARTOFACCOUNTS_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_GLACCOUNTINCHARTOFACCOUNTS_SRV for more information.

Hierarchy

  • any
    • GlAccountText

Implements

Index

Properties

chartOfAccounts

chartOfAccounts: string

Chart of Accounts. Key that uniquely identifies a chart of accounts. Maximum length: 4.

glAccount

glAccount: string

G/L Account Number. The G/L account number identifies the G/L account in a chart of accounts. Maximum length: 10.

glAccountLongName

glAccountLongName: string

G/L Account Long Text. Given sufficient space, the G/L account long text (as opposed to the short text) is used for online displays and evaluations. Maximum length: 50.

nullable

glAccountName

glAccountName: string

G/L account short text. The G/L account short text is used for online displays and evaluations which do not have sufficient space for the long text. Maximum length: 20.

nullable

language

language: string

Language Key. The language key indicates

  • the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts. Maximum length: 2.

lastChangeDateTime

lastChangeDateTime: Moment

UTC Time Stamp in Short Form (YYYYMMDDhhmmss). The UTC timestamp is the date and time relative to the UTC (Universal coordinated time). To normalize local times in a UTC time stamp and make them comparable, they must be converted using their time zone and the ABAP command convert.Although the time zone for the conversion can be fetched from customizing or master data, you should save it redundantly.The internal structure of the UTC time stamp is logically divided into a date and time part in packed number format <YYYYMMDDhhmmss>. There is also a high resolution UTC time stamp (10^-7 seconds).

nullable

toGlAccountInChartOfAccounts

toGlAccountInChartOfAccounts: GlAccountInChartOfAccounts

One-to-one navigation property to the GlAccountInChartOfAccounts entity.

Static ALL_FIELDS

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

All fields selector.

Static CHART_OF_ACCOUNTS

CHART_OF_ACCOUNTS: StringField<GlAccountText> = new StringField('ChartOfAccounts', GlAccountText, 'Edm.String')

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

Static GL_ACCOUNT

GL_ACCOUNT: StringField<GlAccountText> = new StringField('GLAccount', GlAccountText, 'Edm.String')

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

Static GL_ACCOUNT_LONG_NAME

GL_ACCOUNT_LONG_NAME: StringField<GlAccountText> = new StringField('GLAccountLongName', GlAccountText, 'Edm.String')

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

Static GL_ACCOUNT_NAME

GL_ACCOUNT_NAME: StringField<GlAccountText> = new StringField('GLAccountName', GlAccountText, 'Edm.String')

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

Static LANGUAGE

LANGUAGE: StringField<GlAccountText> = new StringField('Language', GlAccountText, 'Edm.String')

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

Static LAST_CHANGE_DATE_TIME

LAST_CHANGE_DATE_TIME: DateField<GlAccountText> = new DateField('LastChangeDateTime', GlAccountText, 'Edm.DateTimeOffset')

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

Static TO_GL_ACCOUNT_IN_CHART_OF_ACCOUNTS

TO_GL_ACCOUNT_IN_CHART_OF_ACCOUNTS: OneToOneLink<GlAccountText, GlAccountInChartOfAccounts> = new OneToOneLink('to_GLAccountInChartOfAccounts', GlAccountText, GlAccountInChartOfAccounts)

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

Static _allFields

_allFields: any[] = [GlAccountText.CHART_OF_ACCOUNTS,GlAccountText.GL_ACCOUNT,GlAccountText.LANGUAGE,GlAccountText.GL_ACCOUNT_NAME,GlAccountText.GL_ACCOUNT_LONG_NAME,GlAccountText.LAST_CHANGE_DATE_TIME,GlAccountText.TO_GL_ACCOUNT_IN_CHART_OF_ACCOUNTS]

All fields of the GlAccountText entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_GLAccountText"

Technical entity name for GlAccountText.

Static _keyFields

_keyFields: Array<Selectable<GlAccountText>> = [GlAccountText.CHART_OF_ACCOUNTS, GlAccountText.GL_ACCOUNT, GlAccountText.LANGUAGE]

All key fields of the GlAccountText entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_GLACCOUNTINCHARTOFACCOUNTS_SRV"

Technical service name for GlAccountText.

Methods

Static builder

  • Returns an entity builder to construct instances GlAccountText.

    Returns EntityBuilderType<GlAccountText, GlAccountTextType>

    A builder that constructs instances of entity type GlAccountText.

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<GlAccountText>

    A builder that constructs instances of entity type GlAccountText.

Static requestBuilder

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

    Returns GlAccountTextRequestBuilder

    A GlAccountText request builder.