java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<CntrlPurContrVersionHistory>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.centralpurchasecontract.CntrlPurContrVersionHistory

public class CntrlPurContrVersionHistory extends VdmEntity<CntrlPurContrVersionHistory>
Version History

Original entity name from the Odata EDM: A_CntrlPurContrVersionHistoryType

  • Field Details

    • ALL_FIELDS

      public static final CntrlPurContrVersionHistorySelectable ALL_FIELDS
      Selector for all available fields of CntrlPurContrVersionHistory.
    • CENTRAL_PURCHASE_CONTRACT

      public static final CntrlPurContrVersionHistoryField<String> CENTRAL_PURCHASE_CONTRACT
      Use with available fluent helpers to apply the CentralPurchaseContract field to query operations.
    • PURCHASING_DOCUMENT_VERSION

      public static final CntrlPurContrVersionHistoryField<String> PURCHASING_DOCUMENT_VERSION
      Use with available fluent helpers to apply the PurchasingDocumentVersion field to query operations.
    • ACTIVE_PURCHASING_DOCUMENT

      public static final CntrlPurContrVersionHistoryField<String> ACTIVE_PURCHASING_DOCUMENT
      Use with available fluent helpers to apply the ActivePurchasingDocument field to query operations.
    • PURCHASE_CONTRACT_TYPE

      public static final CntrlPurContrVersionHistoryField<String> PURCHASE_CONTRACT_TYPE
      Use with available fluent helpers to apply the PurchaseContractType field to query operations.
    • PURCHASING_DOCUMENT_CATEGORY

      public static final CntrlPurContrVersionHistoryField<String> PURCHASING_DOCUMENT_CATEGORY
      Use with available fluent helpers to apply the PurchasingDocumentCategory field to query operations.
    • SUPPLIER

      public static final CntrlPurContrVersionHistoryField<String> SUPPLIER
      Use with available fluent helpers to apply the Supplier field to query operations.
    • COMPANY_CODE

      public static final CntrlPurContrVersionHistoryField<String> COMPANY_CODE
      Use with available fluent helpers to apply the CompanyCode field to query operations.
    • PURCHASING_ORGANIZATION

      public static final CntrlPurContrVersionHistoryField<String> PURCHASING_ORGANIZATION
      Use with available fluent helpers to apply the PurchasingOrganization field to query operations.
    • PURCHASING_GROUP

      public static final CntrlPurContrVersionHistoryField<String> PURCHASING_GROUP
      Use with available fluent helpers to apply the PurchasingGroup field to query operations.
    • VALIDITY_START_DATE

      public static final CntrlPurContrVersionHistoryField<LocalDateTime> VALIDITY_START_DATE
      Use with available fluent helpers to apply the ValidityStartDate field to query operations.
    • VALIDITY_END_DATE

      public static final CntrlPurContrVersionHistoryField<LocalDateTime> VALIDITY_END_DATE
      Use with available fluent helpers to apply the ValidityEndDate field to query operations.
    • DOCUMENT_CURRENCY

      public static final CntrlPurContrVersionHistoryField<String> DOCUMENT_CURRENCY
      Use with available fluent helpers to apply the DocumentCurrency field to query operations.
    • CHANGE_REQUEST_NOTE

      public static final CntrlPurContrVersionHistoryField<String> CHANGE_REQUEST_NOTE
      Use with available fluent helpers to apply the ChangeRequestNote field to query operations.
    • CREATED_BY_USER

      public static final CntrlPurContrVersionHistoryField<String> CREATED_BY_USER
      Use with available fluent helpers to apply the CreatedByUser field to query operations.
    • CREATED_BY_USER_DESCRIPTION

      public static final CntrlPurContrVersionHistoryField<String> CREATED_BY_USER_DESCRIPTION
      Use with available fluent helpers to apply the CreatedByUserDescription field to query operations.
    • CREATION_DATE

      public static final CntrlPurContrVersionHistoryField<LocalDateTime> CREATION_DATE
      Use with available fluent helpers to apply the CreationDate field to query operations.
    • CREATION_TIME

      public static final CntrlPurContrVersionHistoryField<LocalTime> CREATION_TIME
      Use with available fluent helpers to apply the CreationTime field to query operations.
    • PURCHASING_DOC_VERSION_REASON_CODE

      public static final CntrlPurContrVersionHistoryField<String> PURCHASING_DOC_VERSION_REASON_CODE
      Use with available fluent helpers to apply the PurchasingDocVersionReasonCode field to query operations.
    • PURCHASING_DOC_VERSION_STATUS

      public static final CntrlPurContrVersionHistoryField<String> PURCHASING_DOC_VERSION_STATUS
      Use with available fluent helpers to apply the PurchasingDocVersionStatus field to query operations.
    • CURRENCY

      public static final CntrlPurContrVersionHistoryField<String> CURRENCY
      Use with available fluent helpers to apply the Currency field to query operations.
    • INCOTERMS_CLASSIFICATION

      public static final CntrlPurContrVersionHistoryField<String> INCOTERMS_CLASSIFICATION
      Use with available fluent helpers to apply the IncotermsClassification field to query operations.
    • INCOTERMS_TRANSFER_LOCATION

      public static final CntrlPurContrVersionHistoryField<String> INCOTERMS_TRANSFER_LOCATION
      Use with available fluent helpers to apply the IncotermsTransferLocation field to query operations.
    • INCOTERMS_VERSION

      public static final CntrlPurContrVersionHistoryField<String> INCOTERMS_VERSION
      Use with available fluent helpers to apply the IncotermsVersion field to query operations.
    • INCOTERMS_LOCATION1

      public static final CntrlPurContrVersionHistoryField<String> INCOTERMS_LOCATION1
      Use with available fluent helpers to apply the IncotermsLocation1 field to query operations.
    • INCOTERMS_LOCATION2

      public static final CntrlPurContrVersionHistoryField<String> INCOTERMS_LOCATION2
      Use with available fluent helpers to apply the IncotermsLocation2 field to query operations.
    • PURCHASING_DOCUMENT_NAME

      public static final CntrlPurContrVersionHistoryField<String> PURCHASING_DOCUMENT_NAME
      Use with available fluent helpers to apply the PurchasingDocumentName field to query operations.
    • PAYMENT_TERMS

      public static final CntrlPurContrVersionHistoryField<String> PAYMENT_TERMS
      Use with available fluent helpers to apply the PaymentTerms field to query operations.
    • CASH_DISCOUNT1_DAYS

      public static final CntrlPurContrVersionHistoryField<BigDecimal> CASH_DISCOUNT1_DAYS
      Use with available fluent helpers to apply the CashDiscount1Days field to query operations.
    • CASH_DISCOUNT2_DAYS

      public static final CntrlPurContrVersionHistoryField<BigDecimal> CASH_DISCOUNT2_DAYS
      Use with available fluent helpers to apply the CashDiscount2Days field to query operations.
    • NET_PAYMENT_DAYS

      public static final CntrlPurContrVersionHistoryField<BigDecimal> NET_PAYMENT_DAYS
      Use with available fluent helpers to apply the NetPaymentDays field to query operations.
    • CASH_DISCOUNT1_PERCENT

      public static final CntrlPurContrVersionHistoryField<BigDecimal> CASH_DISCOUNT1_PERCENT
      Use with available fluent helpers to apply the CashDiscount1Percent field to query operations.
    • CASH_DISCOUNT2_PERCENT

      public static final CntrlPurContrVersionHistoryField<BigDecimal> CASH_DISCOUNT2_PERCENT
      Use with available fluent helpers to apply the CashDiscount2Percent field to query operations.
    • PURCHASE_CONTRACT_TARGET_AMOUNT

      public static final CntrlPurContrVersionHistoryField<BigDecimal> PURCHASE_CONTRACT_TARGET_AMOUNT
      Use with available fluent helpers to apply the PurchaseContractTargetAmount field to query operations.
    • RELEASE_CODE

      public static final CntrlPurContrVersionHistoryField<String> RELEASE_CODE
      Use with available fluent helpers to apply the ReleaseCode field to query operations.
    • PURCHASING_DOCUMENT_DELETION_CODE

      public static final CntrlPurContrVersionHistoryField<String> PURCHASING_DOCUMENT_DELETION_CODE
      Use with available fluent helpers to apply the PurchasingDocumentDeletionCode field to query operations.
    • SUPPLYING_SUPPLIER

      public static final CntrlPurContrVersionHistoryField<String> SUPPLYING_SUPPLIER
      Use with available fluent helpers to apply the SupplyingSupplier field to query operations.
    • EXCHANGE_RATE_IS_FIXED

      public static final CntrlPurContrVersionHistoryField<Boolean> EXCHANGE_RATE_IS_FIXED
      Use with available fluent helpers to apply the ExchangeRateIsFixed field to query operations.
    • QUOTATION_SUBMISSION_DATE

      public static final CntrlPurContrVersionHistoryField<LocalDateTime> QUOTATION_SUBMISSION_DATE
      Use with available fluent helpers to apply the QuotationSubmissionDate field to query operations.
    • SUPPLIER_QUOTATION

      public static final CntrlPurContrVersionHistoryField<String> SUPPLIER_QUOTATION
      Use with available fluent helpers to apply the SupplierQuotation field to query operations.
    • CORRESPNC_EXTERNAL_REFERENCE

      public static final CntrlPurContrVersionHistoryField<String> CORRESPNC_EXTERNAL_REFERENCE
      Use with available fluent helpers to apply the CorrespncExternalReference field to query operations.
    • CORRESPNC_INTERNAL_REFERENCE

      public static final CntrlPurContrVersionHistoryField<String> CORRESPNC_INTERNAL_REFERENCE
      Use with available fluent helpers to apply the CorrespncInternalReference field to query operations.
    • SUPPLIER_RESP_SALES_PERSON_NAME

      public static final CntrlPurContrVersionHistoryField<String> SUPPLIER_RESP_SALES_PERSON_NAME
      Use with available fluent helpers to apply the SupplierRespSalesPersonName field to query operations.
    • SUPPLIER_PHONE_NUMBER

      public static final CntrlPurContrVersionHistoryField<String> SUPPLIER_PHONE_NUMBER
      Use with available fluent helpers to apply the SupplierPhoneNumber field to query operations.
    • LAST_CHANGE_DATE_TIME

      public static final CntrlPurContrVersionHistoryField<ZonedDateTime> LAST_CHANGE_DATE_TIME
      Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
    • PURG_CONTRACT_IS_IN_PREPARATION

      public static final CntrlPurContrVersionHistoryField<Boolean> PURG_CONTRACT_IS_IN_PREPARATION
      Use with available fluent helpers to apply the PurgContractIsInPreparation field to query operations.
    • PURCHASING_PROCESSING_STATUS

      public static final CntrlPurContrVersionHistoryField<String> PURCHASING_PROCESSING_STATUS
      Use with available fluent helpers to apply the PurchasingProcessingStatus field to query operations.
    • CNTRL_PUR_CONTR_OVRL_DISTR_STS_TXT

      public static final CntrlPurContrVersionHistoryField<String> CNTRL_PUR_CONTR_OVRL_DISTR_STS_TXT
      Use with available fluent helpers to apply the CntrlPurContrOvrlDistrStsTxt field to query operations.
    • CNTRL_PUR_CONTR_FLXBL_DISTR_IS_ALLWD

      public static final CntrlPurContrVersionHistoryField<Boolean> CNTRL_PUR_CONTR_FLXBL_DISTR_IS_ALLWD
      Use with available fluent helpers to apply the CntrlPurContrFlxblDistrIsAllwd field to query operations.
    • PURG_DOC_CHANGE_REQUEST_STATUS

      public static final CntrlPurContrVersionHistoryField<String> PURG_DOC_CHANGE_REQUEST_STATUS
      Use with available fluent helpers to apply the PurgDocChangeRequestStatus field to query operations.
    • TO_CENTRAL_PURCHASE_CONTRACT_ITEM

      public static final CntrlPurContrVersionHistoryLink<CntrlPurchaseContractItem> TO_CENTRAL_PURCHASE_CONTRACT_ITEM
      Use with available fluent helpers to apply the to_CentralPurchaseContractItem navigation property to query operations.
  • Constructor Details

    • CntrlPurContrVersionHistory

      public CntrlPurContrVersionHistory()
    • CntrlPurContrVersionHistory

      public CntrlPurContrVersionHistory(@Nullable String centralPurchaseContract, @Nullable String purchasingDocumentVersion, @Nullable String activePurchasingDocument, @Nullable String purchaseContractType, @Nullable String purchasingDocumentCategory, @Nullable String supplier, @Nullable String companyCode, @Nullable String purchasingOrganization, @Nullable String purchasingGroup, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable String documentCurrency, @Nullable String changeRequestNote, @Nullable String createdByUser, @Nullable String createdByUserDescription, @Nullable LocalDateTime creationDate, @Nullable LocalTime creationTime, @Nullable String purchasingDocVersionReasonCode, @Nullable String purchasingDocVersionStatus, @Nullable String currency, @Nullable String incotermsClassification, @Nullable String incotermsTransferLocation, @Nullable String incotermsVersion, @Nullable String incotermsLocation1, @Nullable String incotermsLocation2, @Nullable String purchasingDocumentName, @Nullable String paymentTerms, @Nullable BigDecimal cashDiscount1Days, @Nullable BigDecimal cashDiscount2Days, @Nullable BigDecimal netPaymentDays, @Nullable BigDecimal cashDiscount1Percent, @Nullable BigDecimal cashDiscount2Percent, @Nullable BigDecimal purchaseContractTargetAmount, @Nullable String releaseCode, @Nullable String purchasingDocumentDeletionCode, @Nullable String supplyingSupplier, @Nullable Boolean exchangeRateIsFixed, @Nullable LocalDateTime quotationSubmissionDate, @Nullable String supplierQuotation, @Nullable String correspncExternalReference, @Nullable String correspncInternalReference, @Nullable String supplierRespSalesPersonName, @Nullable String supplierPhoneNumber, @Nullable ZonedDateTime lastChangeDateTime, @Nullable Boolean purgContractIsInPreparation, @Nullable String purchasingProcessingStatus, @Nullable String cntrlPurContrOvrlDistrStsTxt, @Nullable Boolean cntrlPurContrFlxblDistrIsAllwd, @Nullable String purgDocChangeRequestStatus, List<CntrlPurchaseContractItem> toCentralPurchaseContractItem)
  • Method Details

    • getType

      @Nonnull public Class<CntrlPurContrVersionHistory> getType()
      Specified by:
      getType in class VdmObject<CntrlPurContrVersionHistory>
    • setCentralPurchaseContract

      public void setCentralPurchaseContract(@Nullable String centralPurchaseContract)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CentralPurchaseContract

      Parameters:
      centralPurchaseContract - Active Purchasing Document
    • setPurchasingDocumentVersion

      public void setPurchasingDocumentVersion(@Nullable String purchasingDocumentVersion)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: PurchasingDocumentVersion

      Parameters:
      purchasingDocumentVersion - Version number in Purchasing
    • setActivePurchasingDocument

      public void setActivePurchasingDocument(@Nullable String activePurchasingDocument)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ActivePurchasingDocument

      Parameters:
      activePurchasingDocument - Central Purchase Contract
    • setPurchaseContractType

      public void setPurchaseContractType(@Nullable String purchaseContractType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchaseContractType

      Parameters:
      purchaseContractType - Purchasing Document Type
    • setPurchasingDocumentCategory

      public void setPurchasingDocumentCategory(@Nullable String purchasingDocumentCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurchasingDocumentCategory

      Parameters:
      purchasingDocumentCategory - Purchasing Document Category
    • setSupplier

      public void setSupplier(@Nullable String supplier)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Supplier

      Parameters:
      supplier - Supplier
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setPurchasingOrganization

      public void setPurchasingOrganization(@Nullable String purchasingOrganization)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingOrganization

      Parameters:
      purchasingOrganization - Purchasing Organization
    • setPurchasingGroup

      public void setPurchasingGroup(@Nullable String purchasingGroup)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PurchasingGroup

      Parameters:
      purchasingGroup - Purchasing Group
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Start of Validity Period
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - End of Validity Period
    • setDocumentCurrency

      public void setDocumentCurrency(@Nullable String documentCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: DocumentCurrency

      Parameters:
      documentCurrency - Currency Key
    • setChangeRequestNote

      public void setChangeRequestNote(@Nullable String changeRequestNote)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: ChangeRequestNote

      Parameters:
      changeRequestNote - Short Text for Fixed Values
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Name of Person Responsible for Creating the Object
    • setCreatedByUserDescription

      public void setCreatedByUserDescription(@Nullable String createdByUserDescription)
      Constraints: Not nullable, Maximum length: 81

      Original property name from the Odata EDM: CreatedByUserDescription

      Parameters:
      createdByUserDescription - User Description for field CreatedByUser
    • setCreationDate

      public void setCreationDate(@Nullable LocalDateTime creationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Record Created On
    • setCreationTime

      public void setCreationTime(@Nullable LocalTime creationTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationTime

      Parameters:
      creationTime - Entry time
    • setPurchasingDocVersionReasonCode

      public void setPurchasingDocVersionReasonCode(@Nullable String purchasingDocVersionReasonCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingDocVersionReasonCode

      Parameters:
      purchasingDocVersionReasonCode - Reason for change
    • setPurchasingDocVersionStatus

      public void setPurchasingDocVersionStatus(@Nullable String purchasingDocVersionStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurchasingDocVersionStatus

      Parameters:
      purchasingDocVersionStatus - Version status
    • setCurrency

      public void setCurrency(@Nullable String currency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Currency

      Parameters:
      currency - Currency Key
    • setIncotermsClassification

      public void setIncotermsClassification(@Nullable String incotermsClassification)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: IncotermsClassification

      Parameters:
      incotermsClassification - Incoterms (Part 1)
    • setIncotermsTransferLocation

      public void setIncotermsTransferLocation(@Nullable String incotermsTransferLocation)
      Constraints: Not nullable, Maximum length: 28

      Original property name from the Odata EDM: IncotermsTransferLocation

      Parameters:
      incotermsTransferLocation - Incoterms (Part 2)
    • setIncotermsVersion

      public void setIncotermsVersion(@Nullable String incotermsVersion)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: IncotermsVersion

      Parameters:
      incotermsVersion - Incoterms Version
    • setIncotermsLocation1

      public void setIncotermsLocation1(@Nullable String incotermsLocation1)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: IncotermsLocation1

      Parameters:
      incotermsLocation1 - Incoterms Location 1
    • setIncotermsLocation2

      public void setIncotermsLocation2(@Nullable String incotermsLocation2)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: IncotermsLocation2

      Parameters:
      incotermsLocation2 - Incoterms Location 2
    • setPurchasingDocumentName

      public void setPurchasingDocumentName(@Nullable String purchasingDocumentName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: PurchasingDocumentName

      Parameters:
      purchasingDocumentName - Name of Purchasing Document
    • setPaymentTerms

      public void setPaymentTerms(@Nullable String paymentTerms)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PaymentTerms

      Parameters:
      paymentTerms - Terms of Payment Key
    • setCashDiscount1Days

      public void setCashDiscount1Days(@Nullable BigDecimal cashDiscount1Days)
      Constraints: Not nullable, Precision: 3, Scale: 0

      Original property name from the Odata EDM: CashDiscount1Days

      Parameters:
      cashDiscount1Days - Cash discount days 1
    • setCashDiscount2Days

      public void setCashDiscount2Days(@Nullable BigDecimal cashDiscount2Days)
      Constraints: Not nullable, Precision: 3, Scale: 0

      Original property name from the Odata EDM: CashDiscount2Days

      Parameters:
      cashDiscount2Days - Cash discount days 2
    • setNetPaymentDays

      public void setNetPaymentDays(@Nullable BigDecimal netPaymentDays)
      Constraints: Not nullable, Precision: 3, Scale: 0

      Original property name from the Odata EDM: NetPaymentDays

      Parameters:
      netPaymentDays - Net Payment Terms Period
    • setCashDiscount1Percent

      public void setCashDiscount1Percent(@Nullable BigDecimal cashDiscount1Percent)
      Constraints: Not nullable, Precision: 5, Scale: 3

      Original property name from the Odata EDM: CashDiscount1Percent

      Parameters:
      cashDiscount1Percent - Cash Discount Percentage 1
    • setCashDiscount2Percent

      public void setCashDiscount2Percent(@Nullable BigDecimal cashDiscount2Percent)
      Constraints: Not nullable, Precision: 5, Scale: 3

      Original property name from the Odata EDM: CashDiscount2Percent

      Parameters:
      cashDiscount2Percent - Cash Discount Percentage 2
    • setPurchaseContractTargetAmount

      public void setPurchaseContractTargetAmount(@Nullable BigDecimal purchaseContractTargetAmount)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: PurchaseContractTargetAmount

      Parameters:
      purchaseContractTargetAmount - Target Value for Header Area per Distribution
    • setReleaseCode

      public void setReleaseCode(@Nullable String releaseCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ReleaseCode

      Parameters:
      releaseCode - Release Indicator: Purchasing Document
    • setPurchasingDocumentDeletionCode

      public void setPurchasingDocumentDeletionCode(@Nullable String purchasingDocumentDeletionCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurchasingDocumentDeletionCode

      Parameters:
      purchasingDocumentDeletionCode - Deletion Indicator in Purchasing Document
    • setSupplyingSupplier

      public void setSupplyingSupplier(@Nullable String supplyingSupplier)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplyingSupplier

      Parameters:
      supplyingSupplier - Goods Supplier
    • setExchangeRateIsFixed

      public void setExchangeRateIsFixed(@Nullable Boolean exchangeRateIsFixed)
      Constraints: none

      Original property name from the Odata EDM: ExchangeRateIsFixed

      Parameters:
      exchangeRateIsFixed - Indicator for Fixed Exchange Rate
    • setQuotationSubmissionDate

      public void setQuotationSubmissionDate(@Nullable LocalDateTime quotationSubmissionDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: QuotationSubmissionDate

      Parameters:
      quotationSubmissionDate - Quotation Submission Date
    • setSupplierQuotation

      public void setSupplierQuotation(@Nullable String supplierQuotation)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplierQuotation

      Parameters:
      supplierQuotation - Quotation Number
    • setCorrespncExternalReference

      public void setCorrespncExternalReference(@Nullable String correspncExternalReference)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CorrespncExternalReference

      Parameters:
      correspncExternalReference - Your Reference
    • setCorrespncInternalReference

      public void setCorrespncInternalReference(@Nullable String correspncInternalReference)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CorrespncInternalReference

      Parameters:
      correspncInternalReference - Our Reference
    • setSupplierRespSalesPersonName

      public void setSupplierRespSalesPersonName(@Nullable String supplierRespSalesPersonName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: SupplierRespSalesPersonName

      Parameters:
      supplierRespSalesPersonName - Responsible Salesperson at Supplier's Office
    • setSupplierPhoneNumber

      public void setSupplierPhoneNumber(@Nullable String supplierPhoneNumber)
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: SupplierPhoneNumber

      Parameters:
      supplierPhoneNumber - Supplier's Phone Number
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Change Time Stamp
    • setPurgContractIsInPreparation

      public void setPurgContractIsInPreparation(@Nullable Boolean purgContractIsInPreparation)
      Constraints: none

      Original property name from the Odata EDM: PurgContractIsInPreparation

      Parameters:
      purgContractIsInPreparation - Boolean Variable (X = True, - = False, Space = Unknown)
    • setPurchasingProcessingStatus

      public void setPurchasingProcessingStatus(@Nullable String purchasingProcessingStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PurchasingProcessingStatus

      Parameters:
      purchasingProcessingStatus - Purchasing Document Processing State
    • setCntrlPurContrOvrlDistrStsTxt

      public void setCntrlPurContrOvrlDistrStsTxt(@Nullable String cntrlPurContrOvrlDistrStsTxt)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CntrlPurContrOvrlDistrStsTxt

      Parameters:
      cntrlPurContrOvrlDistrStsTxt - The cntrlPurContrOvrlDistrStsTxt to set.
    • setCntrlPurContrFlxblDistrIsAllwd

      public void setCntrlPurContrFlxblDistrIsAllwd(@Nullable Boolean cntrlPurContrFlxblDistrIsAllwd)
      Constraints: none

      Original property name from the Odata EDM: CntrlPurContrFlxblDistrIsAllwd

      Parameters:
      cntrlPurContrFlxblDistrIsAllwd - Boolean Variable (X = True, - = False, Space = Unknown)
    • setPurgDocChangeRequestStatus

      public void setPurgDocChangeRequestStatus(@Nullable String purgDocChangeRequestStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PurgDocChangeRequestStatus

      Parameters:
      purgDocChangeRequestStatus - Change Request Status
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<CntrlPurContrVersionHistory>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<CntrlPurContrVersionHistory>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<CntrlPurContrVersionHistory>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<CntrlPurContrVersionHistory>
    • field

      @Nonnull public static <T> CntrlPurContrVersionHistoryField<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> CntrlPurContrVersionHistoryField<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 field
      fieldName - 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

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<CntrlPurContrVersionHistory>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<CntrlPurContrVersionHistory>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<CntrlPurContrVersionHistory>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<CntrlPurContrVersionHistory>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<CntrlPurContrVersionHistory>
    • fetchCentralPurchaseContractItem

      @Nonnull public List<CntrlPurchaseContractItem> fetchCentralPurchaseContractItem()
      Fetches the CntrlPurchaseContractItem entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CentralPurchaseContractItem.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated CntrlPurchaseContractItem entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getCentralPurchaseContractItemOrFetch

      @Nonnull public List<CntrlPurchaseContractItem> getCentralPurchaseContractItemOrFetch()
      Retrieval of associated CntrlPurchaseContractItem entities (one to many). This corresponds to the OData navigation property to_CentralPurchaseContractItem.

      If the navigation property to_CentralPurchaseContractItem of a queried CntrlPurContrVersionHistory is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated CntrlPurchaseContractItem entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getCentralPurchaseContractItemIfPresent

      @Nonnull public io.vavr.control.Option<List<CntrlPurchaseContractItem>> getCentralPurchaseContractItemIfPresent()
      Retrieval of associated CntrlPurchaseContractItem entities (one to many). This corresponds to the OData navigation property to_CentralPurchaseContractItem.

      If the navigation property for an entity CntrlPurContrVersionHistory has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_CentralPurchaseContractItem is already loaded, the result will contain the CntrlPurchaseContractItem entities. If not, an Option with result state empty is returned.
    • setCentralPurchaseContractItem

      public void setCentralPurchaseContractItem(@Nonnull List<CntrlPurchaseContractItem> value)
      Overwrites the list of associated CntrlPurchaseContractItem entities for the loaded navigation property to_CentralPurchaseContractItem.

      If the navigation property to_CentralPurchaseContractItem of a queried CntrlPurContrVersionHistory is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of CntrlPurchaseContractItem entities.
    • addCentralPurchaseContractItem

      public void addCentralPurchaseContractItem(CntrlPurchaseContractItem... entity)
      Adds elements to the list of associated CntrlPurchaseContractItem entities. This corresponds to the OData navigation property to_CentralPurchaseContractItem.

      If the navigation property to_CentralPurchaseContractItem of a queried CntrlPurContrVersionHistory is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of CntrlPurchaseContractItem entities.
    • builder

    • getCentralPurchaseContract

      @Nullable public String getCentralPurchaseContract()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CentralPurchaseContract

      Returns:
      Active Purchasing Document
    • getPurchasingDocumentVersion

      @Nullable public String getPurchasingDocumentVersion()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: PurchasingDocumentVersion

      Returns:
      Version number in Purchasing
    • getActivePurchasingDocument

      @Nullable public String getActivePurchasingDocument()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ActivePurchasingDocument

      Returns:
      Central Purchase Contract
    • getPurchaseContractType

      @Nullable public String getPurchaseContractType()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchaseContractType

      Returns:
      Purchasing Document Type
    • getPurchasingDocumentCategory

      @Nullable public String getPurchasingDocumentCategory()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurchasingDocumentCategory

      Returns:
      Purchasing Document Category
    • getSupplier

      @Nullable public String getSupplier()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Supplier

      Returns:
      Supplier
    • getCompanyCode

      @Nullable public String getCompanyCode()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getPurchasingOrganization

      @Nullable public String getPurchasingOrganization()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingOrganization

      Returns:
      Purchasing Organization
    • getPurchasingGroup

      @Nullable public String getPurchasingGroup()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PurchasingGroup

      Returns:
      Purchasing Group
    • getValidityStartDate

      @Nullable public LocalDateTime getValidityStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Start of Validity Period
    • getValidityEndDate

      @Nullable public LocalDateTime getValidityEndDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      End of Validity Period
    • getDocumentCurrency

      @Nullable public String getDocumentCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: DocumentCurrency

      Returns:
      Currency Key
    • getChangeRequestNote

      @Nullable public String getChangeRequestNote()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: ChangeRequestNote

      Returns:
      Short Text for Fixed Values
    • getCreatedByUser

      @Nullable public String getCreatedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Name of Person Responsible for Creating the Object
    • getCreatedByUserDescription

      @Nullable public String getCreatedByUserDescription()
      Constraints: Not nullable, Maximum length: 81

      Original property name from the Odata EDM: CreatedByUserDescription

      Returns:
      User Description for field CreatedByUser
    • getCreationDate

      @Nullable public LocalDateTime getCreationDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Returns:
      Record Created On
    • getCreationTime

      @Nullable public LocalTime getCreationTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationTime

      Returns:
      Entry time
    • getPurchasingDocVersionReasonCode

      @Nullable public String getPurchasingDocVersionReasonCode()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingDocVersionReasonCode

      Returns:
      Reason for change
    • getPurchasingDocVersionStatus

      @Nullable public String getPurchasingDocVersionStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurchasingDocVersionStatus

      Returns:
      Version status
    • getCurrency

      @Nullable public String getCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Currency

      Returns:
      Currency Key
    • getIncotermsClassification

      @Nullable public String getIncotermsClassification()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: IncotermsClassification

      Returns:
      Incoterms (Part 1)
    • getIncotermsTransferLocation

      @Nullable public String getIncotermsTransferLocation()
      Constraints: Not nullable, Maximum length: 28

      Original property name from the Odata EDM: IncotermsTransferLocation

      Returns:
      Incoterms (Part 2)
    • getIncotermsVersion

      @Nullable public String getIncotermsVersion()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: IncotermsVersion

      Returns:
      Incoterms Version
    • getIncotermsLocation1

      @Nullable public String getIncotermsLocation1()
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: IncotermsLocation1

      Returns:
      Incoterms Location 1
    • getIncotermsLocation2

      @Nullable public String getIncotermsLocation2()
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: IncotermsLocation2

      Returns:
      Incoterms Location 2
    • getPurchasingDocumentName

      @Nullable public String getPurchasingDocumentName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: PurchasingDocumentName

      Returns:
      Name of Purchasing Document
    • getPaymentTerms

      @Nullable public String getPaymentTerms()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PaymentTerms

      Returns:
      Terms of Payment Key
    • getCashDiscount1Days

      @Nullable public BigDecimal getCashDiscount1Days()
      Constraints: Not nullable, Precision: 3, Scale: 0

      Original property name from the Odata EDM: CashDiscount1Days

      Returns:
      Cash discount days 1
    • getCashDiscount2Days

      @Nullable public BigDecimal getCashDiscount2Days()
      Constraints: Not nullable, Precision: 3, Scale: 0

      Original property name from the Odata EDM: CashDiscount2Days

      Returns:
      Cash discount days 2
    • getNetPaymentDays

      @Nullable public BigDecimal getNetPaymentDays()
      Constraints: Not nullable, Precision: 3, Scale: 0

      Original property name from the Odata EDM: NetPaymentDays

      Returns:
      Net Payment Terms Period
    • getCashDiscount1Percent

      @Nullable public BigDecimal getCashDiscount1Percent()
      Constraints: Not nullable, Precision: 5, Scale: 3

      Original property name from the Odata EDM: CashDiscount1Percent

      Returns:
      Cash Discount Percentage 1
    • getCashDiscount2Percent

      @Nullable public BigDecimal getCashDiscount2Percent()
      Constraints: Not nullable, Precision: 5, Scale: 3

      Original property name from the Odata EDM: CashDiscount2Percent

      Returns:
      Cash Discount Percentage 2
    • getPurchaseContractTargetAmount

      @Nullable public BigDecimal getPurchaseContractTargetAmount()
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: PurchaseContractTargetAmount

      Returns:
      Target Value for Header Area per Distribution
    • getReleaseCode

      @Nullable public String getReleaseCode()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ReleaseCode

      Returns:
      Release Indicator: Purchasing Document
    • getPurchasingDocumentDeletionCode

      @Nullable public String getPurchasingDocumentDeletionCode()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurchasingDocumentDeletionCode

      Returns:
      Deletion Indicator in Purchasing Document
    • getSupplyingSupplier

      @Nullable public String getSupplyingSupplier()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplyingSupplier

      Returns:
      Goods Supplier
    • getExchangeRateIsFixed

      @Nullable public Boolean getExchangeRateIsFixed()
      Constraints: none

      Original property name from the Odata EDM: ExchangeRateIsFixed

      Returns:
      Indicator for Fixed Exchange Rate
    • getQuotationSubmissionDate

      @Nullable public LocalDateTime getQuotationSubmissionDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: QuotationSubmissionDate

      Returns:
      Quotation Submission Date
    • getSupplierQuotation

      @Nullable public String getSupplierQuotation()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplierQuotation

      Returns:
      Quotation Number
    • getCorrespncExternalReference

      @Nullable public String getCorrespncExternalReference()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CorrespncExternalReference

      Returns:
      Your Reference
    • getCorrespncInternalReference

      @Nullable public String getCorrespncInternalReference()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CorrespncInternalReference

      Returns:
      Our Reference
    • getSupplierRespSalesPersonName

      @Nullable public String getSupplierRespSalesPersonName()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: SupplierRespSalesPersonName

      Returns:
      Responsible Salesperson at Supplier's Office
    • getSupplierPhoneNumber

      @Nullable public String getSupplierPhoneNumber()
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: SupplierPhoneNumber

      Returns:
      Supplier's Phone Number
    • getLastChangeDateTime

      @Nullable public ZonedDateTime getLastChangeDateTime()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Change Time Stamp
    • getPurgContractIsInPreparation

      @Nullable public Boolean getPurgContractIsInPreparation()
      Constraints: none

      Original property name from the Odata EDM: PurgContractIsInPreparation

      Returns:
      Boolean Variable (X = True, - = False, Space = Unknown)
    • getPurchasingProcessingStatus

      @Nullable public String getPurchasingProcessingStatus()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PurchasingProcessingStatus

      Returns:
      Purchasing Document Processing State
    • getCntrlPurContrOvrlDistrStsTxt

      @Nullable public String getCntrlPurContrOvrlDistrStsTxt()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CntrlPurContrOvrlDistrStsTxt

      Returns:
      The cntrlPurContrOvrlDistrStsTxt contained in this entity.
    • getCntrlPurContrFlxblDistrIsAllwd

      @Nullable public Boolean getCntrlPurContrFlxblDistrIsAllwd()
      Constraints: none

      Original property name from the Odata EDM: CntrlPurContrFlxblDistrIsAllwd

      Returns:
      Boolean Variable (X = True, - = False, Space = Unknown)
    • getPurgDocChangeRequestStatus

      @Nullable public String getPurgDocChangeRequestStatus()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PurgDocChangeRequestStatus

      Returns:
      Change Request Status
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<CntrlPurContrVersionHistory>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<CntrlPurContrVersionHistory>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<CntrlPurContrVersionHistory>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<CntrlPurContrVersionHistory>