java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<CntrlSuplrQuotationItemDistr>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.centralsupplierquotation.CntrlSuplrQuotationItemDistr
All Implemented Interfaces:
VdmEntitySet

public class CntrlSuplrQuotationItemDistr extends VdmEntity<CntrlSuplrQuotationItemDistr> implements VdmEntitySet
Distribution

Original entity name from the Odata EDM: CntrlSuplrQuotationItemDistrType

  • Field Details

  • Constructor Details

    • CntrlSuplrQuotationItemDistr

      public CntrlSuplrQuotationItemDistr()
    • CntrlSuplrQuotationItemDistr

      public CntrlSuplrQuotationItemDistr(@Nullable String centralSupplierQuotation, @Nullable String centralSupplierQuotationItem, @Nullable String distributionKey, @Nullable String purchasingDocumentCategory, @Nullable String purchasingDocumentType, @Nullable String purchasingOrganization, @Nullable String companyCode, @Nullable String plant, @Nullable String documentCurrency, @Nullable String currency, @Nullable String purchasingGroup, @Nullable String storageLocation, @Nullable BigDecimal cntrlPurgDistributionInPercent, @Nullable BigDecimal targetQuantity, @Nullable BigDecimal targetAmount, @Nullable String purgDocItemDistributionStatus, @Nullable String purgDocItmDistrLineDeltnCode, @Nullable String orderQuantityUnit, @Nullable String orderQuantityUnitISOCode, @Nullable String distributionType, @Nullable String procurementHubSourceSystem, @Nullable String procmtHubPurchaseRequisition, @Nullable String procmtHubPurRequisitionItem, @Nullable String purReqnReleaseStatus, @Nullable OffsetDateTime lastChangeDateTime, @Nullable CentralSupplierQuotation to_CntrlQtan, @Nullable CntrlSupplierQuotationItem to_CntrlSupplierQuotationItem)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: CentralSupplierQuotation

      Parameters:
      centralSupplierQuotation - Purchasing Document Number
    • setCentralSupplierQuotationItem

      public void setCentralSupplierQuotationItem(@Nullable String centralSupplierQuotationItem)
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CentralSupplierQuotationItem

      Parameters:
      centralSupplierQuotationItem - Item Number of Purchasing Document
    • setDistributionKey

      public void setDistributionKey(@Nullable String distributionKey)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: DistributionKey

      Parameters:
      distributionKey - Distribution Number of Central Purchasing Document
    • 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
    • setPurchasingDocumentType

      public void setPurchasingDocumentType(@Nullable String purchasingDocumentType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingDocumentType

      Parameters:
      purchasingDocumentType - Purchasing Document Type
    • 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
    • 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
    • setPlant

      public void setPlant(@Nullable String plant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setDocumentCurrency

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

      Original property name from the Odata EDM: DocumentCurrency

      Parameters:
      documentCurrency - Currency Key
    • setCurrency

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

      Original property name from the Odata EDM: Currency

      Parameters:
      currency - Currency Key
    • 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
    • setStorageLocation

      public void setStorageLocation(@Nullable String storageLocation)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: StorageLocation

      Parameters:
      storageLocation - Storage Location
    • setCntrlPurgDistributionInPercent

      public void setCntrlPurgDistributionInPercent(@Nullable BigDecimal cntrlPurgDistributionInPercent)
      Constraints: Not nullable, Precision: 6, Scale: 3

      Original property name from the Odata EDM: CntrlPurgDistributionInPercent

      Parameters:
      cntrlPurgDistributionInPercent - Distribution Percentage in Central Purchasing Document
    • setTargetQuantity

      public void setTargetQuantity(@Nullable BigDecimal targetQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: TargetQuantity

      Parameters:
      targetQuantity - Target Quantity
    • setTargetAmount

      public void setTargetAmount(@Nullable BigDecimal targetAmount)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: TargetAmount

      Parameters:
      targetAmount - Target Value for Header Area per Distribution
    • setPurgDocItemDistributionStatus

      public void setPurgDocItemDistributionStatus(@Nullable String purgDocItemDistributionStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PurgDocItemDistributionStatus

      Parameters:
      purgDocItemDistributionStatus - Distribution Status
    • setPurgDocItmDistrLineDeltnCode

      public void setPurgDocItmDistrLineDeltnCode(@Nullable String purgDocItmDistrLineDeltnCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PurgDocItmDistrLineDeltnCode

      Parameters:
      purgDocItmDistrLineDeltnCode - Deletion Indicator for Item Distribution
    • setOrderQuantityUnit

      public void setOrderQuantityUnit(@Nullable String orderQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: OrderQuantityUnit

      Parameters:
      orderQuantityUnit - Purchase Order Unit of Measure
    • setOrderQuantityUnitISOCode

      public void setOrderQuantityUnitISOCode(@Nullable String orderQuantityUnitISOCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: OrderQuantityUnitISOCode

      Parameters:
      orderQuantityUnitISOCode - ISO Code for Unit of Measurement
    • setDistributionType

      public void setDistributionType(@Nullable String distributionType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DistributionType

      Parameters:
      distributionType - Distribution Type for Central Purchase Contract Item
    • setProcurementHubSourceSystem

      public void setProcurementHubSourceSystem(@Nullable String procurementHubSourceSystem)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProcurementHubSourceSystem

      Parameters:
      procurementHubSourceSystem - Logical System
    • setProcmtHubPurchaseRequisition

      public void setProcmtHubPurchaseRequisition(@Nullable String procmtHubPurchaseRequisition)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProcmtHubPurchaseRequisition

      Parameters:
      procmtHubPurchaseRequisition - Purchase Requisition Number
    • setProcmtHubPurRequisitionItem

      public void setProcmtHubPurRequisitionItem(@Nullable String procmtHubPurRequisitionItem)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ProcmtHubPurRequisitionItem

      Parameters:
      procmtHubPurRequisitionItem - Item number of purchase requisition
    • setPurReqnReleaseStatus

      public void setPurReqnReleaseStatus(@Nullable String purReqnReleaseStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PurReqnReleaseStatus

      Parameters:
      purReqnReleaseStatus - Requisition Processing State
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Change Time Stamp
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<CntrlSuplrQuotationItemDistr>
    • toMapOfFields

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

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

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

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

      @Nonnull public io.vavr.control.Option<CentralSupplierQuotation> getCntrlQtanIfPresent()
      Retrieval of associated CentralSupplierQuotation entity (one to one). This corresponds to the OData navigation property _CntrlQtan.

      If the navigation property for an entity CntrlSuplrQuotationItemDistr 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 _CntrlQtan is already loaded, the result will contain the CentralSupplierQuotation entity. If not, an Option with result state empty is returned.
    • setCntrlQtan

      public void setCntrlQtan(CentralSupplierQuotation value)
      Overwrites the associated CentralSupplierQuotation entity for the loaded navigation property _CntrlQtan.
      Parameters:
      value - New CentralSupplierQuotation entity.
    • getCntrlSupplierQuotationItemIfPresent

      @Nonnull public io.vavr.control.Option<CntrlSupplierQuotationItem> getCntrlSupplierQuotationItemIfPresent()
      Retrieval of associated CntrlSupplierQuotationItem entity (one to one). This corresponds to the OData navigation property _CntrlSupplierQuotationItem.

      If the navigation property for an entity CntrlSuplrQuotationItemDistr 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 _CntrlSupplierQuotationItem is already loaded, the result will contain the CntrlSupplierQuotationItem entity. If not, an Option with result state empty is returned.
    • setCntrlSupplierQuotationItem

      public void setCntrlSupplierQuotationItem(CntrlSupplierQuotationItem value)
      Overwrites the associated CntrlSupplierQuotationItem entity for the loaded navigation property _CntrlSupplierQuotationItem.
      Parameters:
      value - New CntrlSupplierQuotationItem entity.
    • builder

    • getCentralSupplierQuotation

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

      Original property name from the Odata EDM: CentralSupplierQuotation

      Returns:
      Purchasing Document Number
    • getCentralSupplierQuotationItem

      @Nullable public String getCentralSupplierQuotationItem()
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CentralSupplierQuotationItem

      Returns:
      Item Number of Purchasing Document
    • getDistributionKey

      @Nullable public String getDistributionKey()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: DistributionKey

      Returns:
      Distribution Number of Central Purchasing Document
    • getPurchasingDocumentCategory

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

      Original property name from the Odata EDM: PurchasingDocumentCategory

      Returns:
      Purchasing Document Category
    • getPurchasingDocumentType

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

      Original property name from the Odata EDM: PurchasingDocumentType

      Returns:
      Purchasing Document Type
    • getPurchasingOrganization

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

      Original property name from the Odata EDM: PurchasingOrganization

      Returns:
      Purchasing Organization
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getDocumentCurrency

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

      Original property name from the Odata EDM: DocumentCurrency

      Returns:
      Currency Key
    • getCurrency

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

      Original property name from the Odata EDM: Currency

      Returns:
      Currency Key
    • getPurchasingGroup

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

      Original property name from the Odata EDM: PurchasingGroup

      Returns:
      Purchasing Group
    • getStorageLocation

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

      Original property name from the Odata EDM: StorageLocation

      Returns:
      Storage Location
    • getCntrlPurgDistributionInPercent

      @Nullable public BigDecimal getCntrlPurgDistributionInPercent()
      Constraints: Not nullable, Precision: 6, Scale: 3

      Original property name from the Odata EDM: CntrlPurgDistributionInPercent

      Returns:
      Distribution Percentage in Central Purchasing Document
    • getTargetQuantity

      @Nullable public BigDecimal getTargetQuantity()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: TargetQuantity

      Returns:
      Target Quantity
    • getTargetAmount

      @Nullable public BigDecimal getTargetAmount()
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: TargetAmount

      Returns:
      Target Value for Header Area per Distribution
    • getPurgDocItemDistributionStatus

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

      Original property name from the Odata EDM: PurgDocItemDistributionStatus

      Returns:
      Distribution Status
    • getPurgDocItmDistrLineDeltnCode

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

      Original property name from the Odata EDM: PurgDocItmDistrLineDeltnCode

      Returns:
      Deletion Indicator for Item Distribution
    • getOrderQuantityUnit

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

      Original property name from the Odata EDM: OrderQuantityUnit

      Returns:
      Purchase Order Unit of Measure
    • getOrderQuantityUnitISOCode

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

      Original property name from the Odata EDM: OrderQuantityUnitISOCode

      Returns:
      ISO Code for Unit of Measurement
    • getDistributionType

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

      Original property name from the Odata EDM: DistributionType

      Returns:
      Distribution Type for Central Purchase Contract Item
    • getProcurementHubSourceSystem

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

      Original property name from the Odata EDM: ProcurementHubSourceSystem

      Returns:
      Logical System
    • getProcmtHubPurchaseRequisition

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

      Original property name from the Odata EDM: ProcmtHubPurchaseRequisition

      Returns:
      Purchase Requisition Number
    • getProcmtHubPurRequisitionItem

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

      Original property name from the Odata EDM: ProcmtHubPurRequisitionItem

      Returns:
      Item number of purchase requisition
    • getPurReqnReleaseStatus

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

      Original property name from the Odata EDM: PurReqnReleaseStatus

      Returns:
      Requisition Processing State
    • getLastChangeDateTime

      @Nullable public OffsetDateTime getLastChangeDateTime()
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Change Time Stamp
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<CntrlSuplrQuotationItemDistr>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<CntrlSuplrQuotationItemDistr>