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

public class ProductPlantCosting extends VdmEntity<ProductPlantCosting>
Costing Data at Plant Level

Original entity name from the Odata EDM: A_ProductPlantCostingType

  • Field Details

    • ALL_FIELDS

      public static final ProductPlantCostingSelectable ALL_FIELDS
      Selector for all available fields of ProductPlantCosting.
    • PRODUCT

      public static final ProductPlantCostingField<String> PRODUCT
      Use with available fluent helpers to apply the Product field to query operations.
    • PLANT

      public static final ProductPlantCostingField<String> PLANT
      Use with available fluent helpers to apply the Plant field to query operations.
    • IS_CO_PRODUCT

      public static final ProductPlantCostingField<Boolean> IS_CO_PRODUCT
      Use with available fluent helpers to apply the IsCoProduct field to query operations.
    • COSTING_LOT_SIZE

      public static final ProductPlantCostingField<BigDecimal> COSTING_LOT_SIZE
      Use with available fluent helpers to apply the CostingLotSize field to query operations.
    • VARIANCE_KEY

      public static final ProductPlantCostingField<String> VARIANCE_KEY
      Use with available fluent helpers to apply the VarianceKey field to query operations.
    • BASE_UNIT

      public static final ProductPlantCostingField<String> BASE_UNIT
      Use with available fluent helpers to apply the BaseUnit field to query operations.
    • TASK_LIST_GROUP_COUNTER

      public static final ProductPlantCostingField<String> TASK_LIST_GROUP_COUNTER
      Use with available fluent helpers to apply the TaskListGroupCounter field to query operations.
    • TASK_LIST_GROUP

      public static final ProductPlantCostingField<String> TASK_LIST_GROUP
      Use with available fluent helpers to apply the TaskListGroup field to query operations.
    • TASK_LIST_TYPE

      public static final ProductPlantCostingField<String> TASK_LIST_TYPE
      Use with available fluent helpers to apply the TaskListType field to query operations.
    • COSTING_PRODUCTION_VERSION

      public static final ProductPlantCostingField<String> COSTING_PRODUCTION_VERSION
      Use with available fluent helpers to apply the CostingProductionVersion field to query operations.
    • IS_FIXED_PRICE_CO_PRODUCT

      public static final ProductPlantCostingField<Boolean> IS_FIXED_PRICE_CO_PRODUCT
      Use with available fluent helpers to apply the IsFixedPriceCoProduct field to query operations.
    • COSTING_SPECIAL_PROCUREMENT_TYPE

      public static final ProductPlantCostingField<String> COSTING_SPECIAL_PROCUREMENT_TYPE
      Use with available fluent helpers to apply the CostingSpecialProcurementType field to query operations.
    • SOURCE_BOM_ALTERNATIVE

      public static final ProductPlantCostingField<String> SOURCE_BOM_ALTERNATIVE
      Use with available fluent helpers to apply the SourceBOMAlternative field to query operations.
    • PRODUCT_BOM_USAGE

      public static final ProductPlantCostingField<String> PRODUCT_BOM_USAGE
      Use with available fluent helpers to apply the ProductBOMUsage field to query operations.
    • PRODUCT_IS_COSTING_RELEVANT

      public static final ProductPlantCostingField<Boolean> PRODUCT_IS_COSTING_RELEVANT
      Use with available fluent helpers to apply the ProductIsCostingRelevant field to query operations.
  • Constructor Details

    • ProductPlantCosting

      public ProductPlantCosting()
    • ProductPlantCosting

      public ProductPlantCosting(@Nullable String product, @Nullable String plant, @Nullable Boolean isCoProduct, @Nullable BigDecimal costingLotSize, @Nullable String varianceKey, @Nullable String baseUnit, @Nullable String taskListGroupCounter, @Nullable String taskListGroup, @Nullable String taskListType, @Nullable String costingProductionVersion, @Nullable Boolean isFixedPriceCoProduct, @Nullable String costingSpecialProcurementType, @Nullable String sourceBOMAlternative, @Nullable String productBOMUsage, @Nullable Boolean productIsCostingRelevant)
  • Method Details

    • getType

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

      public void setProduct(@Nullable String product)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Parameters:
      product - Product Number
    • setPlant

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

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setIsCoProduct

      public void setIsCoProduct(@Nullable Boolean isCoProduct)
      Constraints: none

      Original property name from the Odata EDM: IsCoProduct

      Parameters:
      isCoProduct - Co-Product
    • setCostingLotSize

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

      Original property name from the Odata EDM: CostingLotSize

      Parameters:
      costingLotSize - Lot Size for Product Costing
    • setVarianceKey

      public void setVarianceKey(@Nullable String varianceKey)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: VarianceKey

      Parameters:
      varianceKey - Variance Key
    • setBaseUnit

      public void setBaseUnit(@Nullable String baseUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BaseUnit

      Parameters:
      baseUnit - Base Unit of Measure
    • setTaskListGroupCounter

      public void setTaskListGroupCounter(@Nullable String taskListGroupCounter)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TaskListGroupCounter

      Parameters:
      taskListGroupCounter - Group Counter
    • setTaskListGroup

      public void setTaskListGroup(@Nullable String taskListGroup)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: TaskListGroup

      Parameters:
      taskListGroup - Key for Task List Group
    • setTaskListType

      public void setTaskListType(@Nullable String taskListType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TaskListType

      Parameters:
      taskListType - Task List Type
    • setCostingProductionVersion

      public void setCostingProductionVersion(@Nullable String costingProductionVersion)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CostingProductionVersion

      Parameters:
      costingProductionVersion - Production Version To Be Costed
    • setIsFixedPriceCoProduct

      public void setIsFixedPriceCoProduct(@Nullable Boolean isFixedPriceCoProduct)
      Constraints: none

      Original property name from the Odata EDM: IsFixedPriceCoProduct

      Parameters:
      isFixedPriceCoProduct - Fixed-Price Co-Product
    • setCostingSpecialProcurementType

      public void setCostingSpecialProcurementType(@Nullable String costingSpecialProcurementType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CostingSpecialProcurementType

      Parameters:
      costingSpecialProcurementType - Special Procurement Type for Costing
    • setSourceBOMAlternative

      public void setSourceBOMAlternative(@Nullable String sourceBOMAlternative)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourceBOMAlternative

      Parameters:
      sourceBOMAlternative - Alternative BOM
    • setProductBOMUsage

      public void setProductBOMUsage(@Nullable String productBOMUsage)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProductBOMUsage

      Parameters:
      productBOMUsage - BOM Usage
    • setProductIsCostingRelevant

      public void setProductIsCostingRelevant(@Nullable Boolean productIsCostingRelevant)
      Constraints: none

      Original property name from the Odata EDM: ProductIsCostingRelevant

      Parameters:
      productIsCostingRelevant - Do Not Cost
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProductPlantCostingField<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> ProductPlantCostingField<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<ProductPlantCosting>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ProductPlantCosting>
    • builder

      @Nonnull public static ProductPlantCosting.ProductPlantCostingBuilder builder()
    • getProduct

      @Nullable public String getProduct()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Returns:
      Product Number
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getIsCoProduct

      @Nullable public Boolean getIsCoProduct()
      Constraints: none

      Original property name from the Odata EDM: IsCoProduct

      Returns:
      Co-Product
    • getCostingLotSize

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

      Original property name from the Odata EDM: CostingLotSize

      Returns:
      Lot Size for Product Costing
    • getVarianceKey

      @Nullable public String getVarianceKey()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: VarianceKey

      Returns:
      Variance Key
    • getBaseUnit

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

      Original property name from the Odata EDM: BaseUnit

      Returns:
      Base Unit of Measure
    • getTaskListGroupCounter

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

      Original property name from the Odata EDM: TaskListGroupCounter

      Returns:
      Group Counter
    • getTaskListGroup

      @Nullable public String getTaskListGroup()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: TaskListGroup

      Returns:
      Key for Task List Group
    • getTaskListType

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

      Original property name from the Odata EDM: TaskListType

      Returns:
      Task List Type
    • getCostingProductionVersion

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

      Original property name from the Odata EDM: CostingProductionVersion

      Returns:
      Production Version To Be Costed
    • getIsFixedPriceCoProduct

      @Nullable public Boolean getIsFixedPriceCoProduct()
      Constraints: none

      Original property name from the Odata EDM: IsFixedPriceCoProduct

      Returns:
      Fixed-Price Co-Product
    • getCostingSpecialProcurementType

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

      Original property name from the Odata EDM: CostingSpecialProcurementType

      Returns:
      Special Procurement Type for Costing
    • getSourceBOMAlternative

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

      Original property name from the Odata EDM: SourceBOMAlternative

      Returns:
      Alternative BOM
    • getProductBOMUsage

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

      Original property name from the Odata EDM: ProductBOMUsage

      Returns:
      BOM Usage
    • getProductIsCostingRelevant

      @Nullable public Boolean getProductIsCostingRelevant()
      Constraints: none

      Original property name from the Odata EDM: ProductIsCostingRelevant

      Returns:
      Do Not Cost
    • toString

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

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

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

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