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

public class ProductionOrderComponent extends VdmEntity<ProductionOrderComponent>
API Production Order Components

Original entity name from the Odata EDM: A_ProductionOrderComponentType

  • Field Details

    • ALL_FIELDS

      public static final ProductionOrderComponentSelectable ALL_FIELDS
      Selector for all available fields of ProductionOrderComponent.
    • RESERVATION

      public static final ProductionOrderComponentField<String> RESERVATION
      Use with available fluent helpers to apply the Reservation field to query operations.
    • RESERVATION_ITEM

      public static final ProductionOrderComponentField<String> RESERVATION_ITEM
      Use with available fluent helpers to apply the ReservationItem field to query operations.
    • BILL_OF_MATERIAL_ITEM_NUMBER

      public static final ProductionOrderComponentField<String> BILL_OF_MATERIAL_ITEM_NUMBER
      Use with available fluent helpers to apply the BillOfMaterialItemNumber field to query operations.
    • BOM_ITEM_DESCRIPTION

      public static final ProductionOrderComponentField<String> BOM_ITEM_DESCRIPTION
      Use with available fluent helpers to apply the BOMItemDescription field to query operations.
    • MATERIAL

      public static final ProductionOrderComponentField<String> MATERIAL
      Use with available fluent helpers to apply the Material field to query operations.
    • PLANT

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

      public static final ProductionOrderComponentField<String> PRODUCTION_PLANT
      Use with available fluent helpers to apply the ProductionPlant field to query operations.
    • MATL_COMP_REQUIREMENT_DATE

      public static final ProductionOrderComponentField<LocalDateTime> MATL_COMP_REQUIREMENT_DATE
      Use with available fluent helpers to apply the MatlCompRequirementDate field to query operations.
    • BASE_UNIT

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

      public static final ProductionOrderComponentField<BigDecimal> REQUIRED_QUANTITY
      Use with available fluent helpers to apply the RequiredQuantity field to query operations.
    • WITHDRAWN_QUANTITY

      public static final ProductionOrderComponentField<BigDecimal> WITHDRAWN_QUANTITY
      Use with available fluent helpers to apply the WithdrawnQuantity field to query operations.
    • BOM_ITEM

      public static final ProductionOrderComponentField<String> BOM_ITEM
      Use with available fluent helpers to apply the BOMItem field to query operations.
    • STORAGE_LOCATION

      public static final ProductionOrderComponentField<String> STORAGE_LOCATION
      Use with available fluent helpers to apply the StorageLocation field to query operations.
    • SUPPLY_AREA

      public static final ProductionOrderComponentField<String> SUPPLY_AREA
      Use with available fluent helpers to apply the SupplyArea field to query operations.
    • MANUFACTURING_ORDER_SEQUENCE

      public static final ProductionOrderComponentField<String> MANUFACTURING_ORDER_SEQUENCE
      Use with available fluent helpers to apply the ManufacturingOrderSequence field to query operations.
    • MANUFACTURING_ORDER

      public static final ProductionOrderComponentField<String> MANUFACTURING_ORDER
      Use with available fluent helpers to apply the ManufacturingOrder field to query operations.
    • MANUFACTURING_ORDER_OPERATION

      public static final ProductionOrderComponentField<String> MANUFACTURING_ORDER_OPERATION
      Use with available fluent helpers to apply the ManufacturingOrderOperation field to query operations.
    • MANUFACTURING_ORDER_CATEGORY

      public static final ProductionOrderComponentField<String> MANUFACTURING_ORDER_CATEGORY
      Use with available fluent helpers to apply the ManufacturingOrderCategory field to query operations.
    • MANUFACTURING_ORDER_TYPE

      public static final ProductionOrderComponentField<String> MANUFACTURING_ORDER_TYPE
      Use with available fluent helpers to apply the ManufacturingOrderType field to query operations.
    • ORDER_INTERNAL_BILL_OF_OPERATIONS

      public static final ProductionOrderComponentField<String> ORDER_INTERNAL_BILL_OF_OPERATIONS
      Use with available fluent helpers to apply the OrderInternalBillOfOperations field to query operations.
    • BOM_ITEM_TEXT2

      public static final ProductionOrderComponentField<String> BOM_ITEM_TEXT2
      Use with available fluent helpers to apply the BOMItemText2 field to query operations.
    • BOM_ITEM_CATEGORY

      public static final ProductionOrderComponentField<String> BOM_ITEM_CATEGORY
      Use with available fluent helpers to apply the BOMItemCategory field to query operations.
    • BILL_OF_MATERIAL_CATEGORY

      public static final ProductionOrderComponentField<String> BILL_OF_MATERIAL_CATEGORY
      Use with available fluent helpers to apply the BillOfMaterialCategory field to query operations.
    • SORT_FIELD

      public static final ProductionOrderComponentField<String> SORT_FIELD
      Use with available fluent helpers to apply the SortField field to query operations.
    • GOODS_RECIPIENT_NAME

      public static final ProductionOrderComponentField<String> GOODS_RECIPIENT_NAME
      Use with available fluent helpers to apply the GoodsRecipientName field to query operations.
    • UNLOADING_POINT_NAME

      public static final ProductionOrderComponentField<String> UNLOADING_POINT_NAME
      Use with available fluent helpers to apply the UnloadingPointName field to query operations.
    • BATCH

      public static final ProductionOrderComponentField<String> BATCH
      Use with available fluent helpers to apply the Batch field to query operations.
    • BATCH_SPLIT_TYPE

      public static final ProductionOrderComponentField<String> BATCH_SPLIT_TYPE
      Use with available fluent helpers to apply the BatchSplitType field to query operations.
  • Constructor Details

    • ProductionOrderComponent

      public ProductionOrderComponent()
    • ProductionOrderComponent

      public ProductionOrderComponent(@Nullable String reservation, @Nullable String reservationItem, @Nullable String billOfMaterialItemNumber, @Nullable String bOMItemDescription, @Nullable String material, @Nullable String plant, @Nullable String productionPlant, @Nullable LocalDateTime matlCompRequirementDate, @Nullable String baseUnit, @Nullable BigDecimal requiredQuantity, @Nullable BigDecimal withdrawnQuantity, @Nullable String bOMItem, @Nullable String storageLocation, @Nullable String supplyArea, @Nullable String manufacturingOrderSequence, @Nullable String manufacturingOrder, @Nullable String manufacturingOrderOperation, @Nullable String manufacturingOrderCategory, @Nullable String manufacturingOrderType, @Nullable String orderInternalBillOfOperations, @Nullable String bOMItemText2, @Nullable String bOMItemCategory, @Nullable String billOfMaterialCategory, @Nullable String sortField, @Nullable String goodsRecipientName, @Nullable String unloadingPointName, @Nullable String batch, @Nullable String batchSplitType)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: Reservation

      Parameters:
      reservation - Number of reservation/dependent requirements
    • setReservationItem

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

      Original property name from the Odata EDM: ReservationItem

      Parameters:
      reservationItem - Reservation Item
    • setBillOfMaterialItemNumber

      public void setBillOfMaterialItemNumber(@Nullable String billOfMaterialItemNumber)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BillOfMaterialItemNumber

      Parameters:
      billOfMaterialItemNumber - BOM item number
    • setBOMItemDescription

      public void setBOMItemDescription(@Nullable String bOMItemDescription)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BOMItemDescription

      Parameters:
      bOMItemDescription - BOM Item Text (Line 1)
    • setMaterial

      public void setMaterial(@Nullable String material)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Material

      Parameters:
      material - Material Number
    • setPlant

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

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setProductionPlant

      public void setProductionPlant(@Nullable String productionPlant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProductionPlant

      Parameters:
      productionPlant - Production Plant
    • setMatlCompRequirementDate

      public void setMatlCompRequirementDate(@Nullable LocalDateTime matlCompRequirementDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: MatlCompRequirementDate

      Parameters:
      matlCompRequirementDate - Material Component Requirement Date
    • 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
    • setRequiredQuantity

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

      Original property name from the Odata EDM: RequiredQuantity

      Parameters:
      requiredQuantity - Requirement Quantity
    • setWithdrawnQuantity

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

      Original property name from the Odata EDM: WithdrawnQuantity

      Parameters:
      withdrawnQuantity - Withdrawn Quantity
    • setBOMItem

      public void setBOMItem(@Nullable String bOMItem)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: BOMItem

      Parameters:
      bOMItem - Bill of Material Item
    • 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
    • setSupplyArea

      public void setSupplyArea(@Nullable String supplyArea)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplyArea

      Parameters:
      supplyArea - Production Supply Area
    • setManufacturingOrderSequence

      public void setManufacturingOrderSequence(@Nullable String manufacturingOrderSequence)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ManufacturingOrderSequence

      Parameters:
      manufacturingOrderSequence - Sequence
    • setManufacturingOrder

      public void setManufacturingOrder(@Nullable String manufacturingOrder)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ManufacturingOrder

      Parameters:
      manufacturingOrder - Manufacturing Order ID
    • setManufacturingOrderOperation

      public void setManufacturingOrderOperation(@Nullable String manufacturingOrderOperation)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ManufacturingOrderOperation

      Parameters:
      manufacturingOrderOperation - Manufacturing Order Operation
    • setManufacturingOrderCategory

      public void setManufacturingOrderCategory(@Nullable String manufacturingOrderCategory)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ManufacturingOrderCategory

      Parameters:
      manufacturingOrderCategory - Manufacturing Order Category
    • setManufacturingOrderType

      public void setManufacturingOrderType(@Nullable String manufacturingOrderType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ManufacturingOrderType

      Parameters:
      manufacturingOrderType - Manufacturing Order Type
    • setOrderInternalBillOfOperations

      public void setOrderInternalBillOfOperations(@Nullable String orderInternalBillOfOperations)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: OrderInternalBillOfOperations

      Parameters:
      orderInternalBillOfOperations - Order Internal ID
    • setBOMItemText2

      public void setBOMItemText2(@Nullable String bOMItemText2)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BOMItemText2

      Parameters:
      bOMItemText2 - BOM Item Text (Line 2)
    • setBOMItemCategory

      public void setBOMItemCategory(@Nullable String bOMItemCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BOMItemCategory

      Parameters:
      bOMItemCategory - Bill of Material Item Category
    • setBillOfMaterialCategory

      public void setBillOfMaterialCategory(@Nullable String billOfMaterialCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BillOfMaterialCategory

      Parameters:
      billOfMaterialCategory - Bill of Material Category Code
    • setSortField

      public void setSortField(@Nullable String sortField)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SortField

      Parameters:
      sortField - Sort String
    • setGoodsRecipientName

      public void setGoodsRecipientName(@Nullable String goodsRecipientName)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: GoodsRecipientName

      Parameters:
      goodsRecipientName - Goods Recipient
    • setUnloadingPointName

      public void setUnloadingPointName(@Nullable String unloadingPointName)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: UnloadingPointName

      Parameters:
      unloadingPointName - Unloading Point
    • setBatch

      public void setBatch(@Nullable String batch)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Batch

      Parameters:
      batch - Batch Number
    • setBatchSplitType

      public void setBatchSplitType(@Nullable String batchSplitType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BatchSplitType

      Parameters:
      batchSplitType - Batch key
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProductionOrderComponentField<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> ProductionOrderComponentField<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<ProductionOrderComponent>
    • setServicePathForFetch

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

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

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

    • getReservation

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

      Original property name from the Odata EDM: Reservation

      Returns:
      Number of reservation/dependent requirements
    • getReservationItem

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

      Original property name from the Odata EDM: ReservationItem

      Returns:
      Reservation Item
    • getBillOfMaterialItemNumber

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

      Original property name from the Odata EDM: BillOfMaterialItemNumber

      Returns:
      BOM item number
    • getBOMItemDescription

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

      Original property name from the Odata EDM: BOMItemDescription

      Returns:
      BOM Item Text (Line 1)
    • getMaterial

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

      Original property name from the Odata EDM: Material

      Returns:
      Material Number
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getProductionPlant

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

      Original property name from the Odata EDM: ProductionPlant

      Returns:
      Production Plant
    • getMatlCompRequirementDate

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

      Original property name from the Odata EDM: MatlCompRequirementDate

      Returns:
      Material Component Requirement Date
    • getBaseUnit

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

      Original property name from the Odata EDM: BaseUnit

      Returns:
      Base Unit of Measure
    • getRequiredQuantity

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

      Original property name from the Odata EDM: RequiredQuantity

      Returns:
      Requirement Quantity
    • getWithdrawnQuantity

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

      Original property name from the Odata EDM: WithdrawnQuantity

      Returns:
      Withdrawn Quantity
    • getBOMItem

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

      Original property name from the Odata EDM: BOMItem

      Returns:
      Bill of Material Item
    • getStorageLocation

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

      Original property name from the Odata EDM: StorageLocation

      Returns:
      Storage Location
    • getSupplyArea

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

      Original property name from the Odata EDM: SupplyArea

      Returns:
      Production Supply Area
    • getManufacturingOrderSequence

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

      Original property name from the Odata EDM: ManufacturingOrderSequence

      Returns:
      Sequence
    • getManufacturingOrder

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

      Original property name from the Odata EDM: ManufacturingOrder

      Returns:
      Manufacturing Order ID
    • getManufacturingOrderOperation

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

      Original property name from the Odata EDM: ManufacturingOrderOperation

      Returns:
      Manufacturing Order Operation
    • getManufacturingOrderCategory

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

      Original property name from the Odata EDM: ManufacturingOrderCategory

      Returns:
      Manufacturing Order Category
    • getManufacturingOrderType

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

      Original property name from the Odata EDM: ManufacturingOrderType

      Returns:
      Manufacturing Order Type
    • getOrderInternalBillOfOperations

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

      Original property name from the Odata EDM: OrderInternalBillOfOperations

      Returns:
      Order Internal ID
    • getBOMItemText2

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

      Original property name from the Odata EDM: BOMItemText2

      Returns:
      BOM Item Text (Line 2)
    • getBOMItemCategory

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

      Original property name from the Odata EDM: BOMItemCategory

      Returns:
      Bill of Material Item Category
    • getBillOfMaterialCategory

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

      Original property name from the Odata EDM: BillOfMaterialCategory

      Returns:
      Bill of Material Category Code
    • getSortField

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

      Original property name from the Odata EDM: SortField

      Returns:
      Sort String
    • getGoodsRecipientName

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

      Original property name from the Odata EDM: GoodsRecipientName

      Returns:
      Goods Recipient
    • getUnloadingPointName

      @Nullable public String getUnloadingPointName()
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: UnloadingPointName

      Returns:
      Unloading Point
    • getBatch

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

      Original property name from the Odata EDM: Batch

      Returns:
      Batch Number
    • getBatchSplitType

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

      Original property name from the Odata EDM: BatchSplitType

      Returns:
      Batch key
    • toString

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

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

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

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