Class FixedAssetAcquisition
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FixedAssetAcquisition_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FixedAssetAcquisition instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<FixedAssetAcquisition,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.NumericDecimal<FixedAssetAcquisition>static final SimpleProperty<FixedAssetAcquisition>Selector for all available fields of FixedAssetAcquisition.static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.Date<FixedAssetAcquisition>static final SimpleProperty.Date<FixedAssetAcquisition>static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.Date<FixedAssetAcquisition>static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.Date<FixedAssetAcquisition>static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.Guid<FixedAssetAcquisition>static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.Date<FixedAssetAcquisition>static final SimpleProperty.NumericDecimal<FixedAssetAcquisition>static final SimpleProperty.String<FixedAssetAcquisition>Use with available request builders to apply the _FixedAssetPostingItemAmount navigation property to query operations.Use with available request builders to apply the _FixedAssetPostingLedger navigation property to query operations.Use with available request builders to apply the _FixedAssetPostingValuation navigation property to query operations.static final SimpleProperty.String<FixedAssetAcquisition>static final SimpleProperty.String<FixedAssetAcquisition>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFixedAssetAcquisition(UUID fixedAssetPostingUUID, String referenceDocumentItem, String companyCode, String masterFixedAsset, String fixedAsset, String assetClass, LocalDate documentDate, LocalDate postingDate, LocalDate assetValueDate, LocalDate assetOriginalValueDate, String businessTransactionType, String documentReferenceID, String accountingDocumentHeaderText, LocalDate exchangeRateDate, BigDecimal acqnAmtInTransactionCurrency, String transactionCurrency, BigDecimal quantityInBaseUnit, String baseUnitSAPCode, String baseUnitISOCode, String debitCreditCode, String fixedAssetYearOfAcqnCode, String accountingDocumentType, String tradingPartner, String assignmentReference, String documentItemText, String offsettingAccount, Collection<SAP__Message> _Messages, List<FixedAssetAcqnItemAmount> to_FixedAssetPostingItemAmount, List<FixedAssetAcquisitionLedger> to_FixedAssetPostingLedger, List<FixedAssetAcqnValuation> to_FixedAssetPostingValuation) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated FixedAssetAcqnItemAmount entities.voidAdds elements to the list of associated FixedAssetAcquisitionLedger entities.voidAdds elements to the list of associated FixedAssetAcqnValuation entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 25Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Precision: 23, Scale: 0Constraints: Not nullable, Maximum length: 8Constraints: NullableConstraints: NullableConstraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1protected StringConstraints: NullableConstraints: Not nullable, Maximum length: 50Constraints: Not nullable, Maximum length: 16protected StringConstraints: NullableConstraints: Not nullable, Maximum length: 4io.vavr.control.Option<List<FixedAssetAcqnItemAmount>>Retrieval of associated FixedAssetAcqnItemAmount entities (one to many).io.vavr.control.Option<List<FixedAssetAcquisitionLedger>>Retrieval of associated FixedAssetAcquisitionLedger entities (one to many).(Key Field) Constraints: Not nullableio.vavr.control.Option<List<FixedAssetAcqnValuation>>Retrieval of associated FixedAssetAcqnValuation entities (one to many).Constraints: Not nullable, Maximum length: 1protected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 10Constraints: NullableConstraints: Not nullable, Precision: 13, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 3getType()inthashCode()post(String referenceDocumentItem, String businessTransactionType, String companyCode, String masterFixedAsset, String fixedAsset, LocalDate documentDate, LocalDate postingDate, LocalDate assetValueDate, LocalDate assetOriginalValueDate, String debitCreditCode, String fixedAssetYearOfAcqnCode, String documentReferenceID, String accountingDocumentHeaderText, LocalDate exchangeRateDate, String transactionCurrency, BigDecimal acqnAmtInTransactionCurrency, BigDecimal quantityInBaseUnit, String baseUnitSAPCode, String baseUnitISOCode, String accountingDocumentType, String tradingPartner, String assignmentReference, String documentItemText, String offsettingAccount, Collection<D_FixedAssetPostAcqnItemAmtP> _ItemAmount, Collection<D_FixedAssetPostAcqnLedgerP> _Ledger) Action that can be applied to a collection of entities of this class.voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetAccountingDocumentHeaderText(String accountingDocumentHeaderText) Constraints: Not nullable, Maximum length: 25voidsetAccountingDocumentType(String accountingDocumentType) Constraints: Not nullable, Maximum length: 2voidsetAcqnAmtInTransactionCurrency(BigDecimal acqnAmtInTransactionCurrency) Constraints: Not nullable, Precision: 23, Scale: 0voidsetAssetClass(String assetClass) Constraints: Not nullable, Maximum length: 8voidsetAssetOriginalValueDate(LocalDate assetOriginalValueDate) Constraints: NullablevoidsetAssetValueDate(LocalDate assetValueDate) Constraints: NullablevoidsetAssignmentReference(String assignmentReference) Constraints: Not nullable, Maximum length: 18voidsetBaseUnitISOCode(String baseUnitISOCode) Constraints: Not nullable, Maximum length: 3voidsetBaseUnitSAPCode(String baseUnitSAPCode) Constraints: Not nullable, Maximum length: 3voidsetBusinessTransactionType(String businessTransactionType) Constraints: Not nullable, Maximum length: 4voidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidsetDebitCreditCode(String debitCreditCode) Constraints: Not nullable, Maximum length: 1voidsetDocumentDate(LocalDate documentDate) Constraints: NullablevoidsetDocumentItemText(String documentItemText) Constraints: Not nullable, Maximum length: 50voidsetDocumentReferenceID(String documentReferenceID) Constraints: Not nullable, Maximum length: 16voidsetExchangeRateDate(LocalDate exchangeRateDate) Constraints: NullablevoidsetFixedAsset(String fixedAsset) Constraints: Not nullable, Maximum length: 4voidOverwrites the list of associated FixedAssetAcqnItemAmount entities for the loaded navigation property _FixedAssetPostingItemAmount.voidOverwrites the list of associated FixedAssetAcquisitionLedger entities for the loaded navigation property _FixedAssetPostingLedger.voidsetFixedAssetPostingUUID(UUID fixedAssetPostingUUID) (Key Field) Constraints: Not nullablevoidOverwrites the list of associated FixedAssetAcqnValuation entities for the loaded navigation property _FixedAssetPostingValuation.voidsetFixedAssetYearOfAcqnCode(String fixedAssetYearOfAcqnCode) Constraints: Not nullable, Maximum length: 1voidsetMasterFixedAsset(String masterFixedAsset) Constraints: Not nullable, Maximum length: 12voidsetOffsettingAccount(String offsettingAccount) Constraints: Not nullable, Maximum length: 10voidsetPostingDate(LocalDate postingDate) Constraints: NullablevoidsetQuantityInBaseUnit(BigDecimal quantityInBaseUnit) Constraints: Not nullable, Precision: 13, Scale: 3voidsetReferenceDocumentItem(String referenceDocumentItem) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetTradingPartner(String tradingPartner) Constraints: Not nullable, Maximum length: 6voidsetTransactionCurrency(String transactionCurrency) Constraints: Not nullable, Maximum length: 3toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of FixedAssetAcquisition. -
FIXED_ASSET_POSTING_UUID
-
REFERENCE_DOCUMENT_ITEM
-
COMPANY_CODE
-
MASTER_FIXED_ASSET
-
FIXED_ASSET
-
ASSET_CLASS
-
DOCUMENT_DATE
-
POSTING_DATE
-
ASSET_VALUE_DATE
-
ASSET_ORIGINAL_VALUE_DATE
-
BUSINESS_TRANSACTION_TYPE
-
DOCUMENT_REFERENCE_ID
-
ACCOUNTING_DOCUMENT_HEADER_TEXT
-
EXCHANGE_RATE_DATE
-
ACQN_AMT_IN_TRANSACTION_CURRENCY
public static final SimpleProperty.NumericDecimal<FixedAssetAcquisition> ACQN_AMT_IN_TRANSACTION_CURRENCY -
TRANSACTION_CURRENCY
-
QUANTITY_IN_BASE_UNIT
-
BASE_UNIT_SAP_CODE
-
BASE_UNIT_ISO_CODE
-
DEBIT_CREDIT_CODE
-
FIXED_ASSET_YEAR_OF_ACQN_CODE
-
ACCOUNTING_DOCUMENT_TYPE
-
TRADING_PARTNER
-
ASSIGNMENT_REFERENCE
-
DOCUMENT_ITEM_TEXT
-
OFFSETTING_ACCOUNT
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__FIXED_ASSET_POSTING_ITEM_AMOUNT
public static final NavigationProperty.Collection<FixedAssetAcquisition,FixedAssetAcqnItemAmount> TO__FIXED_ASSET_POSTING_ITEM_AMOUNTUse with available request builders to apply the _FixedAssetPostingItemAmount navigation property to query operations. -
TO__FIXED_ASSET_POSTING_LEDGER
public static final NavigationProperty.Collection<FixedAssetAcquisition,FixedAssetAcquisitionLedger> TO__FIXED_ASSET_POSTING_LEDGERUse with available request builders to apply the _FixedAssetPostingLedger navigation property to query operations. -
TO__FIXED_ASSET_POSTING_VALUATION
public static final NavigationProperty.Collection<FixedAssetAcquisition,FixedAssetAcqnValuation> TO__FIXED_ASSET_POSTING_VALUATIONUse with available request builders to apply the _FixedAssetPostingValuation navigation property to query operations.
-
-
Constructor Details
-
FixedAssetAcquisition
public FixedAssetAcquisition() -
FixedAssetAcquisition
public FixedAssetAcquisition(@Nullable UUID fixedAssetPostingUUID, @Nullable String referenceDocumentItem, @Nullable String companyCode, @Nullable String masterFixedAsset, @Nullable String fixedAsset, @Nullable String assetClass, @Nullable LocalDate documentDate, @Nullable LocalDate postingDate, @Nullable LocalDate assetValueDate, @Nullable LocalDate assetOriginalValueDate, @Nullable String businessTransactionType, @Nullable String documentReferenceID, @Nullable String accountingDocumentHeaderText, @Nullable LocalDate exchangeRateDate, @Nullable BigDecimal acqnAmtInTransactionCurrency, @Nullable String transactionCurrency, @Nullable BigDecimal quantityInBaseUnit, @Nullable String baseUnitSAPCode, @Nullable String baseUnitISOCode, @Nullable String debitCreditCode, @Nullable String fixedAssetYearOfAcqnCode, @Nullable String accountingDocumentType, @Nullable String tradingPartner, @Nullable String assignmentReference, @Nullable String documentItemText, @Nullable String offsettingAccount, @Nullable Collection<SAP__Message> _Messages, List<FixedAssetAcqnItemAmount> to_FixedAssetPostingItemAmount, List<FixedAssetAcquisitionLedger> to_FixedAssetPostingLedger, List<FixedAssetAcqnValuation> to_FixedAssetPostingValuation)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FixedAssetAcquisition>
-
setFixedAssetPostingUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: FixedAssetPostingUUID
- Parameters:
fixedAssetPostingUUID- Fixed Asset Posting: UUID
-
setReferenceDocumentItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ReferenceDocumentItem
- Parameters:
referenceDocumentItem- Reference Document Line Item
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setMasterFixedAsset
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: MasterFixedAsset
- Parameters:
masterFixedAsset- Main Asset Number
-
setFixedAsset
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FixedAsset
- Parameters:
fixedAsset- Asset Subnumber
-
setAssetClass
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: AssetClass
- Parameters:
assetClass- Asset Class
-
setDocumentDate
Constraints: NullableOriginal property name from the Odata EDM: DocumentDate
- Parameters:
documentDate- Document Date in Document
-
setPostingDate
Constraints: NullableOriginal property name from the Odata EDM: PostingDate
- Parameters:
postingDate- Posting Date in the Document
-
setAssetValueDate
Constraints: NullableOriginal property name from the Odata EDM: AssetValueDate
- Parameters:
assetValueDate- Asset Value Date
-
setAssetOriginalValueDate
Constraints: NullableOriginal property name from the Odata EDM: AssetOriginalValueDate
- Parameters:
assetOriginalValueDate- Original value date of transaction
-
setBusinessTransactionType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BusinessTransactionType
- Parameters:
businessTransactionType- Business Transaction Type
-
setDocumentReferenceID
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: DocumentReferenceID
- Parameters:
documentReferenceID- Reference Document Number
-
setAccountingDocumentHeaderText
Constraints: Not nullable, Maximum length: 25Original property name from the Odata EDM: AccountingDocumentHeaderText
- Parameters:
accountingDocumentHeaderText- Document Header Text
-
setExchangeRateDate
Constraints: NullableOriginal property name from the Odata EDM: ExchangeRateDate
- Parameters:
exchangeRateDate- Translation Date
-
setAcqnAmtInTransactionCurrency
Constraints: Not nullable, Precision: 23, Scale: 0Original property name from the Odata EDM: AcqnAmtInTransactionCurrency
- Parameters:
acqnAmtInTransactionCurrency- Amount Posted
-
setTransactionCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TransactionCurrency
- Parameters:
transactionCurrency- Currency Key
-
setQuantityInBaseUnit
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: QuantityInBaseUnit
- Parameters:
quantityInBaseUnit- Quantity
-
setBaseUnitSAPCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnitSAPCode
- Parameters:
baseUnitSAPCode- Base Unit of Measure
-
setBaseUnitISOCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnitISOCode
- Parameters:
baseUnitISOCode- ISO Code for Unit of Measurement
-
setDebitCreditCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: DebitCreditCode
- Parameters:
debitCreditCode- Debit/Credit Code
-
setFixedAssetYearOfAcqnCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: FixedAssetYearOfAcqnCode
- Parameters:
fixedAssetYearOfAcqnCode- UI Control of Transaction Amounts (Current/Previous)
-
setAccountingDocumentType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: AccountingDocumentType
- Parameters:
accountingDocumentType- Document Type
-
setTradingPartner
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: TradingPartner
- Parameters:
tradingPartner- Company ID
-
setAssignmentReference
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: AssignmentReference
- Parameters:
assignmentReference- Assignment number
-
setDocumentItemText
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: DocumentItemText
- Parameters:
documentItemText- Item Text
-
setOffsettingAccount
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: OffsettingAccount
- Parameters:
offsettingAccount- Offsetting Account Number
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FixedAssetAcquisition>
-
getKey
- Overrides:
getKeyin classVdmObject<FixedAssetAcquisition>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FixedAssetAcquisition>
-
fromMap
- Overrides:
fromMapin classVdmObject<FixedAssetAcquisition>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FixedAssetAcquisition>
-
getFixedAssetPostingItemAmountIfPresent
@Nonnull public io.vavr.control.Option<List<FixedAssetAcqnItemAmount>> getFixedAssetPostingItemAmountIfPresent()Retrieval of associated FixedAssetAcqnItemAmount entities (one to many). This corresponds to the OData navigation property _FixedAssetPostingItemAmount.If the navigation property for an entity FixedAssetAcquisition has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _FixedAssetPostingItemAmount is already loaded, the
result will contain the FixedAssetAcqnItemAmount entities. If not, an
Optionwith result stateemptyis returned.
-
setFixedAssetPostingItemAmount
Overwrites the list of associated FixedAssetAcqnItemAmount entities for the loaded navigation property _FixedAssetPostingItemAmount.If the navigation property _FixedAssetPostingItemAmount of a queried FixedAssetAcquisition 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.
- Parameters:
value- List of FixedAssetAcqnItemAmount entities.
-
addFixedAssetPostingItemAmount
Adds elements to the list of associated FixedAssetAcqnItemAmount entities. This corresponds to the OData navigation property _FixedAssetPostingItemAmount.If the navigation property _FixedAssetPostingItemAmount of a queried FixedAssetAcquisition 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.
- Parameters:
entity- Array of FixedAssetAcqnItemAmount entities.
-
getFixedAssetPostingLedgerIfPresent
@Nonnull public io.vavr.control.Option<List<FixedAssetAcquisitionLedger>> getFixedAssetPostingLedgerIfPresent()Retrieval of associated FixedAssetAcquisitionLedger entities (one to many). This corresponds to the OData navigation property _FixedAssetPostingLedger.If the navigation property for an entity FixedAssetAcquisition has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _FixedAssetPostingLedger is already loaded, the result
will contain the FixedAssetAcquisitionLedger entities. If not, an
Optionwith result stateemptyis returned.
-
setFixedAssetPostingLedger
Overwrites the list of associated FixedAssetAcquisitionLedger entities for the loaded navigation property _FixedAssetPostingLedger.If the navigation property _FixedAssetPostingLedger of a queried FixedAssetAcquisition 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.
- Parameters:
value- List of FixedAssetAcquisitionLedger entities.
-
addFixedAssetPostingLedger
Adds elements to the list of associated FixedAssetAcquisitionLedger entities. This corresponds to the OData navigation property _FixedAssetPostingLedger.If the navigation property _FixedAssetPostingLedger of a queried FixedAssetAcquisition 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.
- Parameters:
entity- Array of FixedAssetAcquisitionLedger entities.
-
getFixedAssetPostingValuationIfPresent
@Nonnull public io.vavr.control.Option<List<FixedAssetAcqnValuation>> getFixedAssetPostingValuationIfPresent()Retrieval of associated FixedAssetAcqnValuation entities (one to many). This corresponds to the OData navigation property _FixedAssetPostingValuation.If the navigation property for an entity FixedAssetAcquisition has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _FixedAssetPostingValuation is already loaded, the
result will contain the FixedAssetAcqnValuation entities. If not, an
Optionwith result stateemptyis returned.
-
setFixedAssetPostingValuation
Overwrites the list of associated FixedAssetAcqnValuation entities for the loaded navigation property _FixedAssetPostingValuation.If the navigation property _FixedAssetPostingValuation of a queried FixedAssetAcquisition 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.
- Parameters:
value- List of FixedAssetAcqnValuation entities.
-
addFixedAssetPostingValuation
Adds elements to the list of associated FixedAssetAcqnValuation entities. This corresponds to the OData navigation property _FixedAssetPostingValuation.If the navigation property _FixedAssetPostingValuation of a queried FixedAssetAcquisition 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.
- Parameters:
entity- Array of FixedAssetAcqnValuation entities.
-
post
@Nonnull public static BoundAction.CollectionToSingle<FixedAssetAcquisition,FixedAssetAcquisition> post(@Nonnull String referenceDocumentItem, @Nonnull String businessTransactionType, @Nonnull String companyCode, @Nonnull String masterFixedAsset, @Nonnull String fixedAsset, @Nullable LocalDate documentDate, @Nullable LocalDate postingDate, @Nullable LocalDate assetValueDate, @Nullable LocalDate assetOriginalValueDate, @Nonnull String debitCreditCode, @Nonnull String fixedAssetYearOfAcqnCode, @Nonnull String documentReferenceID, @Nonnull String accountingDocumentHeaderText, @Nullable LocalDate exchangeRateDate, @Nonnull String transactionCurrency, @Nonnull BigDecimal acqnAmtInTransactionCurrency, @Nonnull BigDecimal quantityInBaseUnit, @Nonnull String baseUnitSAPCode, @Nonnull String baseUnitISOCode, @Nonnull String accountingDocumentType, @Nonnull String tradingPartner, @Nonnull String assignmentReference, @Nonnull String documentItemText, @Nonnull String offsettingAccount, @Nonnull Collection<D_FixedAssetPostAcqnItemAmtP> _ItemAmount, @Nonnull Collection<D_FixedAssetPostAcqnLedgerP> _Ledger) Action that can be applied to a collection of entities of this class.- Parameters:
documentDate- Constraints: NullableOriginal parameter name from the Odata EDM: DocumentDate
acqnAmtInTransactionCurrency- Constraints: Not nullable, Precision: 23, Scale: 0Original parameter name from the Odata EDM: AcqnAmtInTransactionCurrency
_ItemAmount- Constraints: Not nullableOriginal parameter name from the Odata EDM: _ItemAmount
baseUnitISOCode- Constraints: Not nullable, Maximum length: 3Original parameter name from the Odata EDM: BaseUnitISOCode
postingDate- Constraints: NullableOriginal parameter name from the Odata EDM: PostingDate
debitCreditCode- Constraints: Not nullable, Maximum length: 1Original parameter name from the Odata EDM: DebitCreditCode
accountingDocumentHeaderText- Constraints: Not nullable, Maximum length: 25Original parameter name from the Odata EDM: AccountingDocumentHeaderText
baseUnitSAPCode- Constraints: Not nullable, Maximum length: 3Original parameter name from the Odata EDM: BaseUnitSAPCode
assetValueDate- Constraints: NullableOriginal parameter name from the Odata EDM: AssetValueDate
assetOriginalValueDate- Constraints: NullableOriginal parameter name from the Odata EDM: AssetOriginalValueDate
documentReferenceID- Constraints: Not nullable, Maximum length: 16Original parameter name from the Odata EDM: DocumentReferenceID
companyCode- Constraints: Not nullable, Maximum length: 4Original parameter name from the Odata EDM: CompanyCode
accountingDocumentType- Constraints: Not nullable, Maximum length: 2Original parameter name from the Odata EDM: AccountingDocumentType
transactionCurrency- Constraints: Not nullable, Maximum length: 3Original parameter name from the Odata EDM: TransactionCurrency
quantityInBaseUnit- Constraints: Not nullable, Precision: 13, Scale: 3Original parameter name from the Odata EDM: QuantityInBaseUnit
documentItemText- Constraints: Not nullable, Maximum length: 50Original parameter name from the Odata EDM: DocumentItemText
exchangeRateDate- Constraints: NullableOriginal parameter name from the Odata EDM: ExchangeRateDate
tradingPartner- Constraints: Not nullable, Maximum length: 6Original parameter name from the Odata EDM: TradingPartner
assignmentReference- Constraints: Not nullable, Maximum length: 18Original parameter name from the Odata EDM: AssignmentReference
_Ledger- Constraints: Not nullableOriginal parameter name from the Odata EDM: _Ledger
referenceDocumentItem- Constraints: Not nullable, Maximum length: 6Original parameter name from the Odata EDM: ReferenceDocumentItem
fixedAsset- Constraints: Not nullable, Maximum length: 4Original parameter name from the Odata EDM: FixedAsset
masterFixedAsset- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: MasterFixedAsset
offsettingAccount- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: OffsettingAccount
businessTransactionType- Constraints: Not nullable, Maximum length: 4Original parameter name from the Odata EDM: BusinessTransactionType
fixedAssetYearOfAcqnCode- Constraints: Not nullable, Maximum length: 1Original parameter name from the Odata EDM: FixedAssetYearOfAcqnCode
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
builder
-
getFixedAssetPostingUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: FixedAssetPostingUUID
- Returns:
- Fixed Asset Posting: UUID
-
getReferenceDocumentItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ReferenceDocumentItem
- Returns:
- Reference Document Line Item
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getMasterFixedAsset
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: MasterFixedAsset
- Returns:
- Main Asset Number
-
getFixedAsset
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FixedAsset
- Returns:
- Asset Subnumber
-
getAssetClass
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: AssetClass
- Returns:
- Asset Class
-
getDocumentDate
Constraints: NullableOriginal property name from the Odata EDM: DocumentDate
- Returns:
- Document Date in Document
-
getPostingDate
Constraints: NullableOriginal property name from the Odata EDM: PostingDate
- Returns:
- Posting Date in the Document
-
getAssetValueDate
Constraints: NullableOriginal property name from the Odata EDM: AssetValueDate
- Returns:
- Asset Value Date
-
getAssetOriginalValueDate
Constraints: NullableOriginal property name from the Odata EDM: AssetOriginalValueDate
- Returns:
- Original value date of transaction
-
getBusinessTransactionType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BusinessTransactionType
- Returns:
- Business Transaction Type
-
getDocumentReferenceID
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: DocumentReferenceID
- Returns:
- Reference Document Number
-
getAccountingDocumentHeaderText
Constraints: Not nullable, Maximum length: 25Original property name from the Odata EDM: AccountingDocumentHeaderText
- Returns:
- Document Header Text
-
getExchangeRateDate
Constraints: NullableOriginal property name from the Odata EDM: ExchangeRateDate
- Returns:
- Translation Date
-
getAcqnAmtInTransactionCurrency
Constraints: Not nullable, Precision: 23, Scale: 0Original property name from the Odata EDM: AcqnAmtInTransactionCurrency
- Returns:
- Amount Posted
-
getTransactionCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TransactionCurrency
- Returns:
- Currency Key
-
getQuantityInBaseUnit
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: QuantityInBaseUnit
- Returns:
- Quantity
-
getBaseUnitSAPCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnitSAPCode
- Returns:
- Base Unit of Measure
-
getBaseUnitISOCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnitISOCode
- Returns:
- ISO Code for Unit of Measurement
-
getDebitCreditCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: DebitCreditCode
- Returns:
- Debit/Credit Code
-
getFixedAssetYearOfAcqnCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: FixedAssetYearOfAcqnCode
- Returns:
- UI Control of Transaction Amounts (Current/Previous)
-
getAccountingDocumentType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: AccountingDocumentType
- Returns:
- Document Type
-
getTradingPartner
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: TradingPartner
- Returns:
- Company ID
-
getAssignmentReference
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: AssignmentReference
- Returns:
- Assignment number
-
getDocumentItemText
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: DocumentItemText
- Returns:
- Item Text
-
getOffsettingAccount
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: OffsettingAccount
- Returns:
- Offsetting Account Number
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<FixedAssetAcquisition>
-
equals
- Overrides:
equalsin classVdmEntity<FixedAssetAcquisition>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FixedAssetAcquisition>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FixedAssetAcquisition>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FixedAssetAcquisition>
-