I_GLAcctInCoCodeTP

DDL: I_GLACCTINCOCODETP Type: view_entity TRANSACTIONAL Package: ODATA_MANAGE_GLACCOUNT

G/L Account in Company Code (Draft 2.0)

I_GLAcctInCoCodeTP is a Transactional CDS View that provides data about "G/L Account in Company Code (Draft 2.0)" in SAP S/4HANA. It reads from 1 data source (I_GLAcctInCoCode) and exposes 73 fields with key fields ChartOfAccounts, GLAccount, CompanyCode. It has 21 associations to related views. Part of development package ODATA_MANAGE_GLACCOUNT.

Data Sources (1)

SourceAliasJoin Type
I_GLAcctInCoCode I_GLAcctInCoCode from

Associations (21)

CardinalityTargetAliasCondition
[1..1] I_GLAcctInChtAcctsTP _GLAcctInChtAcctsTP $projection.ChartOfAccounts = _GLAcctInChtAcctsTP.ChartOfAccounts and $projection.GLAccount = _GLAcctInChtAcctsTP.GLAccount
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCodeForEdit = _CompanyCode.CompanyCode
[1..1] I_User _User $projection.CreatedByUser = _User.UserID
[0..1] I_InflationKey _InflationKey $projection.country = _InflationKey.Country and $projection.GLAcctInflationKey = _InflationKey.GLAcctInflationKey
[0..1] I_PlanningLevel _PlanningLevel $projection.PlanningLevel = _PlanningLevel.PlanningLevel
[0..1] I_Housebank _HouseBank $projection.CompanyCodeForEdit = _HouseBank.CompanyCode and $projection.HouseBank = _HouseBank.HouseBank
[0..1] I_HouseBankAccount _HouseBankAccount $projection.CompanyCodeForEdit = _HouseBankAccount.CompanyCode and $projection.HouseBank = _HouseBankAccount.HouseBank and $projection.HouseBankAccount = _HouseBankAccount.HouseBankAccount
[0..1] I_Reconciliationaccttype _Reconciliationaccttype $projection.ReconciliationAccountType = _Reconciliationaccttype.ReconciliationAccountType
[0..1] I_InterestCalculationCode _InterestCalculationCode $projection.InterestCalculationCode = _InterestCalculationCode.InterestCalculationCode
[0..1] I_AcctgDocItmDspSqncRule _AcctgDocItmDspSqncRule $projection.AcctgDocItmDisplaySequenceRule = _AcctgDocItmDspSqncRule.AcctgDocItmDisplaySequenceRule
[0..1] I_GLAccountToleranceGroup _GLAccountToleranceGroup $projection.CompanyCodeForEdit = _GLAccountToleranceGroup.CompanyCode and $projection.APARToleranceGroup = _GLAccountToleranceGroup.APARToleranceGroup
[0..1] I_JointVentureRecovery _JointVentureRecovery $projection.JointVentureRecoveryCode = _JointVentureRecovery.JointVentureRecoveryCode and $projection.CompanyCodeForEdit = _JointVentureRecovery.CompanyCode
[0..1] I_FieldStatusGroup _FieldStatusGroup $projection.fieldstatusvariant = _FieldStatusGroup.FieldStatusVariant and $projection.FieldStatusGroup = _FieldStatusGroup.FieldStatusGroup
[0..1] I_MultiCurrencyAccounting _MultiCurrencyAccounting $projection.MultiCurrencyAccountingCode = _MultiCurrencyAccounting.MultiCurrencyAccountingCode
[0..1] I_Currency _GLAccountCurrency $projection.GLAccountCurrency = _GLAccountCurrency.Currency
[0..1] I_TaxCategory _TaxCategory $projection.CompanyCodeForEdit = _TaxCategory.CompanyCode and $projection.TaxCategory = _TaxCategory.TaxCategory
[0..1] I_GLAccountInChartOfAccounts _AlternativeGLAccount $projection.CountryChartOfAccounts = _AlternativeGLAccount.ChartOfAccounts and $projection.AlternativeGLAccount = _AlternativeGLAccount.GLAccount
[0..1] I_GLAcctInDefaultLanguageText _GLAcctTxtInMaintLang $projection.ChartOfAccounts = _GLAcctTxtInMaintLang.ChartOfAccounts and $projection.GLAccount = _GLAcctTxtInMaintLang.GLAccount and $projection.MaintenanceLanguage = _GLAcctTxtInMaintLang.Language
[0..1] I_FieldStatusVariant _FieldStatusVariant $projection.fieldstatusvariant = _FieldStatusVariant.FieldStatusVariant
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.CountryChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
[0..1] I_GLAccount _GLAccount $projection.CompanyCode = _GLAccount.CompanyCode and $projection.GLAccount = _GLAccount.GLAccount

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label G/L Account in Company Code (Draft 2.0) view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.writeDraftPersistence SKB1_DRAFT_20 view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
Search.searchable true view
VDM.viewType #TRANSACTIONAL view

Fields (73)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts I_GLAcctInCoCode ChartOfAccounts
KEY GLAccount I_GLAcctInCoCode GLAccount
KEY CompanyCode I_GLAcctInCoCode CompanyCode
CompanyCodeForEdit I_GLAcctInCoCode CompanyCode
AuthorizationGroup I_GLAcctInCoCode AuthorizationGroup
AccountingClerk I_GLAcctInCoCode AccountingClerk
LastInterestCalcRunDate I_GLAcctInCoCode LastInterestCalcRunDate
CreationDate I_GLAcctInCoCode CreationDate
CreatedByUser I_GLAcctInCoCode CreatedByUser
PlanningLevel I_GLAcctInCoCode PlanningLevel
HouseBank I_GLAcctInCoCode HouseBank
HouseBankAccount I_GLAcctInCoCode HouseBankAccount
ExchRateDifferencesAccountDetn I_GLAcctInCoCode ExchRateDifferencesAccountDetn
ReconciliationAccountType I_GLAcctInCoCode ReconciliationAccountType
TaxCategory I_GLAcctInCoCode TaxCategory
InterestCalculationCode I_GLAcctInCoCode InterestCalculationCode
GLAccountCurrency I_GLAcctInCoCode GLAccountCurrency
IsManagedExternally I_GLAcctInCoCode IsManagedExternally
IsAutomaticallyPosted I_GLAcctInCoCode IsAutomaticallyPosted
LineItemDisplayIsEnabled I_GLAcctInCoCode LineItemDisplayIsEnabled
SupplementIsAllowed I_GLAcctInCoCode SupplementIsAllowed
IsOpenItemManaged I_GLAcctInCoCode IsOpenItemManaged
InterestCalculationDate I_GLAcctInCoCode InterestCalculationDate
IntrstCalcFrequencyInMonths I_GLAcctInCoCode IntrstCalcFrequencyInMonths
AcctgDocItmDisplaySequenceRule I_GLAcctInCoCode AcctgDocItmDisplaySequenceRule
AlternativeGLAccount I_GLAcctInCoCode AlternativeGLAccount
sakanendasAlternativeGLAccountExternal
JointVentureRecoveryCode I_GLAcctInCoCode JointVentureRecoveryCode
CommitmentItem I_GLAcctInCoCode CommitmentItem
TaxCodeIsRequired I_GLAcctInCoCode TaxCodeIsRequired
BalanceHasLocalCurrency I_GLAcctInCoCode BalanceHasLocalCurrency
ValuationGroup I_GLAcctInCoCode ValuationGroup
APARToleranceGroup I_GLAcctInCoCode APARToleranceGroup
AccountIsBlockedForPosting I_GLAcctInCoCode AccountIsBlockedForPosting
AccountIsMarkedForDeletion I_GLAcctInCoCode AccountIsMarkedForDeletion
ClearingIsLedgerGroupSpecific I_GLAcctInCoCode ClearingIsLedgerGroupSpecific
IsCashFlowAccount I_GLAcctInCoCode IsCashFlowAccount
GLAcctInflationKey I_GLAcctInCoCode GLAcctInflationKey
FieldStatusGroup I_GLAcctInCoCode FieldStatusGroup
MultiCurrencyAccountingCode I_GLAcctInCoCode MultiCurrencyAccountingCode
ReconciliationAcctIsChangeable I_GLAcctInCoCode ReconciliationAcctIsChangeable
IsExtendedOpenItemManaged I_GLAcctInCoCode IsExtendedOpenItemManaged
MaintenanceLanguage chtaccts MaintenanceLanguage
GLAccountForEdit I_GLAcctInCoCode GLAccount
GLAccountName _GLAcctTxtInMaintLang GLAccountName
GLAccountLongName _GLAcctTxtInMaintLang GLAccountLongName
ChartOfAccountsForEdit I_GLAcctInCoCode ChartOfAccounts
CountryChartOfAccounts I_GLAcctInCoCode CountryChartOfAccounts
Country _CompanyCode Country
ControllingArea _CompanyCode ControllingArea
FieldStatusVariant _CompanyCode FieldStatusVariant
CompanyCodeName _CompanyCode CompanyCodeName
_AcctgDocItmDspSqncRule _AcctgDocItmDspSqncRule
_AlternativeGLAccount _AlternativeGLAccount
_CompanyCode _CompanyCode
_FieldStatusGroup _FieldStatusGroup
_GLAccountCurrency _GLAccountCurrency
_GLAccountToleranceGroup _GLAccountToleranceGroup
_GLAcctTxtInMaintLang _GLAcctTxtInMaintLang
_HouseBank _HouseBank
_HouseBankAccount _HouseBankAccount
_InflationKey _InflationKey
_InterestCalculationCode _InterestCalculationCode
_JointVentureRecovery _JointVentureRecovery
_MultiCurrencyAccounting _MultiCurrencyAccounting
_PlanningLevel _PlanningLevel
_Reconciliationaccttype _Reconciliationaccttype
_TaxCategory _TaxCategory
_User _User
_FieldStatusVariant _FieldStatusVariant
_ChartOfAccounts _ChartOfAccounts
_GLAcctInChtAcctsTP _GLAcctInChtAcctsTP
_GLAccount _GLAccount
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'G/L Account in Company Code (Draft 2.0)'
@Metadata.ignorePropagatedAnnotations: true 
@ObjectModel: {
  semanticKey: ['ChartOfAccounts', 'GLAccount', 'CompanyCode'],
  //Only root need

  //transactionalProcessingEnabled: true,

  writeDraftPersistence: 'SKB1_DRAFT_20',   
  createEnabled,
  deleteEnabled,
  updateEnabled,
  usageType: {
    dataClass: #MIXED,
    serviceQuality: #D,  
    sizeCategory: #XL  
  } 
}   
@Search.searchable: true  
@VDM.viewType: #TRANSACTIONAL  

/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ]  } */
define view entity I_GLAcctInCoCodeTP   
  as select from           I_GLAcctInCoCode
  //Changed from Left outer join to Assocation becasue of ATC CHECK : association missing

  //association [0..1] to I_ChartOfAccounts as chtaccts on $projection.ChartOfAccounts = chtaccts.ChartOfAccounts 

    left outer to one join I_ChartOfAccounts as chtaccts on I_GLAcctInCoCode.ChartOfAccounts = chtaccts.ChartOfAccounts
    left outer to one join ska1              as _GroupAccount on I_GLAcctInCoCode.CountryChartOfAccounts       = _GroupAccount.ktopl
                                                              and I_GLAcctInCoCode.AlternativeGLAccount         = _GroupAccount.saknr
  /* BO nodes associations */
  association [1..1] to I_GLAcctInChtAcctsTP         as _GLAcctInChtAcctsTP      on  $projection.ChartOfAccounts = _GLAcctInChtAcctsTP.ChartOfAccounts                                                                                and $projection.GLAccount       = _GLAcctInChtAcctsTP.GLAccount
  /* Associations */
  association [0..1] to I_CompanyCode                as _CompanyCode             on  $projection.CompanyCodeForEdit     = _CompanyCode.CompanyCode     // Use *ForEdit fields, because the association

                                                                                 //and $projection.ChartOfAccountsForEdit = _CompanyCode.ChartOfAccounts // serves as Value-help on some field


  association [1..1] to I_User                       as _User                    on  $projection.CreatedByUser = _User.UserID

  association [0..1] to I_InflationKey               as _InflationKey            on  $projection.country            = _InflationKey.Country
                                                                                 and $projection.GLAcctInflationKey = _InflationKey.GLAcctInflationKey

  association [0..1] to I_PlanningLevel              as _PlanningLevel           on  $projection.PlanningLevel = _PlanningLevel.PlanningLevel

  association [0..1] to I_Housebank                  as _HouseBank               on  $projection.CompanyCodeForEdit = _HouseBank.CompanyCode
                                                                                 and $projection.HouseBank          = _HouseBank.HouseBank

  association [0..1] to I_HouseBankAccount           as _HouseBankAccount        on  $projection.CompanyCodeForEdit = _HouseBankAccount.CompanyCode
                                                                                 and $projection.HouseBank          = _HouseBankAccount.HouseBank
                                                                                 and $projection.HouseBankAccount   = _HouseBankAccount.HouseBankAccount

  association [0..1] to I_Reconciliationaccttype     as _Reconciliationaccttype  on  $projection.ReconciliationAccountType = _Reconciliationaccttype.ReconciliationAccountType

  association [0..1] to I_InterestCalculationCode    as _InterestCalculationCode on  $projection.InterestCalculationCode = _InterestCalculationCode.InterestCalculationCode

  association [0..1] to I_AcctgDocItmDspSqncRule     as _AcctgDocItmDspSqncRule  on  $projection.AcctgDocItmDisplaySequenceRule = _AcctgDocItmDspSqncRule.AcctgDocItmDisplaySequenceRule

//  association [0..1] to I_CashPlanningGroup          as _CashPlanningGroup       on  $projection.CashPlanningGroup = _CashPlanningGroup.CashPlanningGroup


  association [0..1] to I_GLAccountToleranceGroup    as _GLAccountToleranceGroup on  $projection.CompanyCodeForEdit = _GLAccountToleranceGroup.CompanyCode
                                                                                 and $projection.APARToleranceGroup = _GLAccountToleranceGroup.APARToleranceGroup

  association [0..1] to I_JointVentureRecovery       as _JointVentureRecovery    on  $projection.JointVentureRecoveryCode = _JointVentureRecovery.JointVentureRecoveryCode
                                                                                 and $projection.CompanyCodeForEdit       = _JointVentureRecovery.CompanyCode

  association [0..1] to I_FieldStatusGroup           as _FieldStatusGroup        on  $projection.fieldstatusvariant = _FieldStatusGroup.FieldStatusVariant
                                                                                 and $projection.FieldStatusGroup   = _FieldStatusGroup.FieldStatusGroup

  association [0..1] to I_MultiCurrencyAccounting    as _MultiCurrencyAccounting on  $projection.MultiCurrencyAccountingCode = _MultiCurrencyAccounting.MultiCurrencyAccountingCode

  association [0..1] to I_Currency                   as _GLAccountCurrency       on  $projection.GLAccountCurrency = _GLAccountCurrency.Currency
  association [0..1] to I_TaxCategory                as _TaxCategory             on  $projection.CompanyCodeForEdit = _TaxCategory.CompanyCode
                                                                                 and $projection.TaxCategory        = _TaxCategory.TaxCategory
  association [0..1] to I_GLAccountInChartOfAccounts as _AlternativeGLAccount    on  $projection.CountryChartOfAccounts = _AlternativeGLAccount.ChartOfAccounts
                                                                                 and $projection.AlternativeGLAccount   = _AlternativeGLAccount.GLAccount
  //  association [0..*] to I_GLAcctTextTP               as _Text                    on  $projection.ChartOfAccounts = _Text.ChartOfAccounts

  //                                                                                 and $projection.GLAccount       = _Text.GLAccount

  association [0..1] to I_GLAcctInDefaultLanguageText as _GLAcctTxtInMaintLang   on  $projection.ChartOfAccounts     = _GLAcctTxtInMaintLang.ChartOfAccounts //I_GLAccountText  

                                                                                 and $projection.GLAccount           = _GLAcctTxtInMaintLang.GLAccount
                                                                                 and $projection.MaintenanceLanguage = _GLAcctTxtInMaintLang.Language
 association [0..1] to  I_FieldStatusVariant         as _FieldStatusVariant      on  $projection.fieldstatusvariant = _FieldStatusVariant.FieldStatusVariant
 association [0..1] to  I_ChartOfAccounts             as _ChartOfAccounts         on $projection.CountryChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
 association [0..1] to  I_GLAccount                  as _GLAccount               on  $projection.CompanyCode     = _GLAccount.CompanyCode
                                                                                 and $projection.GLAccount           = _GLAccount.GLAccount
{
      // not readonly because when created we must copy value from parent

  key I_GLAcctInCoCode.ChartOfAccounts,
      // not readonly because when created we must copy value from parent

  key I_GLAcctInCoCode.GLAccount as GLAccount,
      @ObjectModel.readOnly: true
  key I_GLAcctInCoCode.CompanyCode,

      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
      @ObjectModel.foreignKey.association: '_CompanyCode'
      @ObjectModel.mandatory: true
      @ObjectModel.text.element:  [ 'CompanyCodeName' ]
      I_GLAcctInCoCode.CompanyCode     as CompanyCodeForEdit,
      //      I_GLAcctInCoCodeLayerForTP.CompanyCodeForEdit, // Alias of CompanyCode for active; Value to be provided by user


      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.AuthorizationGroup,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.AccountingClerk,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      @Semantics.businessDate.at: true
      I_GLAcctInCoCode.LastInterestCalcRunDate,
      @Semantics.systemDate.createdAt: true
      I_GLAcctInCoCode.CreationDate,
      @Semantics.user.id: true
      I_GLAcctInCoCode.CreatedByUser,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      @ObjectModel.foreignKey.association: '_PlanningLevel'
      I_GLAcctInCoCode.PlanningLevel,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      @ObjectModel.foreignKey.association: '_HouseBank'
      I_GLAcctInCoCode.HouseBank,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      @ObjectModel.foreignKey.association: '_HouseBankAccount'
      I_GLAcctInCoCode.HouseBankAccount,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.ExchRateDifferencesAccountDetn,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      @ObjectModel.foreignKey.association: '_Reconciliationaccttype'
      I_GLAcctInCoCode.ReconciliationAccountType,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      @ObjectModel.foreignKey.association: '_TaxCategory'
      I_GLAcctInCoCode.TaxCategory,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      @ObjectModel.foreignKey.association: '_InterestCalculationCode'
      I_GLAcctInCoCode.InterestCalculationCode,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      @ObjectModel.foreignKey.association: '_GLAccountCurrency'
      I_GLAcctInCoCode.GLAccountCurrency,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.IsManagedExternally,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.IsAutomaticallyPosted,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.LineItemDisplayIsEnabled,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.SupplementIsAllowed,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.IsOpenItemManaged,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION') 
      I_GLAcctInCoCode.InterestCalculationDate,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.IntrstCalcFrequencyInMonths,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      @ObjectModel.foreignKey.association: '_AcctgDocItmDspSqncRule'
      I_GLAcctInCoCode.AcctgDocItmDisplaySequenceRule,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      @ObjectModel.foreignKey.association: '_AlternativeGLAccount'
      I_GLAcctInCoCode.AlternativeGLAccount,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      //For special case: Rmove Country COA after Maintained AlternativeGLAccount

      case when I_GLAcctInCoCode.AlternativeGLAccount is not null and _GroupAccount.sakan is null
           then cast ( I_GLAcctInCoCode.AlternativeGLAccount as  sakan )
           else _GroupAccount.sakan end as AlternativeGLAccountExternal,
      //_GroupAccount.sakan as AlternativeGLAccountExternal,

      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      @ObjectModel.foreignKey.association: '_JointVentureRecovery'
      I_GLAcctInCoCode.JointVentureRecoveryCode,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.CommitmentItem,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.TaxCodeIsRequired,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.BalanceHasLocalCurrency,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.ValuationGroup,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      @ObjectModel.foreignKey.association: '_GLAccountToleranceGroup'
      I_GLAcctInCoCode.APARToleranceGroup,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.AccountIsBlockedForPosting,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.AccountIsMarkedForDeletion,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.ClearingIsLedgerGroupSpecific,
      /*remove cashplanninggroup field*/
//      @ObjectModel.mandatory: 'EXTERNAL_CALCULATION'

//      @ObjectModel.foreignKey.association: '_CashPlanningGroup'

//      CashPlanningGroup,

      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.IsCashFlowAccount,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      @ObjectModel.foreignKey.association: '_InflationKey'
      I_GLAcctInCoCode.GLAcctInflationKey,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      @ObjectModel.foreignKey.association: '_FieldStatusGroup'
      I_GLAcctInCoCode.FieldStatusGroup,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      @ObjectModel.foreignKey.association: '_MultiCurrencyAccounting'
      I_GLAcctInCoCode.MultiCurrencyAccountingCode,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.ReconciliationAcctIsChangeable,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      I_GLAcctInCoCode.IsExtendedOpenItemManaged      as    IsExtendedOpenItemManaged,
      @ObjectModel.readOnly: true
      chtaccts.MaintenanceLanguage, // Value to be derived from 'ROOT~ChartOfAccountsForEdit' for draft (via BO determination triggered by UPDATE on root)

      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      case 
          when I_GLAcctInCoCode._GLAcctInCoCodeStatus.GLAcctCoCodeImplementStatus is null then 
            cast ( 'I' as glaccount_imst)     //in process for SAP Delivered Content after Migration

          else 
            I_GLAcctInCoCode._GLAcctInCoCodeStatus.GLAcctCoCodeImplementStatus
          end as GLAcctCoCodeImplementStatus,
      @ObjectModel.mandatory: #('EXTERNAL_CALCULATION')
      case 
          when I_GLAcctInCoCode._GLAcctInCoCodeStatus.GLAcctCoCodeImplementStatus is null then  
            'X'    //in process for SAP Delivered Content after Migration

          else 
            I_GLAcctInCoCode._GLAcctInCoCodeStatus.GLAccountCoCodIsDeliveredBySAP
          end as GLAccountCoCodIsDeliveredBySAP,       
      /* Fields expanded along associations, due to a limitation that we cannot introduce new fields in BO consumption view (@ObjectModel.type: #CONSUMPTION) */
      @ObjectModel.readOnly: true
      @ObjectModel.text.element:  [ 'GLAccountName', 'GLAccountLongName' ]
      I_GLAcctInCoCode.GLAccount       as GLAccountForEdit,
      //      I_GLAcctInCoCodeLayerForTP.GLAccountForEdit, // Alias of GLAccount for active; Value to be updated when root node updated for draft (via BO determination triggered by UPDATE on root)

      @ObjectModel.readOnly: true
      _GLAcctTxtInMaintLang.GLAccountName,     // Updated when TEXT updated, value comes from TEXT node

      @ObjectModel.readOnly: true
      _GLAcctTxtInMaintLang.GLAccountLongName, // Updated when TEXT updated, value comes from TEXT node

      @ObjectModel.readOnly: true
      I_GLAcctInCoCode.ChartOfAccounts as ChartOfAccountsForEdit,
      //      I_GLAcctInCoCodeLayerForTP.ChartOfAccountsForEdit, // Alias of ChartOfAccounts for active; Value to be updated when root node updated for draft

      @ObjectModel.readOnly: true
      @ObjectModel.foreignKey.association: '_ChartOfAccounts'
      I_GLAcctInCoCode.CountryChartOfAccounts, // Value to be derived for draft

      @ObjectModel.readOnly: true
      _CompanyCode.Country,                // Value to be derived for draft

      @ObjectModel.readOnly: true
      _CompanyCode.ControllingArea,        // Value to be derived for draft

      @ObjectModel.readOnly: true
      @ObjectModel.foreignKey.association: '_FieldStatusVariant'
      _CompanyCode.FieldStatusVariant,     // Value to be derived for draft

      @ObjectModel.readOnly: true
      _CompanyCode.CompanyCodeName,
      /* Associations */
      _AcctgDocItmDspSqncRule,
      _AlternativeGLAccount,
//      _CashPlanningGroup,

      _CompanyCode,
      _FieldStatusGroup,
      _GLAccountCurrency,
      _GLAccountToleranceGroup,
      _GLAcctTxtInMaintLang,
      _HouseBank,
      _HouseBankAccount,
      _InflationKey,
      _InterestCalculationCode,
      _JointVentureRecovery,
      _MultiCurrencyAccounting,
      _PlanningLevel,
      _Reconciliationaccttype,
      _TaxCategory,
      //_Text,

      _User,
      _FieldStatusVariant,
      _ChartOfAccounts,
      @ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
      _GLAcctInChtAcctsTP,
      _GLAccount
}