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<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<String>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 IncotermsLocation2 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 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 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<Boolean>Use with available fluent helpers to apply the PurgContractIsInPreparation 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<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 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, String 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 isEndOfPurposeBlocked, ZonedDateTime lastChangeDateTime, String purchasingProcessingStatus, String purchasingProcessingStatusName, Boolean purgContractIsInPreparation, List<PurchaseContractItem> toPurchaseContractItem, List<PurCtrPartners> toPurCtrPartners) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPurchaseContractItem(PurchaseContractItem... entity) Adds elements to the list of associated PurchaseContractItem 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 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, 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, 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: 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: 16, Scale: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 60io.vavr.control.Option<List<PurCtrPartners>>Retrieval of associated PurCtrPartners entities (one to many).Retrieval of associated PurCtrPartners entities (one to many).Constraints: noneConstraints: 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: 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: 0voidsetDocumentCurrency(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: 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: 16, Scale: 3voidsetPurchaseContractType(String purchaseContractType) Constraints: Not nullable, Maximum length: 4voidsetPurchasingDocumentDeletionCode(String purchasingDocumentDeletionCode) Constraints: Not nullable, Maximum length: 1voidsetPurchasingGroup(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: 60voidsetPurCtrPartners(List<PurCtrPartners> value) Overwrites the list of associated PurCtrPartners entities for the loaded navigation property to_PurCtrPartners.voidsetPurgContractIsInPreparation(Boolean purgContractIsInPreparation) Constraints: nonevoidsetQuotationSubmissionDate(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. -
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. -
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. -
TO_PURCHASE_CONTRACT_ITEM
Use with available fluent helpers to apply the to_PurchaseContractItem 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 String 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 isEndOfPurposeBlocked, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String purchasingProcessingStatus, @Nullable String purchasingProcessingStatusName, @Nullable Boolean purgContractIsInPreparation, List<PurchaseContractItem> toPurchaseContractItem, 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, 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
-
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: 16, 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
-
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
-
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)
-
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.
-
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, 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
-
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: 16, 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
-
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
-
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)
-
toString
- Overrides:
toStringin classVdmObject<PurchaseContract>
-
equals
- Overrides:
equalsin classVdmEntity<PurchaseContract>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PurchaseContract>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PurchaseContract>
-