public class JournalEntryItem extends VdmEntity<JournalEntryItem>
Original entity name from the Odata EDM: JournalEntryItemType
Modifier and Type | Class and Description |
---|---|
static class |
JournalEntryItem.JournalEntryItemBuilder |
Modifier and Type | Field and Description |
---|---|
static JournalEntryItemField<String> |
ACCOUNTING_DOCUMENT
Use with available fluent helpers to apply the AccountingDocument field to query operations.
|
static JournalEntryItemField<String> |
ACCOUNTING_DOCUMENT_ITEM
Use with available fluent helpers to apply the AccountingDocumentItem field to query operations.
|
static JournalEntryItemSelectable |
ALL_FIELDS
Selector for all available fields of JournalEntryItem.
|
static JournalEntryItemField<BigDecimal> |
AMOUNT_IN_COMPANY_CODE_CURRENCY
Use with available fluent helpers to apply the AmountInCompanyCodeCurrency field to query operations.
|
static JournalEntryItemField<BigDecimal> |
AMOUNT_IN_TRANSACTION_CURRENCY
Use with available fluent helpers to apply the AmountInTransactionCurrency field to query operations.
|
static JournalEntryItemField<String> |
ASSIGNMENT_REFERENCE
Use with available fluent helpers to apply the AssignmentReference field to query operations.
|
static JournalEntryItemField<LocalDateTime> |
BANK_RECONCILIATION_DATE
Use with available fluent helpers to apply the BankReconciliationDate field to query operations.
|
static JournalEntryItemField<String> |
BANK_RECONCILIATION_MATCH_TYPE
Use with available fluent helpers to apply the BankReconciliationMatchType field to query operations.
|
static JournalEntryItemField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static JournalEntryItemField<String> |
COMPANY_CODE_CURRENCY
Use with available fluent helpers to apply the CompanyCodeCurrency field to query operations.
|
static JournalEntryItemField<BigDecimal> |
CREDIT_AMOUNT_IN_TRANS_CRCY
Use with available fluent helpers to apply the CreditAmountInTransCrcy field to query operations.
|
static JournalEntryItemField<BigDecimal> |
DEBIT_AMOUNT_IN_TRANS_CRCY
Use with available fluent helpers to apply the DebitAmountInTransCrcy field to query operations.
|
static JournalEntryItemField<String> |
DOCUMENT_ITEM_TEXT
Use with available fluent helpers to apply the DocumentItemText field to query operations.
|
static JournalEntryItemField<String> |
FISCAL_YEAR
Use with available fluent helpers to apply the FiscalYear field to query operations.
|
static JournalEntryItemField<String> |
HOUSE_BANK
Use with available fluent helpers to apply the HouseBank field to query operations.
|
static JournalEntryItemField<String> |
HOUSE_BANK_ACCOUNT
Use with available fluent helpers to apply the HouseBankAccount field to query operations.
|
static JournalEntryItemField<String> |
HOUSE_BANK_CURRENCY
Use with available fluent helpers to apply the HouseBankCurrency field to query operations.
|
static JournalEntryItemField<String> |
NOTE
Use with available fluent helpers to apply the Note field to query operations.
|
static JournalEntryItemField<LocalDateTime> |
POSTING_DATE
Use with available fluent helpers to apply the PostingDate field to query operations.
|
static JournalEntryItemField<String> |
TRANSACTION_CURRENCY
Use with available fluent helpers to apply the TransactionCurrency field to query operations.
|
static JournalEntryItemField<LocalDateTime> |
VALUE_DATE
Use with available fluent helpers to apply the ValueDate field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
JournalEntryItem() |
JournalEntryItem(String companyCode,
String houseBank,
String houseBankAccount,
LocalDateTime bankReconciliationDate,
String fiscalYear,
String accountingDocument,
String accountingDocumentItem,
String bankReconciliationMatchType,
String note,
String houseBankCurrency,
BigDecimal debitAmountInTransCrcy,
BigDecimal creditAmountInTransCrcy,
String transactionCurrency,
BigDecimal amountInTransactionCurrency,
String companyCodeCurrency,
BigDecimal amountInCompanyCodeCurrency,
LocalDateTime postingDate,
String documentItemText,
LocalDateTime valueDate,
String assignmentReference) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static JournalEntryItem.JournalEntryItemBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> JournalEntryItemField<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) |
String |
getAccountingDocument()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getAccountingDocumentItem()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
BigDecimal |
getAmountInCompanyCodeCurrency()
Constraints: Not nullable, Precision: 24, Scale: 3
|
BigDecimal |
getAmountInTransactionCurrency()
Constraints: Not nullable, Precision: 24, Scale: 3
|
String |
getAssignmentReference()
Constraints: Not nullable, Maximum length: 18
|
LocalDateTime |
getBankReconciliationDate()
(Key Field) Constraints: Not nullable, Precision: 0
|
String |
getBankReconciliationMatchType()
Constraints: Not nullable, Maximum length: 1
|
String |
getCompanyCode()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCompanyCodeCurrency()
Constraints: Not nullable, Maximum length: 5
|
BigDecimal |
getCreditAmountInTransCrcy()
Constraints: Not nullable, Precision: 24, Scale: 3
|
BigDecimal |
getDebitAmountInTransCrcy()
Constraints: Not nullable, Precision: 24, Scale: 3
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getDocumentItemText()
Constraints: Not nullable, Maximum length: 50
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getFiscalYear()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getHouseBank()
(Key Field) Constraints: Not nullable, Maximum length: 5
|
String |
getHouseBankAccount()
(Key Field) Constraints: Not nullable, Maximum length: 5
|
String |
getHouseBankCurrency()
Constraints: Not nullable, Maximum length: 5
|
protected Map<String,Object> |
getKey() |
String |
getNote()
Constraints: Not nullable, Maximum length: 255
|
LocalDateTime |
getPostingDate()
Constraints: Not nullable, Precision: 0
|
String |
getTransactionCurrency()
Constraints: Not nullable, Maximum length: 5
|
Class<JournalEntryItem> |
getType() |
LocalDateTime |
getValueDate()
Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setAccountingDocument(String accountingDocument)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setAccountingDocumentItem(String accountingDocumentItem)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setAmountInCompanyCodeCurrency(BigDecimal amountInCompanyCodeCurrency)
Constraints: Not nullable, Precision: 24, Scale: 3
|
void |
setAmountInTransactionCurrency(BigDecimal amountInTransactionCurrency)
Constraints: Not nullable, Precision: 24, Scale: 3
|
void |
setAssignmentReference(String assignmentReference)
Constraints: Not nullable, Maximum length: 18
|
void |
setBankReconciliationDate(LocalDateTime bankReconciliationDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
void |
setBankReconciliationMatchType(String bankReconciliationMatchType)
Constraints: Not nullable, Maximum length: 1
|
void |
setCompanyCode(String companyCode)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCompanyCodeCurrency(String companyCodeCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setCreditAmountInTransCrcy(BigDecimal creditAmountInTransCrcy)
Constraints: Not nullable, Precision: 24, Scale: 3
|
void |
setDebitAmountInTransCrcy(BigDecimal debitAmountInTransCrcy)
Constraints: Not nullable, Precision: 24, Scale: 3
|
void |
setDocumentItemText(String documentItemText)
Constraints: Not nullable, Maximum length: 50
|
void |
setFiscalYear(String fiscalYear)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setHouseBank(String houseBank)
(Key Field) Constraints: Not nullable, Maximum length: 5
|
void |
setHouseBankAccount(String houseBankAccount)
(Key Field) Constraints: Not nullable, Maximum length: 5
|
void |
setHouseBankCurrency(String houseBankCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setNote(String note)
Constraints: Not nullable, Maximum length: 255
|
void |
setPostingDate(LocalDateTime postingDate)
Constraints: Not nullable, Precision: 0
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setTransactionCurrency(String transactionCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setValueDate(LocalDateTime valueDate)
Constraints: Not nullable, Precision: 0
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final JournalEntryItemSelectable ALL_FIELDS
public static final JournalEntryItemField<String> COMPANY_CODE
public static final JournalEntryItemField<String> HOUSE_BANK
public static final JournalEntryItemField<String> HOUSE_BANK_ACCOUNT
public static final JournalEntryItemField<LocalDateTime> BANK_RECONCILIATION_DATE
public static final JournalEntryItemField<String> FISCAL_YEAR
public static final JournalEntryItemField<String> ACCOUNTING_DOCUMENT
public static final JournalEntryItemField<String> ACCOUNTING_DOCUMENT_ITEM
public static final JournalEntryItemField<String> BANK_RECONCILIATION_MATCH_TYPE
public static final JournalEntryItemField<String> NOTE
public static final JournalEntryItemField<String> HOUSE_BANK_CURRENCY
public static final JournalEntryItemField<BigDecimal> DEBIT_AMOUNT_IN_TRANS_CRCY
public static final JournalEntryItemField<BigDecimal> CREDIT_AMOUNT_IN_TRANS_CRCY
public static final JournalEntryItemField<String> TRANSACTION_CURRENCY
public static final JournalEntryItemField<BigDecimal> AMOUNT_IN_TRANSACTION_CURRENCY
public static final JournalEntryItemField<String> COMPANY_CODE_CURRENCY
public static final JournalEntryItemField<BigDecimal> AMOUNT_IN_COMPANY_CODE_CURRENCY
public static final JournalEntryItemField<LocalDateTime> POSTING_DATE
public static final JournalEntryItemField<String> DOCUMENT_ITEM_TEXT
public static final JournalEntryItemField<LocalDateTime> VALUE_DATE
public static final JournalEntryItemField<String> ASSIGNMENT_REFERENCE
public JournalEntryItem()
public JournalEntryItem(@Nullable String companyCode, @Nullable String houseBank, @Nullable String houseBankAccount, @Nullable LocalDateTime bankReconciliationDate, @Nullable String fiscalYear, @Nullable String accountingDocument, @Nullable String accountingDocumentItem, @Nullable String bankReconciliationMatchType, @Nullable String note, @Nullable String houseBankCurrency, @Nullable BigDecimal debitAmountInTransCrcy, @Nullable BigDecimal creditAmountInTransCrcy, @Nullable String transactionCurrency, @Nullable BigDecimal amountInTransactionCurrency, @Nullable String companyCodeCurrency, @Nullable BigDecimal amountInCompanyCodeCurrency, @Nullable LocalDateTime postingDate, @Nullable String documentItemText, @Nullable LocalDateTime valueDate, @Nullable String assignmentReference)
@Nonnull public Class<JournalEntryItem> getType()
getType
in class VdmObject<JournalEntryItem>
public void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- The company code is an organizational unit within financial accounting.public void setHouseBank(@Nullable String houseBank)
Original property name from the Odata EDM: HouseBank
houseBank
- All bank data is determined using this key.public void setHouseBankAccount(@Nullable String houseBankAccount)
Original property name from the Odata EDM: HouseBankAccount
houseBankAccount
- This ID together with the ID for the house bank uniquely defines a bank account.public void setBankReconciliationDate(@Nullable LocalDateTime bankReconciliationDate)
Original property name from the Odata EDM: BankReconciliationDate
bankReconciliationDate
- Reconciliation Datepublic void setFiscalYear(@Nullable String fiscalYear)
Original property name from the Odata EDM: FiscalYear
fiscalYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The
fiscal year can be the same as the calendar year, but does not have to be.public void setAccountingDocument(@Nullable String accountingDocument)
Original property name from the Odata EDM: AccountingDocument
The document number is unique per company code and fiscal year. When entering an accounting document, you can specify the number manually or it can be determined by the system from a pre-defined area (number range).The relevant area of the document numbers (number range) is determined in each company code per document type.
accountingDocument
- The document number is the key the system uses to access the accounting document.public void setAccountingDocumentItem(@Nullable String accountingDocumentItem)
Original property name from the Odata EDM: AccountingDocumentItem
accountingDocumentItem
- All the items in an accounting document contain a number by which they may be uniquely identified. The
system assigns the numbers continuously during document entry.public void setBankReconciliationMatchType(@Nullable String bankReconciliationMatchType)
Original property name from the Odata EDM: BankReconciliationMatchType
bankReconciliationMatchType
- Matched Indicatorpublic void setNote(@Nullable String note)
Original property name from the Odata EDM: Note
You can enter your comments for open items as required. For example, if clearing the open item is not possible in the current period, you can enter the reason for that.
note
- Shows additional information about the open item.public void setHouseBankCurrency(@Nullable String houseBankCurrency)
Original property name from the Odata EDM: HouseBankCurrency
houseBankCurrency
- Key for the currency in which the amounts are managed in the system.public void setDebitAmountInTransCrcy(@Nullable BigDecimal debitAmountInTransCrcy)
Original property name from the Odata EDM: DebitAmountInTransCrcy
debitAmountInTransCrcy
- The debitAmountInTransCrcy to set.public void setCreditAmountInTransCrcy(@Nullable BigDecimal creditAmountInTransCrcy)
Original property name from the Odata EDM: CreditAmountInTransCrcy
creditAmountInTransCrcy
- The creditAmountInTransCrcy to set.public void setTransactionCurrency(@Nullable String transactionCurrency)
Original property name from the Odata EDM: TransactionCurrency
transactionCurrency
- Transaction Currencypublic void setAmountInTransactionCurrency(@Nullable BigDecimal amountInTransactionCurrency)
Original property name from the Odata EDM: AmountInTransactionCurrency
amountInTransactionCurrency
- Amount in Transaction Currencypublic void setCompanyCodeCurrency(@Nullable String companyCodeCurrency)
Original property name from the Odata EDM: CompanyCodeCurrency
companyCodeCurrency
- Company Code Currencypublic void setAmountInCompanyCodeCurrency(@Nullable BigDecimal amountInCompanyCodeCurrency)
Original property name from the Odata EDM: AmountInCompanyCodeCurrency
amountInCompanyCodeCurrency
- Amount in Company Code Currencypublic void setPostingDate(@Nullable LocalDateTime postingDate)
Original property name from the Odata EDM: PostingDate
postingDate
- Posting Datepublic void setDocumentItemText(@Nullable String documentItemText)
Original property name from the Odata EDM: DocumentItemText
Line item texts can be used internally and externally. To be able to distinguish between these, you must begin texts for external use with "*". These texts can then be printed on all correspondence, dunning notices, payment advice notes, etc. The asterisk is removed when the text is printed.This function is only available in the FI component. It cannot be used in Materials Management.
documentItemText
- Contains an explanatory text on the line item.public void setValueDate(@Nullable LocalDateTime valueDate)
Original property name from the Odata EDM: ValueDate
The value date is used in bank accounts and bank sub-accounts.
valueDate
- Value datepublic void setAssignmentReference(@Nullable String assignmentReference)
Original property name from the Odata EDM: AssignmentReference
assignmentReference
- Assignment Referenceprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<JournalEntryItem>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<JournalEntryItem>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<JournalEntryItem>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<JournalEntryItem>
@Nonnull public static <T> JournalEntryItemField<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> JournalEntryItemField<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 HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<JournalEntryItem>
protected 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<JournalEntryItem>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
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<JournalEntryItem>
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.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<JournalEntryItem>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static JournalEntryItem.JournalEntryItemBuilder builder()
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getHouseBank()
Original property name from the Odata EDM: HouseBank
@Nullable public String getHouseBankAccount()
Original property name from the Odata EDM: HouseBankAccount
@Nullable public LocalDateTime getBankReconciliationDate()
Original property name from the Odata EDM: BankReconciliationDate
@Nullable public String getFiscalYear()
Original property name from the Odata EDM: FiscalYear
@Nullable public String getAccountingDocument()
Original property name from the Odata EDM: AccountingDocument
The document number is unique per company code and fiscal year. When entering an accounting document, you can specify the number manually or it can be determined by the system from a pre-defined area (number range).The relevant area of the document numbers (number range) is determined in each company code per document type.
@Nullable public String getAccountingDocumentItem()
Original property name from the Odata EDM: AccountingDocumentItem
@Nullable public String getBankReconciliationMatchType()
Original property name from the Odata EDM: BankReconciliationMatchType
@Nullable public String getNote()
Original property name from the Odata EDM: Note
You can enter your comments for open items as required. For example, if clearing the open item is not possible in the current period, you can enter the reason for that.
@Nullable public String getHouseBankCurrency()
Original property name from the Odata EDM: HouseBankCurrency
@Nullable public BigDecimal getDebitAmountInTransCrcy()
Original property name from the Odata EDM: DebitAmountInTransCrcy
@Nullable public BigDecimal getCreditAmountInTransCrcy()
Original property name from the Odata EDM: CreditAmountInTransCrcy
@Nullable public String getTransactionCurrency()
Original property name from the Odata EDM: TransactionCurrency
@Nullable public BigDecimal getAmountInTransactionCurrency()
Original property name from the Odata EDM: AmountInTransactionCurrency
@Nullable public String getCompanyCodeCurrency()
Original property name from the Odata EDM: CompanyCodeCurrency
@Nullable public BigDecimal getAmountInCompanyCodeCurrency()
Original property name from the Odata EDM: AmountInCompanyCodeCurrency
@Nullable public LocalDateTime getPostingDate()
Original property name from the Odata EDM: PostingDate
@Nullable public String getDocumentItemText()
Original property name from the Odata EDM: DocumentItemText
Line item texts can be used internally and externally. To be able to distinguish between these, you must begin texts for external use with "*". These texts can then be printed on all correspondence, dunning notices, payment advice notes, etc. The asterisk is removed when the text is printed.This function is only available in the FI component. It cannot be used in Materials Management.
@Nullable public LocalDateTime getValueDate()
Original property name from the Odata EDM: ValueDate
The value date is used in bank accounts and bank sub-accounts.
@Nullable public String getAssignmentReference()
Original property name from the Odata EDM: AssignmentReference
@Nonnull public String toString()
toString
in class VdmObject<JournalEntryItem>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<JournalEntryItem>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<JournalEntryItem>
public int hashCode()
hashCode
in class VdmObject<JournalEntryItem>
Copyright © 2021 SAP SE. All rights reserved.