Class PurchaseContract
Original entity name from the Odata EDM: A_PurchaseContractType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PurchaseContract instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PurchaseContractSelectableSelector for all available fields of PurchaseContract.static final PurchaseContractField<BigDecimal>Use with available fluent helpers to apply the CashDiscount1Days field to query operations.static final PurchaseContractField<BigDecimal>Use with available fluent helpers to apply the CashDiscount1Percent field to query operations.static final PurchaseContractField<BigDecimal>Use with available fluent helpers to apply the CashDiscount2Days field to query operations.static final PurchaseContractField<BigDecimal>Use with available fluent helpers to apply the CashDiscount2Percent field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the CompanyCode field to query operations.static final PurchaseContractField<BigDecimal>Use with available fluent helpers to apply the ContractConsumptionInPct field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the CorrespncExternalReference field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the CorrespncInternalReference field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the CreatedByUser field to query operations.static final PurchaseContractField<LocalDateTime>Use with available fluent helpers to apply the CreationDate field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the DocumentCurrency field to query operations.static final PurchaseContractField<BigDecimal>Use with available fluent helpers to apply the ExchangeRate field to query operations.static final PurchaseContractField<Boolean>Use with available fluent helpers to apply the ExchangeRateIsFixed field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the IncotermsClassification field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the IncotermsLocation1 field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the IncotermsLocation1Identifier field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the IncotermsLocation2 field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the IncotermsLocation2Identifier field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the IncotermsTransferLocation field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the IncotermsVersion field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the InvoicingParty field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the IsEndOfPurposeBlocked field to query operations.static final PurchaseContractField<ZonedDateTime>Use with available fluent helpers to apply the LastChangeDateTime field to query operations.static final PurchaseContractField<BigDecimal>Use with available fluent helpers to apply the NetPaymentDays field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the PaymentTerms field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the PurContrAttentionRequiredText field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the PurchaseContract field to query operations.static final PurchaseContractField<BigDecimal>Use with available fluent helpers to apply the PurchaseContractTargetAmount field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the PurchaseContractType field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the PurchasingDocumentDeletionCode field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the PurchasingDocumentName field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the PurchasingGroup field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the PurchasingOrganization field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the PurchasingProcessingStatus field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the PurchasingProcessingStatusName field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the PurgAggrgdProdCmplncSuplrSts field to query operations.static final PurchaseContractField<Boolean>Use with available fluent helpers to apply the PurgContractIsInPreparation field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the PurgDocCatalogItemRelevance field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the PurgDocExternalReference field to query operations.static final PurchaseContractField<LocalDateTime>Use with available fluent helpers to apply the QuotationSubmissionDate field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the ReleaseCode field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the Supplier field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the SupplierPhoneNumber field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the SupplierQuotation field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the SupplierRespSalesPersonName field to query operations.static final PurchaseContractField<String>Use with available fluent helpers to apply the SupplyingSupplier field to query operations.static final PurchaseContractLink<PurContrHdrCndnValdty>Use with available fluent helpers to apply the to_PurContrHdrCndnValdty navigation property to query operations.static final PurchaseContractLink<PurCtrPartners>Use with available fluent helpers to apply the to_PurCtrPartners navigation property to query operations.static final PurchaseContractLink<PurchaseContractItem>Use with available fluent helpers to apply the to_PurchaseContractItem navigation property to query operations.static final PurchaseContractLink<PurchaseContractNotes>Use with available fluent helpers to apply the to_Purctrnotes navigation property to query operations.static final PurchaseContractField<LocalDateTime>Use with available fluent helpers to apply the ValidityEndDate field to query operations.static final PurchaseContractField<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
ConstructorsConstructorDescriptionPurchaseContract(String purchaseContract, String purchaseContractType, String companyCode, String purchasingDocumentDeletionCode, LocalDateTime creationDate, String createdByUser, String supplier, String purchasingOrganization, String purchasingGroup, String paymentTerms, BigDecimal cashDiscount1Days, BigDecimal cashDiscount2Days, BigDecimal netPaymentDays, BigDecimal cashDiscount1Percent, BigDecimal cashDiscount2Percent, String documentCurrency, BigDecimal exchangeRate, Boolean exchangeRateIsFixed, LocalDateTime validityStartDate, LocalDateTime validityEndDate, LocalDateTime quotationSubmissionDate, String correspncExternalReference, String supplierQuotation, String supplierRespSalesPersonName, String supplierPhoneNumber, String supplyingSupplier, String incotermsClassification, String incotermsTransferLocation, BigDecimal purchaseContractTargetAmount, String invoicingParty, String correspncInternalReference, String releaseCode, String incotermsVersion, String incotermsLocation1, String incotermsLocation2, String incotermsLocation1Identifier, String incotermsLocation2Identifier, String isEndOfPurposeBlocked, ZonedDateTime lastChangeDateTime, String purchasingProcessingStatus, String purgAggrgdProdCmplncSuplrSts, String purchasingProcessingStatusName, Boolean purgContractIsInPreparation, String purgDocExternalReference, String purchasingDocumentName, String purgDocCatalogItemRelevance, String purContrAttentionRequiredText, BigDecimal contractConsumptionInPct, List<PurchaseContractItem> toPurchaseContractItem, List<PurContrHdrCndnValdty> toPurContrHdrCndnValdty, List<PurchaseContractNotes> toPurctrnotes, List<PurCtrPartners> toPurCtrPartners) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPurchaseContractItem(PurchaseContractItem... entity) Adds elements to the list of associated PurchaseContractItem entities.voidaddPurContrHdrCndnValdty(PurContrHdrCndnValdty... entity) Adds elements to the list of associated PurContrHdrCndnValdty entities.voidaddPurctrnotes(PurchaseContractNotes... entity) Adds elements to the list of associated PurchaseContractNotes entities.voidaddPurCtrPartners(PurCtrPartners... entity) Adds elements to the list of associated PurCtrPartners entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the PurchaseContractItem entities (one to many) associated with this entity.Fetches the PurContrHdrCndnValdty entities (one to many) associated with this entity.Fetches the PurchaseContractNotes entities (one to many) associated with this entity.Fetches the PurCtrPartners entities (one to many) associated with this entity.static <T,DomainT>
PurchaseContractField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> PurchaseContractField<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: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Precision: 18, Scale: 3Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 0protected StringConstraints: Not nullable, Maximum length: 5protected StringConstraints: Not nullable, Precision: 9, Scale: 5Constraints: noneConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 70Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 70Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 28Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 1getKey()Constraints: Not nullable, Precision: 7Constraints: Not nullable, Precision: 3, Scale: 0Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<List<PurchaseContractItem>>Retrieval of associated PurchaseContractItem entities (one to many).Retrieval of associated PurchaseContractItem entities (one to many).Constraints: Not nullable, Precision: 15, Scale: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 60Constraints: Not nullable, Maximum length: 60io.vavr.control.Option<List<PurContrHdrCndnValdty>>Retrieval of associated PurContrHdrCndnValdty entities (one to many).Retrieval of associated PurContrHdrCndnValdty entities (one to many).io.vavr.control.Option<List<PurchaseContractNotes>>Retrieval of associated PurchaseContractNotes entities (one to many).Retrieval of associated PurchaseContractNotes entities (one to many).io.vavr.control.Option<List<PurCtrPartners>>Retrieval of associated PurCtrPartners entities (one to many).Retrieval of associated PurCtrPartners entities (one to many).Constraints: Not nullable, Maximum length: 1Constraints: noneConstraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 70Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 1Constraints: 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: 3voidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidsetContractConsumptionInPct(BigDecimal contractConsumptionInPct) Constraints: Not nullable, Precision: 18, Scale: 3voidsetCorrespncExternalReference(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: 0voidsetDocumentCurrency(String documentCurrency) Constraints: Not nullable, Maximum length: 5voidsetExchangeRate(BigDecimal exchangeRate) Constraints: Not nullable, Precision: 9, Scale: 5voidsetExchangeRateIsFixed(Boolean exchangeRateIsFixed) Constraints: nonevoidsetIncotermsClassification(String incotermsClassification) Constraints: Not nullable, Maximum length: 3voidsetIncotermsLocation1(String incotermsLocation1) Constraints: Not nullable, Maximum length: 70voidsetIncotermsLocation1Identifier(String incotermsLocation1Identifier) Constraints: Not nullable, Maximum length: 20voidsetIncotermsLocation2(String incotermsLocation2) Constraints: Not nullable, Maximum length: 70voidsetIncotermsLocation2Identifier(String incotermsLocation2Identifier) Constraints: Not nullable, Maximum length: 20voidsetIncotermsTransferLocation(String incotermsTransferLocation) Constraints: Not nullable, Maximum length: 28voidsetIncotermsVersion(String incotermsVersion) Constraints: Not nullable, Maximum length: 4voidsetInvoicingParty(String invoicingParty) Constraints: Not nullable, Maximum length: 10voidsetIsEndOfPurposeBlocked(String isEndOfPurposeBlocked) Constraints: Not nullable, Maximum length: 1voidsetLastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 7voidsetNetPaymentDays(BigDecimal netPaymentDays) Constraints: Not nullable, Precision: 3, Scale: 0voidsetPaymentTerms(String paymentTerms) Constraints: Not nullable, Maximum length: 4voidsetPurchaseContract(String purchaseContract) (Key Field) Constraints: Not nullable, Maximum length: 10voidOverwrites the list of associated PurchaseContractItem entities for the loaded navigation property to_PurchaseContractItem.voidsetPurchaseContractTargetAmount(BigDecimal purchaseContractTargetAmount) Constraints: Not nullable, Precision: 15, Scale: 3voidsetPurchaseContractType(String purchaseContractType) Constraints: Not nullable, Maximum length: 4voidsetPurchasingDocumentDeletionCode(String purchasingDocumentDeletionCode) Constraints: Not nullable, Maximum length: 1voidsetPurchasingDocumentName(String purchasingDocumentName) Constraints: Not nullable, Maximum length: 40voidsetPurchasingGroup(String purchasingGroup) Constraints: Not nullable, Maximum length: 3voidsetPurchasingOrganization(String purchasingOrganization) Constraints: Not nullable, Maximum length: 4voidsetPurchasingProcessingStatus(String purchasingProcessingStatus) Constraints: Not nullable, Maximum length: 2voidsetPurchasingProcessingStatusName(String purchasingProcessingStatusName) Constraints: Not nullable, Maximum length: 60voidsetPurContrAttentionRequiredText(String purContrAttentionRequiredText) Constraints: Not nullable, Maximum length: 60voidOverwrites the list of associated PurContrHdrCndnValdty entities for the loaded navigation property to_PurContrHdrCndnValdty.voidsetPurctrnotes(List<PurchaseContractNotes> value) Overwrites the list of associated PurchaseContractNotes entities for the loaded navigation property to_Purctrnotes.voidsetPurCtrPartners(List<PurCtrPartners> value) Overwrites the list of associated PurCtrPartners entities for the loaded navigation property to_PurCtrPartners.voidsetPurgAggrgdProdCmplncSuplrSts(String purgAggrgdProdCmplncSuplrSts) Constraints: Not nullable, Maximum length: 1voidsetPurgContractIsInPreparation(Boolean purgContractIsInPreparation) Constraints: nonevoidsetPurgDocCatalogItemRelevance(String purgDocCatalogItemRelevance) Constraints: Not nullable, Maximum length: 1voidsetPurgDocExternalReference(String purgDocExternalReference) Constraints: Not nullable, Maximum length: 70voidsetQuotationSubmissionDate(LocalDateTime quotationSubmissionDate) Constraints: Not nullable, Precision: 0voidsetReleaseCode(String releaseCode) Constraints: Not nullable, Maximum length: 1protected voidsetServicePathForFetch(String servicePathForFetch) 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 PurchaseContract. -
PURCHASE_CONTRACT
Use with available fluent helpers to apply the PurchaseContract field to query operations. -
PURCHASE_CONTRACT_TYPE
Use with available fluent helpers to apply the PurchaseContractType field to query operations. -
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations. -
PURCHASING_DOCUMENT_DELETION_CODE
Use with available fluent helpers to apply the PurchasingDocumentDeletionCode field to query operations. -
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations. -
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations. -
SUPPLIER
Use with available fluent helpers to apply the Supplier 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. -
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. -
NET_PAYMENT_DAYS
Use with available fluent helpers to apply the NetPaymentDays 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. -
DOCUMENT_CURRENCY
Use with available fluent helpers to apply the DocumentCurrency 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. -
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. -
QUOTATION_SUBMISSION_DATE
Use with available fluent helpers to apply the QuotationSubmissionDate field to query operations. -
CORRESPNC_EXTERNAL_REFERENCE
Use with available fluent helpers to apply the CorrespncExternalReference field to query operations. -
SUPPLIER_QUOTATION
Use with available fluent helpers to apply the SupplierQuotation 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. -
SUPPLYING_SUPPLIER
Use with available fluent helpers to apply the SupplyingSupplier 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. -
PURCHASE_CONTRACT_TARGET_AMOUNT
Use with available fluent helpers to apply the PurchaseContractTargetAmount field to query operations. -
INVOICING_PARTY
Use with available fluent helpers to apply the InvoicingParty field to query operations. -
CORRESPNC_INTERNAL_REFERENCE
Use with available fluent helpers to apply the CorrespncInternalReference field to query operations. -
RELEASE_CODE
Use with available fluent helpers to apply the ReleaseCode 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. -
INCOTERMS_LOCATION1_IDENTIFIER
Use with available fluent helpers to apply the IncotermsLocation1Identifier field to query operations. -
INCOTERMS_LOCATION2_IDENTIFIER
Use with available fluent helpers to apply the IncotermsLocation2Identifier field to query operations. -
IS_END_OF_PURPOSE_BLOCKED
Use with available fluent helpers to apply the IsEndOfPurposeBlocked field to query operations. -
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations. -
PURCHASING_PROCESSING_STATUS
Use with available fluent helpers to apply the PurchasingProcessingStatus field to query operations. -
PURG_AGGRGD_PROD_CMPLNC_SUPLR_STS
Use with available fluent helpers to apply the PurgAggrgdProdCmplncSuplrSts field to query operations. -
PURCHASING_PROCESSING_STATUS_NAME
Use with available fluent helpers to apply the PurchasingProcessingStatusName field to query operations. -
PURG_CONTRACT_IS_IN_PREPARATION
Use with available fluent helpers to apply the PurgContractIsInPreparation field to query operations. -
PURG_DOC_EXTERNAL_REFERENCE
Use with available fluent helpers to apply the PurgDocExternalReference field to query operations. -
PURCHASING_DOCUMENT_NAME
Use with available fluent helpers to apply the PurchasingDocumentName field to query operations. -
PURG_DOC_CATALOG_ITEM_RELEVANCE
Use with available fluent helpers to apply the PurgDocCatalogItemRelevance field to query operations. -
PUR_CONTR_ATTENTION_REQUIRED_TEXT
Use with available fluent helpers to apply the PurContrAttentionRequiredText field to query operations. -
CONTRACT_CONSUMPTION_IN_PCT
Use with available fluent helpers to apply the ContractConsumptionInPct field to query operations. -
TO_PURCHASE_CONTRACT_ITEM
Use with available fluent helpers to apply the to_PurchaseContractItem navigation property to query operations. -
TO_PUR_CONTR_HDR_CNDN_VALDTY
Use with available fluent helpers to apply the to_PurContrHdrCndnValdty navigation property to query operations. -
TO_PURCTRNOTES
Use with available fluent helpers to apply the to_Purctrnotes navigation property to query operations. -
TO_PUR_CTR_PARTNERS
Use with available fluent helpers to apply the to_PurCtrPartners navigation property to query operations.
-
-
Constructor Details
-
PurchaseContract
public PurchaseContract() -
PurchaseContract
public PurchaseContract(@Nullable String purchaseContract, @Nullable String purchaseContractType, @Nullable String companyCode, @Nullable String purchasingDocumentDeletionCode, @Nullable LocalDateTime creationDate, @Nullable String createdByUser, @Nullable String supplier, @Nullable String purchasingOrganization, @Nullable String purchasingGroup, @Nullable String paymentTerms, @Nullable BigDecimal cashDiscount1Days, @Nullable BigDecimal cashDiscount2Days, @Nullable BigDecimal netPaymentDays, @Nullable BigDecimal cashDiscount1Percent, @Nullable BigDecimal cashDiscount2Percent, @Nullable String documentCurrency, @Nullable BigDecimal exchangeRate, @Nullable Boolean exchangeRateIsFixed, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable LocalDateTime quotationSubmissionDate, @Nullable String correspncExternalReference, @Nullable String supplierQuotation, @Nullable String supplierRespSalesPersonName, @Nullable String supplierPhoneNumber, @Nullable String supplyingSupplier, @Nullable String incotermsClassification, @Nullable String incotermsTransferLocation, @Nullable BigDecimal purchaseContractTargetAmount, @Nullable String invoicingParty, @Nullable String correspncInternalReference, @Nullable String releaseCode, @Nullable String incotermsVersion, @Nullable String incotermsLocation1, @Nullable String incotermsLocation2, @Nullable String incotermsLocation1Identifier, @Nullable String incotermsLocation2Identifier, @Nullable String isEndOfPurposeBlocked, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String purchasingProcessingStatus, @Nullable String purgAggrgdProdCmplncSuplrSts, @Nullable String purchasingProcessingStatusName, @Nullable Boolean purgContractIsInPreparation, @Nullable String purgDocExternalReference, @Nullable String purchasingDocumentName, @Nullable String purgDocCatalogItemRelevance, @Nullable String purContrAttentionRequiredText, @Nullable BigDecimal contractConsumptionInPct, List<PurchaseContractItem> toPurchaseContractItem, List<PurContrHdrCndnValdty> toPurContrHdrCndnValdty, List<PurchaseContractNotes> toPurctrnotes, List<PurCtrPartners> toPurCtrPartners)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PurchaseContract>
-
setPurchaseContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseContract
- Parameters:
purchaseContract- Purchasing Contract Header
-
setPurchaseContractType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchaseContractType
- Parameters:
purchaseContractType- Purchasing Document Type
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setPurchasingDocumentDeletionCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingDocumentDeletionCode
- Parameters:
purchasingDocumentDeletionCode- Deletion Indicator in Purchasing Document
-
setCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Parameters:
creationDate- Creation Date 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
-
setSupplier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Parameters:
supplier- Supplier
-
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
-
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
-
setNetPaymentDays
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: NetPaymentDays
- Parameters:
netPaymentDays- Net Payment Terms Period
-
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
-
setDocumentCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DocumentCurrency
- Parameters:
documentCurrency- Currency Key
-
setExchangeRate
Constraints: Not nullable, Precision: 9, Scale: 5Original property name from the Odata EDM: ExchangeRate
- Parameters:
exchangeRate- Absolute Exchange Rate
-
setExchangeRateIsFixed
Constraints: noneOriginal property name from the Odata EDM: ExchangeRateIsFixed
- Parameters:
exchangeRateIsFixed- Indicator for Fixed Exchange Rate
-
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
-
setQuotationSubmissionDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: QuotationSubmissionDate
- Parameters:
quotationSubmissionDate- Quotation Submission Date
-
setCorrespncExternalReference
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CorrespncExternalReference
- Parameters:
correspncExternalReference- Your Reference
-
setSupplierQuotation
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplierQuotation
- Parameters:
supplierQuotation- Quotation Number
-
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
-
setSupplyingSupplier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplyingSupplier
- Parameters:
supplyingSupplier- Goods Supplier
-
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)
-
setPurchaseContractTargetAmount
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: PurchaseContractTargetAmount
- Parameters:
purchaseContractTargetAmount- Target Value for Header Area per Distribution
-
setInvoicingParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: InvoicingParty
- Parameters:
invoicingParty- Different Invoicing Party
-
setCorrespncInternalReference
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CorrespncInternalReference
- Parameters:
correspncInternalReference- Our Reference
-
setReleaseCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ReleaseCode
- Parameters:
releaseCode- Release Indicator: Purchasing Document
-
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
-
setIncotermsLocation1Identifier
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: IncotermsLocation1Identifier
- Parameters:
incotermsLocation1Identifier- Identifier for Incoterm Location 1
-
setIncotermsLocation2Identifier
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: IncotermsLocation2Identifier
- Parameters:
incotermsLocation2Identifier- Identifier for Incoterm Location 2
-
setIsEndOfPurposeBlocked
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: IsEndOfPurposeBlocked
- Parameters:
isEndOfPurposeBlocked- Business Purpose Completed
-
setLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Change Time Stamp
-
setPurchasingProcessingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PurchasingProcessingStatus
- Parameters:
purchasingProcessingStatus- Purchasing Document Processing State
-
setPurgAggrgdProdCmplncSuplrSts
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurgAggrgdProdCmplncSuplrSts
- Parameters:
purgAggrgdProdCmplncSuplrSts- Product Compliance Supplier Check Status (All Items)
-
setPurchasingProcessingStatusName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: PurchasingProcessingStatusName
- Parameters:
purchasingProcessingStatusName- Purch. Processing Status Name
-
setPurgContractIsInPreparation
Constraints: noneOriginal property name from the Odata EDM: PurgContractIsInPreparation
- Parameters:
purgContractIsInPreparation- Boolean Variable (X = True, - = False, Space = Unknown)
-
setPurgDocExternalReference
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: PurgDocExternalReference
- Parameters:
purgDocExternalReference- External Reference ID
-
setPurchasingDocumentName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: PurchasingDocumentName
- Parameters:
purchasingDocumentName- Name of Purchasing Document
-
setPurgDocCatalogItemRelevance
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurgDocCatalogItemRelevance
- Parameters:
purgDocCatalogItemRelevance- The purgDocCatalogItemRelevance to set.
-
setPurContrAttentionRequiredText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: PurContrAttentionRequiredText
- Parameters:
purContrAttentionRequiredText- Short Text for Fixed Values
-
setContractConsumptionInPct
Constraints: Not nullable, Precision: 18, Scale: 3Original property name from the Odata EDM: ContractConsumptionInPct
- Parameters:
contractConsumptionInPct- The contractConsumptionInPct to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PurchaseContract>
-
getKey
- Overrides:
getKeyin classVdmObject<PurchaseContract>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PurchaseContract>
-
fromMap
- Overrides:
fromMapin classVdmObject<PurchaseContract>
-
field
@Nonnull public static <T> PurchaseContractField<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> PurchaseContractField<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<PurchaseContract>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<PurchaseContract>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<PurchaseContract>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PurchaseContract>
-
fetchPurchaseContractItem
Fetches the PurchaseContractItem entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PurchaseContractItem.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated PurchaseContractItem 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.
-
getPurchaseContractItemOrFetch
Retrieval of associated PurchaseContractItem entities (one to many). This corresponds to the OData navigation property to_PurchaseContractItem.If the navigation property to_PurchaseContractItem of a queried PurchaseContract 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 PurchaseContractItem 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.
-
getPurchaseContractItemIfPresent
@Nonnull public io.vavr.control.Option<List<PurchaseContractItem>> getPurchaseContractItemIfPresent()Retrieval of associated PurchaseContractItem entities (one to many). This corresponds to the OData navigation property to_PurchaseContractItem.If the navigation property for an entity PurchaseContract 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_PurchaseContractItem is already loaded, the result
will contain the PurchaseContractItem entities. If not, an
Optionwith result stateemptyis returned.
-
setPurchaseContractItem
Overwrites the list of associated PurchaseContractItem entities for the loaded navigation property to_PurchaseContractItem.If the navigation property to_PurchaseContractItem of a queried PurchaseContract 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 PurchaseContractItem entities.
-
addPurchaseContractItem
Adds elements to the list of associated PurchaseContractItem entities. This corresponds to the OData navigation property to_PurchaseContractItem.If the navigation property to_PurchaseContractItem of a queried PurchaseContract 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 PurchaseContractItem entities.
-
fetchPurContrHdrCndnValdty
Fetches the PurContrHdrCndnValdty entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PurContrHdrCndnValdty.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated PurContrHdrCndnValdty 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.
-
getPurContrHdrCndnValdtyOrFetch
Retrieval of associated PurContrHdrCndnValdty entities (one to many). This corresponds to the OData navigation property to_PurContrHdrCndnValdty.If the navigation property to_PurContrHdrCndnValdty of a queried PurchaseContract 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 PurContrHdrCndnValdty 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.
-
getPurContrHdrCndnValdtyIfPresent
@Nonnull public io.vavr.control.Option<List<PurContrHdrCndnValdty>> getPurContrHdrCndnValdtyIfPresent()Retrieval of associated PurContrHdrCndnValdty entities (one to many). This corresponds to the OData navigation property to_PurContrHdrCndnValdty.If the navigation property for an entity PurchaseContract 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_PurContrHdrCndnValdty is already loaded, the result
will contain the PurContrHdrCndnValdty entities. If not, an
Optionwith result stateemptyis returned.
-
setPurContrHdrCndnValdty
Overwrites the list of associated PurContrHdrCndnValdty entities for the loaded navigation property to_PurContrHdrCndnValdty.If the navigation property to_PurContrHdrCndnValdty of a queried PurchaseContract 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 PurContrHdrCndnValdty entities.
-
addPurContrHdrCndnValdty
Adds elements to the list of associated PurContrHdrCndnValdty entities. This corresponds to the OData navigation property to_PurContrHdrCndnValdty.If the navigation property to_PurContrHdrCndnValdty of a queried PurchaseContract 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 PurContrHdrCndnValdty entities.
-
fetchPurctrnotes
Fetches the PurchaseContractNotes entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Purctrnotes.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated PurchaseContractNotes 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.
-
getPurctrnotesOrFetch
Retrieval of associated PurchaseContractNotes entities (one to many). This corresponds to the OData navigation property to_Purctrnotes.If the navigation property to_Purctrnotes of a queried PurchaseContract 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 PurchaseContractNotes 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.
-
getPurctrnotesIfPresent
Retrieval of associated PurchaseContractNotes entities (one to many). This corresponds to the OData navigation property to_Purctrnotes.If the navigation property for an entity PurchaseContract 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_Purctrnotes is already loaded, the result will
contain the PurchaseContractNotes entities. If not, an
Optionwith result stateemptyis returned.
-
setPurctrnotes
Overwrites the list of associated PurchaseContractNotes entities for the loaded navigation property to_Purctrnotes.If the navigation property to_Purctrnotes of a queried PurchaseContract 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 PurchaseContractNotes entities.
-
addPurctrnotes
Adds elements to the list of associated PurchaseContractNotes entities. This corresponds to the OData navigation property to_Purctrnotes.If the navigation property to_Purctrnotes of a queried PurchaseContract 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 PurchaseContractNotes entities.
-
fetchPurCtrPartners
Fetches the PurCtrPartners entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PurCtrPartners.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated PurCtrPartners 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.
-
getPurCtrPartnersOrFetch
Retrieval of associated PurCtrPartners entities (one to many). This corresponds to the OData navigation property to_PurCtrPartners.If the navigation property to_PurCtrPartners of a queried PurchaseContract 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 PurCtrPartners 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.
-
getPurCtrPartnersIfPresent
Retrieval of associated PurCtrPartners entities (one to many). This corresponds to the OData navigation property to_PurCtrPartners.If the navigation property for an entity PurchaseContract 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_PurCtrPartners is already loaded, the result will
contain the PurCtrPartners entities. If not, an
Optionwith result stateemptyis returned.
-
setPurCtrPartners
Overwrites the list of associated PurCtrPartners entities for the loaded navigation property to_PurCtrPartners.If the navigation property to_PurCtrPartners of a queried PurchaseContract 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 PurCtrPartners entities.
-
addPurCtrPartners
Adds elements to the list of associated PurCtrPartners entities. This corresponds to the OData navigation property to_PurCtrPartners.If the navigation property to_PurCtrPartners of a queried PurchaseContract 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 PurCtrPartners entities.
-
builder
-
getPurchaseContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseContract
- Returns:
- Purchasing Contract Header
-
getPurchaseContractType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchaseContractType
- Returns:
- Purchasing Document Type
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getPurchasingDocumentDeletionCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingDocumentDeletionCode
- Returns:
- Deletion Indicator in Purchasing Document
-
getCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Returns:
- Creation Date 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
-
getSupplier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Returns:
- Supplier
-
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
-
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
-
getNetPaymentDays
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: NetPaymentDays
- Returns:
- Net Payment Terms Period
-
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
-
getDocumentCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DocumentCurrency
- Returns:
- Currency Key
-
getExchangeRate
Constraints: Not nullable, Precision: 9, Scale: 5Original property name from the Odata EDM: ExchangeRate
- Returns:
- Absolute Exchange Rate
-
getExchangeRateIsFixed
Constraints: noneOriginal property name from the Odata EDM: ExchangeRateIsFixed
- Returns:
- Indicator for Fixed Exchange Rate
-
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
-
getQuotationSubmissionDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: QuotationSubmissionDate
- Returns:
- Quotation Submission Date
-
getCorrespncExternalReference
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CorrespncExternalReference
- Returns:
- Your Reference
-
getSupplierQuotation
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplierQuotation
- Returns:
- Quotation Number
-
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
-
getSupplyingSupplier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplyingSupplier
- Returns:
- Goods Supplier
-
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)
-
getPurchaseContractTargetAmount
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: PurchaseContractTargetAmount
- Returns:
- Target Value for Header Area per Distribution
-
getInvoicingParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: InvoicingParty
- Returns:
- Different Invoicing Party
-
getCorrespncInternalReference
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CorrespncInternalReference
- Returns:
- Our Reference
-
getReleaseCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ReleaseCode
- Returns:
- Release Indicator: Purchasing Document
-
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
-
getIncotermsLocation1Identifier
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: IncotermsLocation1Identifier
- Returns:
- Identifier for Incoterm Location 1
-
getIncotermsLocation2Identifier
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: IncotermsLocation2Identifier
- Returns:
- Identifier for Incoterm Location 2
-
getIsEndOfPurposeBlocked
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: IsEndOfPurposeBlocked
- Returns:
- Business Purpose Completed
-
getLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Change Time Stamp
-
getPurchasingProcessingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PurchasingProcessingStatus
- Returns:
- Purchasing Document Processing State
-
getPurgAggrgdProdCmplncSuplrSts
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurgAggrgdProdCmplncSuplrSts
- Returns:
- Product Compliance Supplier Check Status (All Items)
-
getPurchasingProcessingStatusName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: PurchasingProcessingStatusName
- Returns:
- Purch. Processing Status Name
-
getPurgContractIsInPreparation
Constraints: noneOriginal property name from the Odata EDM: PurgContractIsInPreparation
- Returns:
- Boolean Variable (X = True, - = False, Space = Unknown)
-
getPurgDocExternalReference
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: PurgDocExternalReference
- Returns:
- External Reference ID
-
getPurchasingDocumentName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: PurchasingDocumentName
- Returns:
- Name of Purchasing Document
-
getPurgDocCatalogItemRelevance
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurgDocCatalogItemRelevance
- Returns:
- The purgDocCatalogItemRelevance contained in this entity.
-
getPurContrAttentionRequiredText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: PurContrAttentionRequiredText
- Returns:
- Short Text for Fixed Values
-
getContractConsumptionInPct
Constraints: Not nullable, Precision: 18, Scale: 3Original property name from the Odata EDM: ContractConsumptionInPct
- Returns:
- The contractConsumptionInPct contained in this entity.
-
toString
- Overrides:
toStringin classVdmObject<PurchaseContract>
-
equals
- Overrides:
equalsin classVdmEntity<PurchaseContract>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PurchaseContract>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PurchaseContract>
-