Class CentralPurchaseContract
Original entity name from the Odata EDM: A_CentralPurchaseContractType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CentralPurchaseContract instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CentralPurchaseContractSelectableSelector for all available fields of CentralPurchaseContract.static final CentralPurchaseContractField<BigDecimal>Use with available fluent helpers to apply the CashDiscount1Days field to query operations.static final CentralPurchaseContractField<BigDecimal>Use with available fluent helpers to apply the CashDiscount1Percent field to query operations.static final CentralPurchaseContractField<BigDecimal>Use with available fluent helpers to apply the CashDiscount2Days field to query operations.static final CentralPurchaseContractField<BigDecimal>Use with available fluent helpers to apply the CashDiscount2Percent field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the CentralPurchaseContract field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the CntrlPurContrDistributionSts field to query operations.static final CentralPurchaseContractField<Boolean>Use with available fluent helpers to apply the CntrlPurContrFlxblDistrIsAllwd field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the CompanyCode field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the CorrespncExternalReference field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the CorrespncInternalReference field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the CreatedByUser field to query operations.static final CentralPurchaseContractField<LocalDateTime>Use with available fluent helpers to apply the CreationDate field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the DocumentCurrency field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the ExchangeRate field to query operations.static final CentralPurchaseContractField<Boolean>Use with available fluent helpers to apply the ExchangeRateIsFixed field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the IncotermsClassification field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the IncotermsLocation1 field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the IncotermsLocation2 field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the IncotermsTransferLocation field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the IncotermsVersion field to query operations.static final CentralPurchaseContractField<ZonedDateTime>Use with available fluent helpers to apply the LastChangeDateTime field to query operations.static final CentralPurchaseContractField<BigDecimal>Use with available fluent helpers to apply the NetPaymentDays field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the PaymentTerms field to query operations.static final CentralPurchaseContractField<BigDecimal>Use with available fluent helpers to apply the PurchaseContractTargetAmount field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the PurchaseContractType field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the PurchasingDocVersionReasonCode field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the PurchasingDocumentCategory field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the PurchasingDocumentDeletionCode field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the PurchasingDocumentName field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the PurchasingDocumentSubtype field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the PurchasingDocumentVersion field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the PurchasingGroup field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the PurchasingOrganization field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the PurchasingProcessingStatus field to query operations.static final CentralPurchaseContractField<Boolean>Use with available fluent helpers to apply the PurgContractIsInPreparation field to query operations.static final CentralPurchaseContractField<Boolean>Use with available fluent helpers to apply the PurgDocIsChgVers field to query operations.static final CentralPurchaseContractField<LocalDateTime>Use with available fluent helpers to apply the QuotationSubmissionDate field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the ReleaseCode field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the Supplier field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the SupplierPhoneNumber field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the SupplierQuotation field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the SupplierRespSalesPersonName field to query operations.static final CentralPurchaseContractField<String>Use with available fluent helpers to apply the SupplyingSupplier field to query operations.static final CentralPurchaseContractLink<CntrlPurchaseContractItem>Use with available fluent helpers to apply the to_CentralPurchaseContractItem navigation property to query operations.static final CentralPurchaseContractLink<CntrlPurContrHdrDistribution>Use with available fluent helpers to apply the to_CntrlContrHdrDistribution navigation property to query operations.static final CentralPurchaseContractLink<CntrlPurContrDistrMessages>Use with available fluent helpers to apply the to_CntrlPurContrDistrMessages navigation property to query operations.static final CentralPurchaseContractLink<CntrlPurContrHdrCndnValdty>Use with available fluent helpers to apply the to_CntrlPurContrHdrCndnValdty navigation property to query operations.static final CentralPurchaseContractLink<CntrlPurContractHeaderNotes>Use with available fluent helpers to apply the to_CntrlPurContrHdrNotes navigation property to query operations.static final CentralPurchaseContractLink<CntrlPurContrVersionHistory>Use with available fluent helpers to apply the to_CntrlPurContrVersionHistory navigation property to query operations.static final CentralPurchaseContractLink<CePuCoDistrdOutlineAgrmt>Use with available fluent helpers to apply the to_DistributedOutlineAgreement navigation property to query operations.static final CentralPurchaseContractLink<CntrlPurContrLegalTrans>Use with available fluent helpers to apply the to_LegalTransaction navigation property to query operations.static final CentralPurchaseContractLink<SubordinateCntrlContract>Use with available fluent helpers to apply the to_SubordinateCntrlContract navigation property to query operations.static final CentralPurchaseContractField<LocalDateTime>Use with available fluent helpers to apply the ValidityEndDate field to query operations.static final CentralPurchaseContractField<LocalDateTime>Use with available fluent helpers to apply the ValidityStartDate field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCentralPurchaseContract(String centralPurchaseContract, String purchaseContractType, String purchasingDocumentCategory, String purchasingDocumentSubtype, String supplier, String companyCode, String purchasingOrganization, String purchasingGroup, LocalDateTime validityStartDate, LocalDateTime validityEndDate, String documentCurrency, ZonedDateTime lastChangeDateTime, LocalDateTime creationDate, String paymentTerms, BigDecimal cashDiscount1Days, BigDecimal cashDiscount2Days, BigDecimal cashDiscount1Percent, BigDecimal cashDiscount2Percent, BigDecimal netPaymentDays, String incotermsClassification, String incotermsTransferLocation, String incotermsVersion, String incotermsLocation1, String incotermsLocation2, BigDecimal purchaseContractTargetAmount, String exchangeRate, Boolean exchangeRateIsFixed, String supplyingSupplier, LocalDateTime quotationSubmissionDate, String supplierQuotation, String correspncExternalReference, String correspncInternalReference, String supplierRespSalesPersonName, String supplierPhoneNumber, String releaseCode, String purchasingDocumentName, String createdByUser, String purchasingDocumentDeletionCode, String purchasingProcessingStatus, String cntrlPurContrDistributionSts, Boolean purgContractIsInPreparation, String purchasingDocVersionReasonCode, Boolean cntrlPurContrFlxblDistrIsAllwd, String purchasingDocumentVersion, Boolean purgDocIsChgVers, List<CntrlPurchaseContractItem> toCentralPurchaseContractItem, List<CntrlPurContrHdrDistribution> toCntrlContrHdrDistribution, List<CntrlPurContrDistrMessages> toCntrlPurContrDistrMessages, List<CntrlPurContrHdrCndnValdty> toCntrlPurContrHdrCndnValdty, List<CntrlPurContractHeaderNotes> toCntrlPurContrHdrNotes, List<CntrlPurContrVersionHistory> toCntrlPurContrVersionHistory, List<CePuCoDistrdOutlineAgrmt> toDistributedOutlineAgreement, List<CntrlPurContrLegalTrans> toLegalTransaction, List<SubordinateCntrlContract> toSubordinateCntrlContract) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated CntrlPurchaseContractItem entities.voidAdds elements to the list of associated CntrlPurContrHdrDistribution entities.voidAdds elements to the list of associated CntrlPurContrDistrMessages entities.voidAdds elements to the list of associated CntrlPurContrHdrCndnValdty entities.voidAdds elements to the list of associated CntrlPurContractHeaderNotes entities.voidAdds elements to the list of associated CntrlPurContrVersionHistory entities.voidAdds elements to the list of associated CePuCoDistrdOutlineAgrmt entities.voidaddLegalTransaction(CntrlPurContrLegalTrans... entity) Adds elements to the list of associated CntrlPurContrLegalTrans entities.voidAdds elements to the list of associated SubordinateCntrlContract entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the CntrlPurchaseContractItem entities (one to many) associated with this entity.Fetches the CntrlPurContrHdrDistribution entities (one to many) associated with this entity.Fetches the CntrlPurContrDistrMessages entities (one to many) associated with this entity.Fetches the CntrlPurContrHdrCndnValdty entities (one to many) associated with this entity.Fetches the CntrlPurContractHeaderNotes entities (one to many) associated with this entity.Fetches the CntrlPurContrVersionHistory entities (one to many) associated with this entity.Fetches the CePuCoDistrdOutlineAgrmt entities (one to many) associated with this entity.Fetches the CntrlPurContrLegalTrans entities (one to many) associated with this entity.Fetches the SubordinateCntrlContract entities (one to many) associated with this entity.static <T,DomainT>
CentralPurchaseContractField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CentralPurchaseContractField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Precision: 3, Scale: 0Constraints: Not nullable, Precision: 5, Scale: 3Constraints: Not nullable, Precision: 3, Scale: 0Constraints: Not nullable, Precision: 5, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<List<CntrlPurchaseContractItem>>Retrieval of associated CntrlPurchaseContractItem entities (one to many).Retrieval of associated CntrlPurchaseContractItem entities (one to many).io.vavr.control.Option<List<CntrlPurContrHdrDistribution>>Retrieval of associated CntrlPurContrHdrDistribution entities (one to many).Retrieval of associated CntrlPurContrHdrDistribution entities (one to many).Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<List<CntrlPurContrDistrMessages>>Retrieval of associated CntrlPurContrDistrMessages entities (one to many).Retrieval of associated CntrlPurContrDistrMessages entities (one to many).Constraints: noneio.vavr.control.Option<List<CntrlPurContrHdrCndnValdty>>Retrieval of associated CntrlPurContrHdrCndnValdty entities (one to many).Retrieval of associated CntrlPurContrHdrCndnValdty entities (one to many).io.vavr.control.Option<List<CntrlPurContractHeaderNotes>>Retrieval of associated CntrlPurContractHeaderNotes entities (one to many).Retrieval of associated CntrlPurContractHeaderNotes entities (one to many).io.vavr.control.Option<List<CntrlPurContrVersionHistory>>Retrieval of associated CntrlPurContrVersionHistory entities (one to many).Retrieval of associated CntrlPurContrVersionHistory entities (one to many).Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 0protected Stringio.vavr.control.Option<List<CePuCoDistrdOutlineAgrmt>>Retrieval of associated CePuCoDistrdOutlineAgrmt entities (one to many).Retrieval of associated CePuCoDistrdOutlineAgrmt entities (one to many).Constraints: Not nullable, Maximum length: 5protected StringConstraints: Not nullable, Maximum length: 12Constraints: noneConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 70Constraints: Not nullable, Maximum length: 70Constraints: Not nullable, Maximum length: 28Constraints: Not nullable, Maximum length: 4getKey()Constraints: Not nullable, Precision: 7io.vavr.control.Option<List<CntrlPurContrLegalTrans>>Retrieval of associated CntrlPurContrLegalTrans entities (one to many).Retrieval of associated CntrlPurContrLegalTrans entities (one to many).Constraints: Not nullable, Precision: 3, Scale: 0Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Precision: 15, Scale: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 2Constraints: noneConstraints: noneConstraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<List<SubordinateCntrlContract>>Retrieval of associated SubordinateCntrlContract entities (one to many).Retrieval of associated SubordinateCntrlContract entities (one to many).Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 16Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 10getType()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0inthashCode()voidsetCashDiscount1Days(BigDecimal cashDiscount1Days) Constraints: Not nullable, Precision: 3, Scale: 0voidsetCashDiscount1Percent(BigDecimal cashDiscount1Percent) Constraints: Not nullable, Precision: 5, Scale: 3voidsetCashDiscount2Days(BigDecimal cashDiscount2Days) Constraints: Not nullable, Precision: 3, Scale: 0voidsetCashDiscount2Percent(BigDecimal cashDiscount2Percent) Constraints: Not nullable, Precision: 5, Scale: 3voidsetCentralPurchaseContract(String centralPurchaseContract) (Key Field) Constraints: Not nullable, Maximum length: 10voidOverwrites the list of associated CntrlPurchaseContractItem entities for the loaded navigation property to_CentralPurchaseContractItem.voidOverwrites the list of associated CntrlPurContrHdrDistribution entities for the loaded navigation property to_CntrlContrHdrDistribution.voidsetCntrlPurContrDistributionSts(String cntrlPurContrDistributionSts) Constraints: Not nullable, Maximum length: 2voidOverwrites the list of associated CntrlPurContrDistrMessages entities for the loaded navigation property to_CntrlPurContrDistrMessages.voidsetCntrlPurContrFlxblDistrIsAllwd(Boolean cntrlPurContrFlxblDistrIsAllwd) Constraints: nonevoidOverwrites the list of associated CntrlPurContrHdrCndnValdty entities for the loaded navigation property to_CntrlPurContrHdrCndnValdty.voidOverwrites the list of associated CntrlPurContractHeaderNotes entities for the loaded navigation property to_CntrlPurContrHdrNotes.voidOverwrites the list of associated CntrlPurContrVersionHistory entities for the loaded navigation property to_CntrlPurContrVersionHistory.voidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidsetCorrespncExternalReference(String correspncExternalReference) Constraints: Not nullable, Maximum length: 12voidsetCorrespncInternalReference(String correspncInternalReference) Constraints: Not nullable, Maximum length: 12voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDate(LocalDateTime creationDate) Constraints: Not nullable, Precision: 0voidOverwrites the list of associated CePuCoDistrdOutlineAgrmt entities for the loaded navigation property to_DistributedOutlineAgreement.voidsetDocumentCurrency(String documentCurrency) Constraints: Not nullable, Maximum length: 5voidsetExchangeRate(String exchangeRate) Constraints: Not nullable, Maximum length: 12voidsetExchangeRateIsFixed(Boolean exchangeRateIsFixed) Constraints: nonevoidsetIncotermsClassification(String incotermsClassification) Constraints: Not nullable, Maximum length: 3voidsetIncotermsLocation1(String incotermsLocation1) Constraints: Not nullable, Maximum length: 70voidsetIncotermsLocation2(String incotermsLocation2) Constraints: Not nullable, Maximum length: 70voidsetIncotermsTransferLocation(String incotermsTransferLocation) Constraints: Not nullable, Maximum length: 28voidsetIncotermsVersion(String incotermsVersion) Constraints: Not nullable, Maximum length: 4voidsetLastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 7voidOverwrites the list of associated CntrlPurContrLegalTrans entities for the loaded navigation property to_LegalTransaction.voidsetNetPaymentDays(BigDecimal netPaymentDays) Constraints: Not nullable, Precision: 3, Scale: 0voidsetPaymentTerms(String paymentTerms) Constraints: Not nullable, Maximum length: 4voidsetPurchaseContractTargetAmount(BigDecimal purchaseContractTargetAmount) Constraints: Not nullable, Precision: 15, Scale: 3voidsetPurchaseContractType(String purchaseContractType) Constraints: Not nullable, Maximum length: 4voidsetPurchasingDocumentCategory(String purchasingDocumentCategory) Constraints: Not nullable, Maximum length: 1voidsetPurchasingDocumentDeletionCode(String purchasingDocumentDeletionCode) Constraints: Not nullable, Maximum length: 1voidsetPurchasingDocumentName(String purchasingDocumentName) Constraints: Not nullable, Maximum length: 40voidsetPurchasingDocumentSubtype(String purchasingDocumentSubtype) Constraints: Not nullable, Maximum length: 1voidsetPurchasingDocumentVersion(String purchasingDocumentVersion) Constraints: Not nullable, Maximum length: 8voidsetPurchasingDocVersionReasonCode(String purchasingDocVersionReasonCode) Constraints: Not nullable, Maximum length: 4voidsetPurchasingGroup(String purchasingGroup) Constraints: Not nullable, Maximum length: 3voidsetPurchasingOrganization(String purchasingOrganization) Constraints: Not nullable, Maximum length: 4voidsetPurchasingProcessingStatus(String purchasingProcessingStatus) Constraints: Not nullable, Maximum length: 2voidsetPurgContractIsInPreparation(Boolean purgContractIsInPreparation) Constraints: nonevoidsetPurgDocIsChgVers(Boolean purgDocIsChgVers) Constraints: nonevoidsetQuotationSubmissionDate(LocalDateTime quotationSubmissionDate) Constraints: Not nullable, Precision: 0voidsetReleaseCode(String releaseCode) Constraints: Not nullable, Maximum length: 1protected voidsetServicePathForFetch(String servicePathForFetch) voidOverwrites the list of associated SubordinateCntrlContract entities for the loaded navigation property to_SubordinateCntrlContract.voidsetSupplier(String supplier) Constraints: Not nullable, Maximum length: 10voidsetSupplierPhoneNumber(String supplierPhoneNumber) Constraints: Not nullable, Maximum length: 16voidsetSupplierQuotation(String supplierQuotation) Constraints: Not nullable, Maximum length: 10voidsetSupplierRespSalesPersonName(String supplierRespSalesPersonName) Constraints: Not nullable, Maximum length: 30voidsetSupplyingSupplier(String supplyingSupplier) Constraints: Not nullable, Maximum length: 10voidsetValidityEndDate(LocalDateTime validityEndDate) Constraints: Not nullable, Precision: 0voidsetValidityStartDate(LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
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 CentralPurchaseContract. -
CENTRAL_PURCHASE_CONTRACT
Use with available fluent helpers to apply the CentralPurchaseContract field to query operations. -
PURCHASE_CONTRACT_TYPE
Use with available fluent helpers to apply the PurchaseContractType field to query operations. -
PURCHASING_DOCUMENT_CATEGORY
Use with available fluent helpers to apply the PurchasingDocumentCategory field to query operations. -
PURCHASING_DOCUMENT_SUBTYPE
Use with available fluent helpers to apply the PurchasingDocumentSubtype field to query operations. -
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations. -
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations. -
PURCHASING_ORGANIZATION
Use with available fluent helpers to apply the PurchasingOrganization field to query operations. -
PURCHASING_GROUP
Use with available fluent helpers to apply the PurchasingGroup field to query operations. -
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations. -
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations. -
DOCUMENT_CURRENCY
Use with available fluent helpers to apply the DocumentCurrency field to query operations. -
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations. -
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations. -
PAYMENT_TERMS
Use with available fluent helpers to apply the PaymentTerms field to query operations. -
CASH_DISCOUNT1_DAYS
Use with available fluent helpers to apply the CashDiscount1Days field to query operations. -
CASH_DISCOUNT2_DAYS
Use with available fluent helpers to apply the CashDiscount2Days field to query operations. -
CASH_DISCOUNT1_PERCENT
Use with available fluent helpers to apply the CashDiscount1Percent field to query operations. -
CASH_DISCOUNT2_PERCENT
Use with available fluent helpers to apply the CashDiscount2Percent field to query operations. -
NET_PAYMENT_DAYS
Use with available fluent helpers to apply the NetPaymentDays field to query operations. -
INCOTERMS_CLASSIFICATION
Use with available fluent helpers to apply the IncotermsClassification field to query operations. -
INCOTERMS_TRANSFER_LOCATION
Use with available fluent helpers to apply the IncotermsTransferLocation field to query operations. -
INCOTERMS_VERSION
Use with available fluent helpers to apply the IncotermsVersion field to query operations. -
INCOTERMS_LOCATION1
Use with available fluent helpers to apply the IncotermsLocation1 field to query operations. -
INCOTERMS_LOCATION2
Use with available fluent helpers to apply the IncotermsLocation2 field to query operations. -
PURCHASE_CONTRACT_TARGET_AMOUNT
Use with available fluent helpers to apply the PurchaseContractTargetAmount field to query operations. -
EXCHANGE_RATE
Use with available fluent helpers to apply the ExchangeRate field to query operations. -
EXCHANGE_RATE_IS_FIXED
Use with available fluent helpers to apply the ExchangeRateIsFixed field to query operations. -
SUPPLYING_SUPPLIER
Use with available fluent helpers to apply the SupplyingSupplier field to query operations. -
QUOTATION_SUBMISSION_DATE
Use with available fluent helpers to apply the QuotationSubmissionDate field to query operations. -
SUPPLIER_QUOTATION
Use with available fluent helpers to apply the SupplierQuotation field to query operations. -
CORRESPNC_EXTERNAL_REFERENCE
Use with available fluent helpers to apply the CorrespncExternalReference field to query operations. -
CORRESPNC_INTERNAL_REFERENCE
Use with available fluent helpers to apply the CorrespncInternalReference field to query operations. -
SUPPLIER_RESP_SALES_PERSON_NAME
Use with available fluent helpers to apply the SupplierRespSalesPersonName field to query operations. -
SUPPLIER_PHONE_NUMBER
Use with available fluent helpers to apply the SupplierPhoneNumber field to query operations. -
RELEASE_CODE
Use with available fluent helpers to apply the ReleaseCode field to query operations. -
PURCHASING_DOCUMENT_NAME
Use with available fluent helpers to apply the PurchasingDocumentName field to query operations. -
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations. -
PURCHASING_DOCUMENT_DELETION_CODE
Use with available fluent helpers to apply the PurchasingDocumentDeletionCode field to query operations. -
PURCHASING_PROCESSING_STATUS
Use with available fluent helpers to apply the PurchasingProcessingStatus field to query operations. -
CNTRL_PUR_CONTR_DISTRIBUTION_STS
Use with available fluent helpers to apply the CntrlPurContrDistributionSts field to query operations. -
PURG_CONTRACT_IS_IN_PREPARATION
Use with available fluent helpers to apply the PurgContractIsInPreparation field to query operations. -
PURCHASING_DOC_VERSION_REASON_CODE
Use with available fluent helpers to apply the PurchasingDocVersionReasonCode field to query operations. -
CNTRL_PUR_CONTR_FLXBL_DISTR_IS_ALLWD
Use with available fluent helpers to apply the CntrlPurContrFlxblDistrIsAllwd field to query operations. -
PURCHASING_DOCUMENT_VERSION
Use with available fluent helpers to apply the PurchasingDocumentVersion field to query operations. -
PURG_DOC_IS_CHG_VERS
Use with available fluent helpers to apply the PurgDocIsChgVers field to query operations. -
TO_CENTRAL_PURCHASE_CONTRACT_ITEM
public static final CentralPurchaseContractLink<CntrlPurchaseContractItem> TO_CENTRAL_PURCHASE_CONTRACT_ITEMUse with available fluent helpers to apply the to_CentralPurchaseContractItem navigation property to query operations. -
TO_CNTRL_CONTR_HDR_DISTRIBUTION
public static final CentralPurchaseContractLink<CntrlPurContrHdrDistribution> TO_CNTRL_CONTR_HDR_DISTRIBUTIONUse with available fluent helpers to apply the to_CntrlContrHdrDistribution navigation property to query operations. -
TO_CNTRL_PUR_CONTR_DISTR_MESSAGES
public static final CentralPurchaseContractLink<CntrlPurContrDistrMessages> TO_CNTRL_PUR_CONTR_DISTR_MESSAGESUse with available fluent helpers to apply the to_CntrlPurContrDistrMessages navigation property to query operations. -
TO_CNTRL_PUR_CONTR_HDR_CNDN_VALDTY
public static final CentralPurchaseContractLink<CntrlPurContrHdrCndnValdty> TO_CNTRL_PUR_CONTR_HDR_CNDN_VALDTYUse with available fluent helpers to apply the to_CntrlPurContrHdrCndnValdty navigation property to query operations. -
TO_CNTRL_PUR_CONTR_HDR_NOTES
public static final CentralPurchaseContractLink<CntrlPurContractHeaderNotes> TO_CNTRL_PUR_CONTR_HDR_NOTESUse with available fluent helpers to apply the to_CntrlPurContrHdrNotes navigation property to query operations. -
TO_CNTRL_PUR_CONTR_VERSION_HISTORY
public static final CentralPurchaseContractLink<CntrlPurContrVersionHistory> TO_CNTRL_PUR_CONTR_VERSION_HISTORYUse with available fluent helpers to apply the to_CntrlPurContrVersionHistory navigation property to query operations. -
TO_DISTRIBUTED_OUTLINE_AGREEMENT
public static final CentralPurchaseContractLink<CePuCoDistrdOutlineAgrmt> TO_DISTRIBUTED_OUTLINE_AGREEMENTUse with available fluent helpers to apply the to_DistributedOutlineAgreement navigation property to query operations. -
TO_LEGAL_TRANSACTION
Use with available fluent helpers to apply the to_LegalTransaction navigation property to query operations. -
TO_SUBORDINATE_CNTRL_CONTRACT
public static final CentralPurchaseContractLink<SubordinateCntrlContract> TO_SUBORDINATE_CNTRL_CONTRACTUse with available fluent helpers to apply the to_SubordinateCntrlContract navigation property to query operations.
-
-
Constructor Details
-
CentralPurchaseContract
public CentralPurchaseContract() -
CentralPurchaseContract
public CentralPurchaseContract(@Nullable String centralPurchaseContract, @Nullable String purchaseContractType, @Nullable String purchasingDocumentCategory, @Nullable String purchasingDocumentSubtype, @Nullable String supplier, @Nullable String companyCode, @Nullable String purchasingOrganization, @Nullable String purchasingGroup, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable String documentCurrency, @Nullable ZonedDateTime lastChangeDateTime, @Nullable LocalDateTime creationDate, @Nullable String paymentTerms, @Nullable BigDecimal cashDiscount1Days, @Nullable BigDecimal cashDiscount2Days, @Nullable BigDecimal cashDiscount1Percent, @Nullable BigDecimal cashDiscount2Percent, @Nullable BigDecimal netPaymentDays, @Nullable String incotermsClassification, @Nullable String incotermsTransferLocation, @Nullable String incotermsVersion, @Nullable String incotermsLocation1, @Nullable String incotermsLocation2, @Nullable BigDecimal purchaseContractTargetAmount, @Nullable String exchangeRate, @Nullable Boolean exchangeRateIsFixed, @Nullable String supplyingSupplier, @Nullable LocalDateTime quotationSubmissionDate, @Nullable String supplierQuotation, @Nullable String correspncExternalReference, @Nullable String correspncInternalReference, @Nullable String supplierRespSalesPersonName, @Nullable String supplierPhoneNumber, @Nullable String releaseCode, @Nullable String purchasingDocumentName, @Nullable String createdByUser, @Nullable String purchasingDocumentDeletionCode, @Nullable String purchasingProcessingStatus, @Nullable String cntrlPurContrDistributionSts, @Nullable Boolean purgContractIsInPreparation, @Nullable String purchasingDocVersionReasonCode, @Nullable Boolean cntrlPurContrFlxblDistrIsAllwd, @Nullable String purchasingDocumentVersion, @Nullable Boolean purgDocIsChgVers, List<CntrlPurchaseContractItem> toCentralPurchaseContractItem, List<CntrlPurContrHdrDistribution> toCntrlContrHdrDistribution, List<CntrlPurContrDistrMessages> toCntrlPurContrDistrMessages, List<CntrlPurContrHdrCndnValdty> toCntrlPurContrHdrCndnValdty, List<CntrlPurContractHeaderNotes> toCntrlPurContrHdrNotes, List<CntrlPurContrVersionHistory> toCntrlPurContrVersionHistory, List<CePuCoDistrdOutlineAgrmt> toDistributedOutlineAgreement, List<CntrlPurContrLegalTrans> toLegalTransaction, List<SubordinateCntrlContract> toSubordinateCntrlContract)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CentralPurchaseContract>
-
setCentralPurchaseContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CentralPurchaseContract
- Parameters:
centralPurchaseContract- Active Purchasing Document
-
setPurchaseContractType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchaseContractType
- Parameters:
purchaseContractType- Purchasing Document Type
-
setPurchasingDocumentCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingDocumentCategory
- Parameters:
purchasingDocumentCategory- Purchasing Document Category
-
setPurchasingDocumentSubtype
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingDocumentSubtype
- Parameters:
purchasingDocumentSubtype- Control indicator for purchasing document type
-
setSupplier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Parameters:
supplier- Supplier
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setPurchasingOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingOrganization
- Parameters:
purchasingOrganization- Purchasing Organization
-
setPurchasingGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchasingGroup
- Parameters:
purchasingGroup- Purchasing Group
-
setValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Start of Validity Period
-
setValidityEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- End of Validity Period
-
setDocumentCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DocumentCurrency
- Parameters:
documentCurrency- Currency Key
-
setLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Change Time Stamp
-
setCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Parameters:
creationDate- Creation Date of Purchasing Document
-
setPaymentTerms
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PaymentTerms
- Parameters:
paymentTerms- Terms of Payment Key
-
setCashDiscount1Days
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: CashDiscount1Days
- Parameters:
cashDiscount1Days- Cash discount days 1
-
setCashDiscount2Days
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: CashDiscount2Days
- Parameters:
cashDiscount2Days- Cash discount days 2
-
setCashDiscount1Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount1Percent
- Parameters:
cashDiscount1Percent- Cash Discount Percentage 1
-
setCashDiscount2Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount2Percent
- Parameters:
cashDiscount2Percent- Cash Discount Percentage 2
-
setNetPaymentDays
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: NetPaymentDays
- Parameters:
netPaymentDays- Net Payment Terms Period
-
setIncotermsClassification
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: IncotermsClassification
- Parameters:
incotermsClassification- Incoterms (Part 1)
-
setIncotermsTransferLocation
Constraints: Not nullable, Maximum length: 28Original property name from the Odata EDM: IncotermsTransferLocation
- Parameters:
incotermsTransferLocation- Incoterms (Part 2)
-
setIncotermsVersion
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: IncotermsVersion
- Parameters:
incotermsVersion- Incoterms Version
-
setIncotermsLocation1
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: IncotermsLocation1
- Parameters:
incotermsLocation1- Incoterms Location 1
-
setIncotermsLocation2
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: IncotermsLocation2
- Parameters:
incotermsLocation2- Incoterms Location 2
-
setPurchaseContractTargetAmount
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: PurchaseContractTargetAmount
- Parameters:
purchaseContractTargetAmount- Target Value for Header Area per Distribution
-
setExchangeRate
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ExchangeRate
- Parameters:
exchangeRate- The exchangeRate to set.
-
setExchangeRateIsFixed
Constraints: noneOriginal property name from the Odata EDM: ExchangeRateIsFixed
- Parameters:
exchangeRateIsFixed- Indicator for Fixed Exchange Rate
-
setSupplyingSupplier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplyingSupplier
- Parameters:
supplyingSupplier- Goods Supplier
-
setQuotationSubmissionDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: QuotationSubmissionDate
- Parameters:
quotationSubmissionDate- Quotation Submission Date
-
setSupplierQuotation
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplierQuotation
- Parameters:
supplierQuotation- Quotation Number
-
setCorrespncExternalReference
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CorrespncExternalReference
- Parameters:
correspncExternalReference- Your Reference
-
setCorrespncInternalReference
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CorrespncInternalReference
- Parameters:
correspncInternalReference- Our Reference
-
setSupplierRespSalesPersonName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: SupplierRespSalesPersonName
- Parameters:
supplierRespSalesPersonName- Responsible Salesperson at Supplier's Office
-
setSupplierPhoneNumber
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: SupplierPhoneNumber
- Parameters:
supplierPhoneNumber- Supplier's Phone Number
-
setReleaseCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ReleaseCode
- Parameters:
releaseCode- Release Indicator: Purchasing Document
-
setPurchasingDocumentName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: PurchasingDocumentName
- Parameters:
purchasingDocumentName- Name of Purchasing Document
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- User of person who created a purchasing document
-
setPurchasingDocumentDeletionCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingDocumentDeletionCode
- Parameters:
purchasingDocumentDeletionCode- Deletion Indicator in Purchasing Document
-
setPurchasingProcessingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PurchasingProcessingStatus
- Parameters:
purchasingProcessingStatus- Purchasing Document Processing State
-
setCntrlPurContrDistributionSts
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CntrlPurContrDistributionSts
- Parameters:
cntrlPurContrDistributionSts- The cntrlPurContrDistributionSts to set.
-
setPurgContractIsInPreparation
Constraints: noneOriginal property name from the Odata EDM: PurgContractIsInPreparation
- Parameters:
purgContractIsInPreparation- Boolean Variable (X = True, - = False, Space = Unknown)
-
setPurchasingDocVersionReasonCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingDocVersionReasonCode
- Parameters:
purchasingDocVersionReasonCode- Reason for change
-
setCntrlPurContrFlxblDistrIsAllwd
Constraints: noneOriginal property name from the Odata EDM: CntrlPurContrFlxblDistrIsAllwd
- Parameters:
cntrlPurContrFlxblDistrIsAllwd- Boolean Variable (X = True, - = False, Space = Unknown)
-
setPurchasingDocumentVersion
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: PurchasingDocumentVersion
- Parameters:
purchasingDocumentVersion- Version number in Purchasing
-
setPurgDocIsChgVers
Constraints: noneOriginal property name from the Odata EDM: PurgDocIsChgVers
- Parameters:
purgDocIsChgVers- Checkbox
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CentralPurchaseContract>
-
getKey
- Overrides:
getKeyin classVdmObject<CentralPurchaseContract>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CentralPurchaseContract>
-
fromMap
- Overrides:
fromMapin classVdmObject<CentralPurchaseContract>
-
field
@Nonnull public static <T> CentralPurchaseContractField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
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.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> CentralPurchaseContractField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<CentralPurchaseContract>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CentralPurchaseContract>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CentralPurchaseContract>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CentralPurchaseContract>
-
fetchCentralPurchaseContractItem
Fetches the CntrlPurchaseContractItem entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CentralPurchaseContractItem.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CntrlPurchaseContractItem entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCentralPurchaseContractItemOrFetch
Retrieval of associated CntrlPurchaseContractItem entities (one to many). This corresponds to the OData navigation property to_CentralPurchaseContractItem.If the navigation property to_CentralPurchaseContractItem of a queried CentralPurchaseContract 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.
- Returns:
- List of associated CntrlPurchaseContractItem entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCentralPurchaseContractItemIfPresent
@Nonnull public io.vavr.control.Option<List<CntrlPurchaseContractItem>> getCentralPurchaseContractItemIfPresent()Retrieval of associated CntrlPurchaseContractItem entities (one to many). This corresponds to the OData navigation property to_CentralPurchaseContractItem.If the navigation property for an entity CentralPurchaseContract 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 to_CentralPurchaseContractItem is already loaded, the
result will contain the CntrlPurchaseContractItem entities. If not, an
Optionwith result stateemptyis returned.
-
setCentralPurchaseContractItem
Overwrites the list of associated CntrlPurchaseContractItem entities for the loaded navigation property to_CentralPurchaseContractItem.If the navigation property to_CentralPurchaseContractItem of a queried CentralPurchaseContract 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 CntrlPurchaseContractItem entities.
-
addCentralPurchaseContractItem
Adds elements to the list of associated CntrlPurchaseContractItem entities. This corresponds to the OData navigation property to_CentralPurchaseContractItem.If the navigation property to_CentralPurchaseContractItem of a queried CentralPurchaseContract 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 CntrlPurchaseContractItem entities.
-
fetchCntrlContrHdrDistribution
Fetches the CntrlPurContrHdrDistribution entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CntrlContrHdrDistribution.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CntrlPurContrHdrDistribution entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCntrlContrHdrDistributionOrFetch
Retrieval of associated CntrlPurContrHdrDistribution entities (one to many). This corresponds to the OData navigation property to_CntrlContrHdrDistribution.If the navigation property to_CntrlContrHdrDistribution of a queried CentralPurchaseContract 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.
- Returns:
- List of associated CntrlPurContrHdrDistribution entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCntrlContrHdrDistributionIfPresent
@Nonnull public io.vavr.control.Option<List<CntrlPurContrHdrDistribution>> getCntrlContrHdrDistributionIfPresent()Retrieval of associated CntrlPurContrHdrDistribution entities (one to many). This corresponds to the OData navigation property to_CntrlContrHdrDistribution.If the navigation property for an entity CentralPurchaseContract 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 to_CntrlContrHdrDistribution is already loaded, the
result will contain the CntrlPurContrHdrDistribution entities. If not, an
Optionwith result stateemptyis returned.
-
setCntrlContrHdrDistribution
Overwrites the list of associated CntrlPurContrHdrDistribution entities for the loaded navigation property to_CntrlContrHdrDistribution.If the navigation property to_CntrlContrHdrDistribution of a queried CentralPurchaseContract 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 CntrlPurContrHdrDistribution entities.
-
addCntrlContrHdrDistribution
Adds elements to the list of associated CntrlPurContrHdrDistribution entities. This corresponds to the OData navigation property to_CntrlContrHdrDistribution.If the navigation property to_CntrlContrHdrDistribution of a queried CentralPurchaseContract 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 CntrlPurContrHdrDistribution entities.
-
fetchCntrlPurContrDistrMessages
Fetches the CntrlPurContrDistrMessages entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CntrlPurContrDistrMessages.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CntrlPurContrDistrMessages entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCntrlPurContrDistrMessagesOrFetch
Retrieval of associated CntrlPurContrDistrMessages entities (one to many). This corresponds to the OData navigation property to_CntrlPurContrDistrMessages.If the navigation property to_CntrlPurContrDistrMessages of a queried CentralPurchaseContract 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.
- Returns:
- List of associated CntrlPurContrDistrMessages entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCntrlPurContrDistrMessagesIfPresent
@Nonnull public io.vavr.control.Option<List<CntrlPurContrDistrMessages>> getCntrlPurContrDistrMessagesIfPresent()Retrieval of associated CntrlPurContrDistrMessages entities (one to many). This corresponds to the OData navigation property to_CntrlPurContrDistrMessages.If the navigation property for an entity CentralPurchaseContract 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 to_CntrlPurContrDistrMessages is already loaded, the
result will contain the CntrlPurContrDistrMessages entities. If not, an
Optionwith result stateemptyis returned.
-
setCntrlPurContrDistrMessages
Overwrites the list of associated CntrlPurContrDistrMessages entities for the loaded navigation property to_CntrlPurContrDistrMessages.If the navigation property to_CntrlPurContrDistrMessages of a queried CentralPurchaseContract 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 CntrlPurContrDistrMessages entities.
-
addCntrlPurContrDistrMessages
Adds elements to the list of associated CntrlPurContrDistrMessages entities. This corresponds to the OData navigation property to_CntrlPurContrDistrMessages.If the navigation property to_CntrlPurContrDistrMessages of a queried CentralPurchaseContract 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 CntrlPurContrDistrMessages entities.
-
fetchCntrlPurContrHdrCndnValdty
Fetches the CntrlPurContrHdrCndnValdty entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CntrlPurContrHdrCndnValdty.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CntrlPurContrHdrCndnValdty entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCntrlPurContrHdrCndnValdtyOrFetch
Retrieval of associated CntrlPurContrHdrCndnValdty entities (one to many). This corresponds to the OData navigation property to_CntrlPurContrHdrCndnValdty.If the navigation property to_CntrlPurContrHdrCndnValdty of a queried CentralPurchaseContract 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.
- Returns:
- List of associated CntrlPurContrHdrCndnValdty entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCntrlPurContrHdrCndnValdtyIfPresent
@Nonnull public io.vavr.control.Option<List<CntrlPurContrHdrCndnValdty>> getCntrlPurContrHdrCndnValdtyIfPresent()Retrieval of associated CntrlPurContrHdrCndnValdty entities (one to many). This corresponds to the OData navigation property to_CntrlPurContrHdrCndnValdty.If the navigation property for an entity CentralPurchaseContract 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 to_CntrlPurContrHdrCndnValdty is already loaded, the
result will contain the CntrlPurContrHdrCndnValdty entities. If not, an
Optionwith result stateemptyis returned.
-
setCntrlPurContrHdrCndnValdty
Overwrites the list of associated CntrlPurContrHdrCndnValdty entities for the loaded navigation property to_CntrlPurContrHdrCndnValdty.If the navigation property to_CntrlPurContrHdrCndnValdty of a queried CentralPurchaseContract 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 CntrlPurContrHdrCndnValdty entities.
-
addCntrlPurContrHdrCndnValdty
Adds elements to the list of associated CntrlPurContrHdrCndnValdty entities. This corresponds to the OData navigation property to_CntrlPurContrHdrCndnValdty.If the navigation property to_CntrlPurContrHdrCndnValdty of a queried CentralPurchaseContract 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 CntrlPurContrHdrCndnValdty entities.
-
fetchCntrlPurContrHdrNotes
Fetches the CntrlPurContractHeaderNotes entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CntrlPurContrHdrNotes.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CntrlPurContractHeaderNotes entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCntrlPurContrHdrNotesOrFetch
Retrieval of associated CntrlPurContractHeaderNotes entities (one to many). This corresponds to the OData navigation property to_CntrlPurContrHdrNotes.If the navigation property to_CntrlPurContrHdrNotes of a queried CentralPurchaseContract 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.
- Returns:
- List of associated CntrlPurContractHeaderNotes entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCntrlPurContrHdrNotesIfPresent
@Nonnull public io.vavr.control.Option<List<CntrlPurContractHeaderNotes>> getCntrlPurContrHdrNotesIfPresent()Retrieval of associated CntrlPurContractHeaderNotes entities (one to many). This corresponds to the OData navigation property to_CntrlPurContrHdrNotes.If the navigation property for an entity CentralPurchaseContract 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 to_CntrlPurContrHdrNotes is already loaded, the result
will contain the CntrlPurContractHeaderNotes entities. If not, an
Optionwith result stateemptyis returned.
-
setCntrlPurContrHdrNotes
Overwrites the list of associated CntrlPurContractHeaderNotes entities for the loaded navigation property to_CntrlPurContrHdrNotes.If the navigation property to_CntrlPurContrHdrNotes of a queried CentralPurchaseContract 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 CntrlPurContractHeaderNotes entities.
-
addCntrlPurContrHdrNotes
Adds elements to the list of associated CntrlPurContractHeaderNotes entities. This corresponds to the OData navigation property to_CntrlPurContrHdrNotes.If the navigation property to_CntrlPurContrHdrNotes of a queried CentralPurchaseContract 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 CntrlPurContractHeaderNotes entities.
-
fetchCntrlPurContrVersionHistory
Fetches the CntrlPurContrVersionHistory entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CntrlPurContrVersionHistory.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CntrlPurContrVersionHistory entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCntrlPurContrVersionHistoryOrFetch
Retrieval of associated CntrlPurContrVersionHistory entities (one to many). This corresponds to the OData navigation property to_CntrlPurContrVersionHistory.If the navigation property to_CntrlPurContrVersionHistory of a queried CentralPurchaseContract 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.
- Returns:
- List of associated CntrlPurContrVersionHistory entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCntrlPurContrVersionHistoryIfPresent
@Nonnull public io.vavr.control.Option<List<CntrlPurContrVersionHistory>> getCntrlPurContrVersionHistoryIfPresent()Retrieval of associated CntrlPurContrVersionHistory entities (one to many). This corresponds to the OData navigation property to_CntrlPurContrVersionHistory.If the navigation property for an entity CentralPurchaseContract 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 to_CntrlPurContrVersionHistory is already loaded, the
result will contain the CntrlPurContrVersionHistory entities. If not, an
Optionwith result stateemptyis returned.
-
setCntrlPurContrVersionHistory
Overwrites the list of associated CntrlPurContrVersionHistory entities for the loaded navigation property to_CntrlPurContrVersionHistory.If the navigation property to_CntrlPurContrVersionHistory of a queried CentralPurchaseContract 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 CntrlPurContrVersionHistory entities.
-
addCntrlPurContrVersionHistory
Adds elements to the list of associated CntrlPurContrVersionHistory entities. This corresponds to the OData navigation property to_CntrlPurContrVersionHistory.If the navigation property to_CntrlPurContrVersionHistory of a queried CentralPurchaseContract 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 CntrlPurContrVersionHistory entities.
-
fetchDistributedOutlineAgreement
Fetches the CePuCoDistrdOutlineAgrmt entities (one to many) associated with this entity. This corresponds to the OData navigation property to_DistributedOutlineAgreement.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CePuCoDistrdOutlineAgrmt entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getDistributedOutlineAgreementOrFetch
Retrieval of associated CePuCoDistrdOutlineAgrmt entities (one to many). This corresponds to the OData navigation property to_DistributedOutlineAgreement.If the navigation property to_DistributedOutlineAgreement of a queried CentralPurchaseContract 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.
- Returns:
- List of associated CePuCoDistrdOutlineAgrmt entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getDistributedOutlineAgreementIfPresent
@Nonnull public io.vavr.control.Option<List<CePuCoDistrdOutlineAgrmt>> getDistributedOutlineAgreementIfPresent()Retrieval of associated CePuCoDistrdOutlineAgrmt entities (one to many). This corresponds to the OData navigation property to_DistributedOutlineAgreement.If the navigation property for an entity CentralPurchaseContract 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 to_DistributedOutlineAgreement is already loaded, the
result will contain the CePuCoDistrdOutlineAgrmt entities. If not, an
Optionwith result stateemptyis returned.
-
setDistributedOutlineAgreement
Overwrites the list of associated CePuCoDistrdOutlineAgrmt entities for the loaded navigation property to_DistributedOutlineAgreement.If the navigation property to_DistributedOutlineAgreement of a queried CentralPurchaseContract 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 CePuCoDistrdOutlineAgrmt entities.
-
addDistributedOutlineAgreement
Adds elements to the list of associated CePuCoDistrdOutlineAgrmt entities. This corresponds to the OData navigation property to_DistributedOutlineAgreement.If the navigation property to_DistributedOutlineAgreement of a queried CentralPurchaseContract 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 CePuCoDistrdOutlineAgrmt entities.
-
fetchLegalTransaction
Fetches the CntrlPurContrLegalTrans entities (one to many) associated with this entity. This corresponds to the OData navigation property to_LegalTransaction.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CntrlPurContrLegalTrans entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getLegalTransactionOrFetch
Retrieval of associated CntrlPurContrLegalTrans entities (one to many). This corresponds to the OData navigation property to_LegalTransaction.If the navigation property to_LegalTransaction of a queried CentralPurchaseContract 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.
- Returns:
- List of associated CntrlPurContrLegalTrans entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getLegalTransactionIfPresent
@Nonnull public io.vavr.control.Option<List<CntrlPurContrLegalTrans>> getLegalTransactionIfPresent()Retrieval of associated CntrlPurContrLegalTrans entities (one to many). This corresponds to the OData navigation property to_LegalTransaction.If the navigation property for an entity CentralPurchaseContract 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 to_LegalTransaction is already loaded, the result will
contain the CntrlPurContrLegalTrans entities. If not, an
Optionwith result stateemptyis returned.
-
setLegalTransaction
Overwrites the list of associated CntrlPurContrLegalTrans entities for the loaded navigation property to_LegalTransaction.If the navigation property to_LegalTransaction of a queried CentralPurchaseContract 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 CntrlPurContrLegalTrans entities.
-
addLegalTransaction
Adds elements to the list of associated CntrlPurContrLegalTrans entities. This corresponds to the OData navigation property to_LegalTransaction.If the navigation property to_LegalTransaction of a queried CentralPurchaseContract 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 CntrlPurContrLegalTrans entities.
-
fetchSubordinateCntrlContract
Fetches the SubordinateCntrlContract entities (one to many) associated with this entity. This corresponds to the OData navigation property to_SubordinateCntrlContract.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated SubordinateCntrlContract entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getSubordinateCntrlContractOrFetch
Retrieval of associated SubordinateCntrlContract entities (one to many). This corresponds to the OData navigation property to_SubordinateCntrlContract.If the navigation property to_SubordinateCntrlContract of a queried CentralPurchaseContract 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.
- Returns:
- List of associated SubordinateCntrlContract entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getSubordinateCntrlContractIfPresent
@Nonnull public io.vavr.control.Option<List<SubordinateCntrlContract>> getSubordinateCntrlContractIfPresent()Retrieval of associated SubordinateCntrlContract entities (one to many). This corresponds to the OData navigation property to_SubordinateCntrlContract.If the navigation property for an entity CentralPurchaseContract 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 to_SubordinateCntrlContract is already loaded, the
result will contain the SubordinateCntrlContract entities. If not, an
Optionwith result stateemptyis returned.
-
setSubordinateCntrlContract
Overwrites the list of associated SubordinateCntrlContract entities for the loaded navigation property to_SubordinateCntrlContract.If the navigation property to_SubordinateCntrlContract of a queried CentralPurchaseContract 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 SubordinateCntrlContract entities.
-
addSubordinateCntrlContract
Adds elements to the list of associated SubordinateCntrlContract entities. This corresponds to the OData navigation property to_SubordinateCntrlContract.If the navigation property to_SubordinateCntrlContract of a queried CentralPurchaseContract 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 SubordinateCntrlContract entities.
-
builder
-
getCentralPurchaseContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CentralPurchaseContract
- Returns:
- Active Purchasing Document
-
getPurchaseContractType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchaseContractType
- Returns:
- Purchasing Document Type
-
getPurchasingDocumentCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingDocumentCategory
- Returns:
- Purchasing Document Category
-
getPurchasingDocumentSubtype
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingDocumentSubtype
- Returns:
- Control indicator for purchasing document type
-
getSupplier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Returns:
- Supplier
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getPurchasingOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingOrganization
- Returns:
- Purchasing Organization
-
getPurchasingGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchasingGroup
- Returns:
- Purchasing Group
-
getValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Returns:
- Start of Validity Period
-
getValidityEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
- End of Validity Period
-
getDocumentCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DocumentCurrency
- Returns:
- Currency Key
-
getLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Change Time Stamp
-
getCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Returns:
- Creation Date of Purchasing Document
-
getPaymentTerms
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PaymentTerms
- Returns:
- Terms of Payment Key
-
getCashDiscount1Days
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: CashDiscount1Days
- Returns:
- Cash discount days 1
-
getCashDiscount2Days
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: CashDiscount2Days
- Returns:
- Cash discount days 2
-
getCashDiscount1Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount1Percent
- Returns:
- Cash Discount Percentage 1
-
getCashDiscount2Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount2Percent
- Returns:
- Cash Discount Percentage 2
-
getNetPaymentDays
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: NetPaymentDays
- Returns:
- Net Payment Terms Period
-
getIncotermsClassification
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: IncotermsClassification
- Returns:
- Incoterms (Part 1)
-
getIncotermsTransferLocation
Constraints: Not nullable, Maximum length: 28Original property name from the Odata EDM: IncotermsTransferLocation
- Returns:
- Incoterms (Part 2)
-
getIncotermsVersion
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: IncotermsVersion
- Returns:
- Incoterms Version
-
getIncotermsLocation1
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: IncotermsLocation1
- Returns:
- Incoterms Location 1
-
getIncotermsLocation2
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: IncotermsLocation2
- Returns:
- Incoterms Location 2
-
getPurchaseContractTargetAmount
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: PurchaseContractTargetAmount
- Returns:
- Target Value for Header Area per Distribution
-
getExchangeRate
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ExchangeRate
- Returns:
- The exchangeRate contained in this entity.
-
getExchangeRateIsFixed
Constraints: noneOriginal property name from the Odata EDM: ExchangeRateIsFixed
- Returns:
- Indicator for Fixed Exchange Rate
-
getSupplyingSupplier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplyingSupplier
- Returns:
- Goods Supplier
-
getQuotationSubmissionDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: QuotationSubmissionDate
- Returns:
- Quotation Submission Date
-
getSupplierQuotation
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplierQuotation
- Returns:
- Quotation Number
-
getCorrespncExternalReference
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CorrespncExternalReference
- Returns:
- Your Reference
-
getCorrespncInternalReference
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CorrespncInternalReference
- Returns:
- Our Reference
-
getSupplierRespSalesPersonName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: SupplierRespSalesPersonName
- Returns:
- Responsible Salesperson at Supplier's Office
-
getSupplierPhoneNumber
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: SupplierPhoneNumber
- Returns:
- Supplier's Phone Number
-
getReleaseCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ReleaseCode
- Returns:
- Release Indicator: Purchasing Document
-
getPurchasingDocumentName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: PurchasingDocumentName
- Returns:
- Name of Purchasing Document
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- User of person who created a purchasing document
-
getPurchasingDocumentDeletionCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingDocumentDeletionCode
- Returns:
- Deletion Indicator in Purchasing Document
-
getPurchasingProcessingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PurchasingProcessingStatus
- Returns:
- Purchasing Document Processing State
-
getCntrlPurContrDistributionSts
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CntrlPurContrDistributionSts
- Returns:
- The cntrlPurContrDistributionSts contained in this entity.
-
getPurgContractIsInPreparation
Constraints: noneOriginal property name from the Odata EDM: PurgContractIsInPreparation
- Returns:
- Boolean Variable (X = True, - = False, Space = Unknown)
-
getPurchasingDocVersionReasonCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingDocVersionReasonCode
- Returns:
- Reason for change
-
getCntrlPurContrFlxblDistrIsAllwd
Constraints: noneOriginal property name from the Odata EDM: CntrlPurContrFlxblDistrIsAllwd
- Returns:
- Boolean Variable (X = True, - = False, Space = Unknown)
-
getPurchasingDocumentVersion
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: PurchasingDocumentVersion
- Returns:
- Version number in Purchasing
-
getPurgDocIsChgVers
Constraints: noneOriginal property name from the Odata EDM: PurgDocIsChgVers
- Returns:
- Checkbox
-
toString
- Overrides:
toStringin classVdmObject<CentralPurchaseContract>
-
equals
- Overrides:
equalsin classVdmEntity<CentralPurchaseContract>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CentralPurchaseContract>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CentralPurchaseContract>
-