public class GLAccountInChartOfAccounts extends VdmEntity<GLAccountInChartOfAccounts>
Original entity name from the Odata EDM: A_GLAccountInChartOfAccountsType
Modifier and Type | Class and Description |
---|---|
static class |
GLAccountInChartOfAccounts.GLAccountInChartOfAccountsBuilder
Helper class to allow for fluent creation of GLAccountInChartOfAccounts instances.
|
Modifier and Type | Field and Description |
---|---|
static GLAccountInChartOfAccountsField<Boolean> |
ACCOUNT_IS_BLOCKED_FOR_CREATION
Use with available fluent helpers to apply the AccountIsBlockedForCreation field to query operations.
|
static GLAccountInChartOfAccountsField<Boolean> |
ACCOUNT_IS_BLOCKED_FOR_PLANNING
Use with available fluent helpers to apply the AccountIsBlockedForPlanning field to query operations.
|
static GLAccountInChartOfAccountsField<Boolean> |
ACCOUNT_IS_BLOCKED_FOR_POSTING
Use with available fluent helpers to apply the AccountIsBlockedForPosting field to query operations.
|
static GLAccountInChartOfAccountsField<Boolean> |
ACCOUNT_IS_MARKED_FOR_DELETION
Use with available fluent helpers to apply the AccountIsMarkedForDeletion field to query operations.
|
static GLAccountInChartOfAccountsSelectable |
ALL_FIELDS
Selector for all available fields of GLAccountInChartOfAccounts.
|
static GLAccountInChartOfAccountsField<String> |
CHART_OF_ACCOUNTS
Use with available fluent helpers to apply the ChartOfAccounts field to query operations.
|
static GLAccountInChartOfAccountsField<String> |
CORPORATE_GROUP_ACCOUNT
Use with available fluent helpers to apply the CorporateGroupAccount field to query operations.
|
static GLAccountInChartOfAccountsField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static GLAccountInChartOfAccountsField<LocalDateTime> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static GLAccountInChartOfAccountsField<String> |
FUNCTIONAL_AREA
Use with available fluent helpers to apply the FunctionalArea field to query operations.
|
static GLAccountInChartOfAccountsField<String> |
GL_ACCOUNT
Use with available fluent helpers to apply the GLAccount field to query operations.
|
static GLAccountInChartOfAccountsField<String> |
GL_ACCOUNT_EXTERNAL
Use with available fluent helpers to apply the GLAccountExternal field to query operations.
|
static GLAccountInChartOfAccountsField<String> |
GL_ACCOUNT_GROUP
Use with available fluent helpers to apply the GLAccountGroup field to query operations.
|
static GLAccountInChartOfAccountsField<String> |
GL_ACCOUNT_TYPE
Use with available fluent helpers to apply the GLAccountType field to query operations.
|
static GLAccountInChartOfAccountsField<Boolean> |
IS_BALANCE_SHEET_ACCOUNT
Use with available fluent helpers to apply the IsBalanceSheetAccount field to query operations.
|
static GLAccountInChartOfAccountsField<Boolean> |
IS_PROFIT_LOSS_ACCOUNT
Use with available fluent helpers to apply the IsProfitLossAccount field to query operations.
|
static GLAccountInChartOfAccountsField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static GLAccountInChartOfAccountsField<String> |
PARTNER_COMPANY
Use with available fluent helpers to apply the PartnerCompany field to query operations.
|
static GLAccountInChartOfAccountsField<String> |
PROFIT_LOSS_ACCOUNT_TYPE
Use with available fluent helpers to apply the ProfitLossAccountType field to query operations.
|
static GLAccountInChartOfAccountsField<String> |
SAMPLE_GL_ACCOUNT
Use with available fluent helpers to apply the SampleGLAccount field to query operations.
|
static GLAccountInChartOfAccountsLink<GLAccountText> |
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
GLAccountInChartOfAccounts() |
GLAccountInChartOfAccounts(String chartOfAccounts,
String gLAccount,
Boolean isBalanceSheetAccount,
String gLAccountGroup,
String corporateGroupAccount,
String profitLossAccountType,
String sampleGLAccount,
Boolean accountIsMarkedForDeletion,
Boolean accountIsBlockedForCreation,
Boolean accountIsBlockedForPosting,
Boolean accountIsBlockedForPlanning,
String partnerCompany,
String functionalArea,
LocalDateTime creationDate,
String createdByUser,
ZonedDateTime lastChangeDateTime,
String gLAccountType,
String gLAccountExternal,
Boolean isProfitLossAccount,
List<GLAccountText> toText) |
Modifier and Type | Method and Description |
---|---|
void |
addText(GLAccountText... entity)
Adds elements to the list of associated GLAccountText entities.
|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static GLAccountInChartOfAccounts.GLAccountInChartOfAccountsBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<GLAccountText> |
fetchText()
Fetches the GLAccountText entities (one to many) associated with this entity.
|
static <T> GLAccountInChartOfAccountsField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
Boolean |
getAccountIsBlockedForCreation()
Constraints: none
|
Boolean |
getAccountIsBlockedForPlanning()
Constraints: none
|
Boolean |
getAccountIsBlockedForPosting()
Constraints: none
|
Boolean |
getAccountIsMarkedForDeletion()
Constraints: none
|
String |
getChartOfAccounts()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCorporateGroupAccount()
Constraints: Not nullable, Maximum length: 10
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
protected String |
getDefaultServicePath() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getFunctionalArea()
Constraints: Not nullable, Maximum length: 16
|
String |
getGLAccount()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getGLAccountExternal()
Constraints: Not nullable, Maximum length: 10
|
String |
getGLAccountGroup()
Constraints: Not nullable, Maximum length: 4
|
String |
getGLAccountType()
Constraints: Not nullable, Maximum length: 1
|
Boolean |
getIsBalanceSheetAccount()
Constraints: none
|
Boolean |
getIsProfitLossAccount()
Constraints: none
|
protected Map<String,Object> |
getKey() |
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getPartnerCompany()
Constraints: Not nullable, Maximum length: 6
|
String |
getProfitLossAccountType()
Constraints: Not nullable, Maximum length: 2
|
String |
getSampleGLAccount()
Constraints: Not nullable, Maximum length: 10
|
Optional<List<GLAccountText>> |
getTextIfPresent()
Retrieval of associated GLAccountText entities (one to many).
|
List<GLAccountText> |
getTextOrFetch()
Retrieval of associated GLAccountText entities (one to many).
|
Class<GLAccountInChartOfAccounts> |
getType() |
int |
hashCode() |
void |
setAccountIsBlockedForCreation(Boolean accountIsBlockedForCreation)
Constraints: none
|
void |
setAccountIsBlockedForPlanning(Boolean accountIsBlockedForPlanning)
Constraints: none
|
void |
setAccountIsBlockedForPosting(Boolean accountIsBlockedForPosting)
Constraints: none
|
void |
setAccountIsMarkedForDeletion(Boolean accountIsMarkedForDeletion)
Constraints: none
|
void |
setChartOfAccounts(String chartOfAccounts)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCorporateGroupAccount(String corporateGroupAccount)
Constraints: Not nullable, Maximum length: 10
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(LocalDateTime creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setFunctionalArea(String functionalArea)
Constraints: Not nullable, Maximum length: 16
|
void |
setGLAccount(String gLAccount)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setGLAccountExternal(String gLAccountExternal)
Constraints: Not nullable, Maximum length: 10
|
void |
setGLAccountGroup(String gLAccountGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setGLAccountType(String gLAccountType)
Constraints: Not nullable, Maximum length: 1
|
void |
setIsBalanceSheetAccount(Boolean isBalanceSheetAccount)
Constraints: none
|
void |
setIsProfitLossAccount(Boolean isProfitLossAccount)
Constraints: none
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setPartnerCompany(String partnerCompany)
Constraints: Not nullable, Maximum length: 6
|
void |
setProfitLossAccountType(String profitLossAccountType)
Constraints: Not nullable, Maximum length: 2
|
void |
setSampleGLAccount(String sampleGLAccount)
Constraints: Not nullable, Maximum length: 10
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setText(List<GLAccountText> value)
Overwrites the list of associated GLAccountText entities for the loaded navigation property
to_Text.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final GLAccountInChartOfAccountsSelectable ALL_FIELDS
public static final GLAccountInChartOfAccountsField<String> CHART_OF_ACCOUNTS
public static final GLAccountInChartOfAccountsField<String> GL_ACCOUNT
public static final GLAccountInChartOfAccountsField<Boolean> IS_BALANCE_SHEET_ACCOUNT
public static final GLAccountInChartOfAccountsField<String> GL_ACCOUNT_GROUP
public static final GLAccountInChartOfAccountsField<String> CORPORATE_GROUP_ACCOUNT
public static final GLAccountInChartOfAccountsField<String> PROFIT_LOSS_ACCOUNT_TYPE
public static final GLAccountInChartOfAccountsField<String> SAMPLE_GL_ACCOUNT
public static final GLAccountInChartOfAccountsField<Boolean> ACCOUNT_IS_MARKED_FOR_DELETION
public static final GLAccountInChartOfAccountsField<Boolean> ACCOUNT_IS_BLOCKED_FOR_CREATION
public static final GLAccountInChartOfAccountsField<Boolean> ACCOUNT_IS_BLOCKED_FOR_POSTING
public static final GLAccountInChartOfAccountsField<Boolean> ACCOUNT_IS_BLOCKED_FOR_PLANNING
public static final GLAccountInChartOfAccountsField<String> PARTNER_COMPANY
public static final GLAccountInChartOfAccountsField<String> FUNCTIONAL_AREA
public static final GLAccountInChartOfAccountsField<LocalDateTime> CREATION_DATE
public static final GLAccountInChartOfAccountsField<String> CREATED_BY_USER
public static final GLAccountInChartOfAccountsField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final GLAccountInChartOfAccountsField<String> GL_ACCOUNT_TYPE
public static final GLAccountInChartOfAccountsField<String> GL_ACCOUNT_EXTERNAL
public static final GLAccountInChartOfAccountsField<Boolean> IS_PROFIT_LOSS_ACCOUNT
public static final GLAccountInChartOfAccountsLink<GLAccountText> TO_TEXT
public GLAccountInChartOfAccounts()
public GLAccountInChartOfAccounts(@Nullable String chartOfAccounts, @Nullable String gLAccount, @Nullable Boolean isBalanceSheetAccount, @Nullable String gLAccountGroup, @Nullable String corporateGroupAccount, @Nullable String profitLossAccountType, @Nullable String sampleGLAccount, @Nullable Boolean accountIsMarkedForDeletion, @Nullable Boolean accountIsBlockedForCreation, @Nullable Boolean accountIsBlockedForPosting, @Nullable Boolean accountIsBlockedForPlanning, @Nullable String partnerCompany, @Nullable String functionalArea, @Nullable LocalDateTime creationDate, @Nullable String createdByUser, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String gLAccountType, @Nullable String gLAccountExternal, @Nullable Boolean isProfitLossAccount, List<GLAccountText> toText)
@Nonnull public Class<GLAccountInChartOfAccounts> getType()
getType
in class VdmObject<GLAccountInChartOfAccounts>
public void setChartOfAccounts(@Nullable String chartOfAccounts)
Original property name from the Odata EDM: ChartOfAccounts
chartOfAccounts
- Key that uniquely identifies a chart of accounts.public void setGLAccount(@Nullable String gLAccount)
Original property name from the Odata EDM: GLAccount
gLAccount
- The G/L account number identifies the G/L account in a chart of accounts.public void setIsBalanceSheetAccount(@Nullable Boolean isBalanceSheetAccount)
Original property name from the Odata EDM: IsBalanceSheetAccount
If you determine that you erroneously defined a G/L account as a balance sheet account instead of a profit and loss account for the previous fiscal year, the G/L account master will have to be changed. You then have to rerun the SAPF011 program so that the balance carried forward for the G/L accounts is correct.
isBalanceSheetAccount
- Indicates that the G/L account is managed as a balance sheet account. You must enter all balance sheet
accounts in this field.public void setGLAccountGroup(@Nullable String gLAccountGroup)
Original property name from the Odata EDM: GLAccountGroup
The account group determines the fields for the entry screens if you create or change a master record in the company code. The account group also determines in which number range the account number must be contained.
gLAccountGroup
- The account group is a classifying feature within the G/L account master records. The account is a
required entry.public void setCorporateGroupAccount(@Nullable String corporateGroupAccount)
Original property name from the Odata EDM: CorporateGroupAccount
The usage of the group account number offers the advantage that by specifying a number, a group of accounts can be assigned immediately to the balance sheet or P+L item.If a balance sheet or P+L structure is to be defined which is to be used for several company codes with different charts of accounts, the problems which are created as a result can be avoided by using the group account number so that:accounts with the same meaning have different account numbersaccounts with the same account number have different meanings and, if necessary, are to be assigned to different line items in the balance sheet or P+L.
corporateGroupAccount
- When you define the balance sheet and P+L structures, then accounts are assigned to line items within
the balance sheet and P+L. This assignment is made either via the G/L account number or alternatively
via the group account number given in this field.public void setProfitLossAccountType(@Nullable String profitLossAccountType)
Original property name from the Odata EDM: ProfitLossAccountType
If you are creating a P&L account, you must make an entry here.If you determine during a fiscal year that you mistakenly designated a G/L account as a P&L account instead of a balance sheet account, you will need to change its master record. You will then have to rerun program SAPF011 to correct the balances of the G/L accounts carried forward.
profitLossAccountType
- With the P&L statement account type, you determine the retained earnings account for each P&L account.
The retained earnings account is used during year-end closing to calculate the company's result.public void setSampleGLAccount(@Nullable String sampleGLAccount)
Original property name from the Odata EDM: SampleGLAccount
The sample account contains data which will be transferred when you have created a master record in the company code. Using the sample accounts is optional. Data transfer rules determine how data will be transferred from the sample account.
sampleGLAccount
- The number of the sample account uniquely identifies the sample account in the SAP system.public void setAccountIsMarkedForDeletion(@Nullable Boolean accountIsMarkedForDeletion)
Original property name from the Odata EDM: AccountIsMarkedForDeletion
The deletion must be carried out using the program for archiving G/L account master data. This program archives the master records that have been marked for deletion, providing there is no dependent data remaining in the system.The program for deleting master records also takes account of those master records marked for deletion. However, you should only use this program to delete test data before you go live with the system.
accountIsMarkedForDeletion
- Indicator which specifies that master record data is to be deleted.public void setAccountIsBlockedForCreation(@Nullable Boolean accountIsBlockedForCreation)
Original property name from the Odata EDM: AccountIsBlockedForCreation
accountIsBlockedForCreation
- An entry in this field causes the account to be blocked for creation in the specified company code.public void setAccountIsBlockedForPosting(@Nullable Boolean accountIsBlockedForPosting)
Original property name from the Odata EDM: AccountIsBlockedForPosting
accountIsBlockedForPosting
- An entry in this field means that the account is blocked for zum posting.public void setAccountIsBlockedForPlanning(@Nullable Boolean accountIsBlockedForPlanning)
Original property name from the Odata EDM: AccountIsBlockedForPlanning
accountIsBlockedForPlanning
- An entry in this field causes the account to be blocked for planning.public void setPartnerCompany(@Nullable String partnerCompany)
Original property name from the Odata EDM: PartnerCompany
partnerCompany
- Company ID standard for the whole group.public void setFunctionalArea(@Nullable String functionalArea)
Original property name from the Odata EDM: FunctionalArea
Use for Cost-of-Sales AccountingThe functional area is required to create a profit and loss account in Financial Accounting using cost-of-sales accounting. The following are examples of structure criteria:ManufacturingAdministrationSalesResearch and developmentUse for GovernmentThe functional area is needed for Funds Management to meet legal requirements for reporting with functional aspects. You can use the functional area to represent the global targets and goals (such as public safety or city development), in particular the expenses of your organization.Use in cost-of-sales accountingSee the documentation on Filling the Functional Area Field.For comprehensive information on cost-of-sales accounting and on the functional area, see the SAP Library under Accounting -> Financial Accounting -> General Ledger -> Cost-of-Sales Accounting.Use in governmentFor more information on the functional area, see the implementation Guide for Funds Management Government in the section Activate Account Assignment Elements.
functionalArea
- Structure criterion for an enterprise or government based on functional aspects.public void setCreationDate(@Nullable LocalDateTime creationDate)
Original property name from the Odata EDM: CreationDate
creationDate
- Date on which the master record, or the part of the master record being viewed, was created.public void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Name with which the user who entered the master record was logged on in the R/3 System.public void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
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
lastChangeDateTime
- The UTC timestamp is the date and time relative to the UTC (Universal coordinated time).public void setGLAccountType(@Nullable String gLAccountType)
Original property name from the Odata EDM: GLAccountType
The general ledger account type determines how the general ledger account can be used in financial accounting (FI) and controlling (CO).The following values are possible:X - Balance Sheet AccountBalance sheet accountN - Nonoperating Expense or IncomeProfit and loss account that is used in FI onlyP - Primary Costs or RevenueProfit and loss account that is used in FI and COS - Secondary CostsProfit and loss account that is used in CO only
gLAccountType
- Specifies the general ledger account type that classifies the general ledger account.public void setGLAccountExternal(@Nullable String gLAccountExternal)
Original property name from the Odata EDM: GLAccountExternal
gLAccountExternal
- The number of the G/L account clearly identifies the G/L account in a chart of accounts.public void setIsProfitLossAccount(@Nullable Boolean isProfitLossAccount)
Original property name from the Odata EDM: IsProfitLossAccount
If you determine that you erroneously defined a G/L account as a balance sheet account instead of a profit and loss account for the previous fiscal year, the G/L account master will have to be changed. You then have to rerun the SAPF011 program so that the balance carried forward for the G/L accounts is correct.
isProfitLossAccount
- Indicates that the G/L account is managed as a balance sheet account. You must enter all balance sheet
accounts in this field.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<GLAccountInChartOfAccounts>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<GLAccountInChartOfAccounts>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<GLAccountInChartOfAccounts>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<GLAccountInChartOfAccounts>
@Nonnull public static <T> GLAccountInChartOfAccountsField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.@Nonnull public static <T,DomainT> GLAccountInChartOfAccountsField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<GLAccountInChartOfAccounts>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<GLAccountInChartOfAccounts>
erpConfigContext
- New ERP configuration context to apply to this entityprotected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<GLAccountInChartOfAccounts>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<GLAccountInChartOfAccounts>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<GLAccountInChartOfAccounts>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<GLAccountInChartOfAccounts>
@Nonnull public List<GLAccountText> fetchText() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<GLAccountText> getTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Text of a queried GLAccountInChartOfAccounts is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public Optional<List<GLAccountText>> getTextIfPresent()
If the navigation property for an entity GLAccountInChartOfAccounts has not been resolved yet, this method
will not query further information. Instead its Optional
result state will be
empty
.
Optional
with result state empty
is
returned.public void setText(@Nonnull List<GLAccountText> value)
If the navigation property to_Text of a queried GLAccountInChartOfAccounts is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of GLAccountText entities.public void addText(GLAccountText... entity)
If the navigation property to_Text of a queried GLAccountInChartOfAccounts is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of GLAccountText entities.public static GLAccountInChartOfAccounts.GLAccountInChartOfAccountsBuilder builder()
@Nullable public String getChartOfAccounts()
Original property name from the Odata EDM: ChartOfAccounts
@Nullable public String getGLAccount()
Original property name from the Odata EDM: GLAccount
@Nullable public Boolean getIsBalanceSheetAccount()
Original property name from the Odata EDM: IsBalanceSheetAccount
If you determine that you erroneously defined a G/L account as a balance sheet account instead of a profit and loss account for the previous fiscal year, the G/L account master will have to be changed. You then have to rerun the SAPF011 program so that the balance carried forward for the G/L accounts is correct.
@Nullable public String getGLAccountGroup()
Original property name from the Odata EDM: GLAccountGroup
The account group determines the fields for the entry screens if you create or change a master record in the company code. The account group also determines in which number range the account number must be contained.
@Nullable public String getCorporateGroupAccount()
Original property name from the Odata EDM: CorporateGroupAccount
The usage of the group account number offers the advantage that by specifying a number, a group of accounts can be assigned immediately to the balance sheet or P+L item.If a balance sheet or P+L structure is to be defined which is to be used for several company codes with different charts of accounts, the problems which are created as a result can be avoided by using the group account number so that:accounts with the same meaning have different account numbersaccounts with the same account number have different meanings and, if necessary, are to be assigned to different line items in the balance sheet or P+L.
@Nullable public String getProfitLossAccountType()
Original property name from the Odata EDM: ProfitLossAccountType
If you are creating a P&L account, you must make an entry here.If you determine during a fiscal year that you mistakenly designated a G/L account as a P&L account instead of a balance sheet account, you will need to change its master record. You will then have to rerun program SAPF011 to correct the balances of the G/L accounts carried forward.
@Nullable public String getSampleGLAccount()
Original property name from the Odata EDM: SampleGLAccount
The sample account contains data which will be transferred when you have created a master record in the company code. Using the sample accounts is optional. Data transfer rules determine how data will be transferred from the sample account.
@Nullable public Boolean getAccountIsMarkedForDeletion()
Original property name from the Odata EDM: AccountIsMarkedForDeletion
The deletion must be carried out using the program for archiving G/L account master data. This program archives the master records that have been marked for deletion, providing there is no dependent data remaining in the system.The program for deleting master records also takes account of those master records marked for deletion. However, you should only use this program to delete test data before you go live with the system.
@Nullable public Boolean getAccountIsBlockedForCreation()
Original property name from the Odata EDM: AccountIsBlockedForCreation
@Nullable public Boolean getAccountIsBlockedForPosting()
Original property name from the Odata EDM: AccountIsBlockedForPosting
@Nullable public Boolean getAccountIsBlockedForPlanning()
Original property name from the Odata EDM: AccountIsBlockedForPlanning
@Nullable public String getPartnerCompany()
Original property name from the Odata EDM: PartnerCompany
@Nullable public String getFunctionalArea()
Original property name from the Odata EDM: FunctionalArea
Use for Cost-of-Sales AccountingThe functional area is required to create a profit and loss account in Financial Accounting using cost-of-sales accounting. The following are examples of structure criteria:ManufacturingAdministrationSalesResearch and developmentUse for GovernmentThe functional area is needed for Funds Management to meet legal requirements for reporting with functional aspects. You can use the functional area to represent the global targets and goals (such as public safety or city development), in particular the expenses of your organization.Use in cost-of-sales accountingSee the documentation on Filling the Functional Area Field.For comprehensive information on cost-of-sales accounting and on the functional area, see the SAP Library under Accounting -> Financial Accounting -> General Ledger -> Cost-of-Sales Accounting.Use in governmentFor more information on the functional area, see the implementation Guide for Funds Management Government in the section Activate Account Assignment Elements.
@Nullable public LocalDateTime getCreationDate()
Original property name from the Odata EDM: CreationDate
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public ZonedDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
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
@Nullable public String getGLAccountType()
Original property name from the Odata EDM: GLAccountType
The general ledger account type determines how the general ledger account can be used in financial accounting (FI) and controlling (CO).The following values are possible:X - Balance Sheet AccountBalance sheet accountN - Nonoperating Expense or IncomeProfit and loss account that is used in FI onlyP - Primary Costs or RevenueProfit and loss account that is used in FI and COS - Secondary CostsProfit and loss account that is used in CO only
@Nullable public String getGLAccountExternal()
Original property name from the Odata EDM: GLAccountExternal
@Nullable public Boolean getIsProfitLossAccount()
Original property name from the Odata EDM: IsProfitLossAccount
If you determine that you erroneously defined a G/L account as a balance sheet account instead of a profit and loss account for the previous fiscal year, the G/L account master will have to be changed. You then have to rerun the SAPF011 program so that the balance carried forward for the G/L accounts is correct.
public String toString()
toString
in class VdmObject<GLAccountInChartOfAccounts>
public boolean equals(Object o)
equals
in class VdmObject<GLAccountInChartOfAccounts>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<GLAccountInChartOfAccounts>
public int hashCode()
hashCode
in class VdmObject<GLAccountInChartOfAccounts>
Copyright © 2019 SAP SE. All rights reserved.