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

public class SSPOpenItemGoodsReceipt extends VdmEntity<SSPOpenItemGoodsReceipt> implements VdmEntitySet
Goods Receipt Confirmation

Original entity name from the Odata EDM: A_SSPOpenItemGoodsReceiptType

  • Field Details

  • Constructor Details

    • SSPOpenItemGoodsReceipt

      public SSPOpenItemGoodsReceipt()
    • SSPOpenItemGoodsReceipt

      public SSPOpenItemGoodsReceipt(@Nullable String purchaseRequisition, @Nullable String purchaseOrder, @Nullable String purchaseOrderItem, @Nullable String purchaseRequisitionItem, @Nullable String plant, @Nullable String referenceDocumentPlant, @Nullable String purchaseOrderQuantityUnit, @Nullable String orderQuantityUnitISOCode, @Nullable BigDecimal deliveredQuantity, @Nullable Boolean deliveryStatus, @Nullable String materialDocument, @Nullable String materialDocumentYear, @Nullable String deliveryNote, @Nullable String materialDocumentHeaderText, @Nullable LocalDate documentDate, @Nullable LocalDate postingDate, @Nullable Collection<SAP__Message> _Messages)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: PurchaseRequisition

      Parameters:
      purchaseRequisition - Purchase Requisition Number
    • setPurchaseOrder

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

      Original property name from the Odata EDM: PurchaseOrder

      Parameters:
      purchaseOrder - Purchasing Document Number
    • setPurchaseOrderItem

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

      Original property name from the Odata EDM: PurchaseOrderItem

      Parameters:
      purchaseOrderItem - Item Number of Purchase Order
    • setPurchaseRequisitionItem

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

      Original property name from the Odata EDM: PurchaseRequisitionItem

      Parameters:
      purchaseRequisitionItem - Item number of purchase requisition
    • setPlant

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

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setReferenceDocumentPlant

      public void setReferenceDocumentPlant(@Nullable String referenceDocumentPlant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ReferenceDocumentPlant

      Parameters:
      referenceDocumentPlant - Plant
    • setPurchaseOrderQuantityUnit

      public void setPurchaseOrderQuantityUnit(@Nullable String purchaseOrderQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PurchaseOrderQuantityUnit

      Parameters:
      purchaseOrderQuantityUnit - 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
    • setDeliveredQuantity

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

      Original property name from the Odata EDM: DeliveredQuantity

      Parameters:
      deliveredQuantity - The deliveredQuantity to set.
    • setDeliveryStatus

      public void setDeliveryStatus(@Nullable Boolean deliveryStatus)
      Constraints: Not nullable

      Original property name from the Odata EDM: DeliveryStatus

      Parameters:
      deliveryStatus - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
    • setMaterialDocument

      public void setMaterialDocument(@Nullable String materialDocument)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: MaterialDocument

      Parameters:
      materialDocument - Number of Material Document
    • setMaterialDocumentYear

      public void setMaterialDocumentYear(@Nullable String materialDocumentYear)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: MaterialDocumentYear

      Parameters:
      materialDocumentYear - Material Document Year
    • setDeliveryNote

      public void setDeliveryNote(@Nullable String deliveryNote)
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: DeliveryNote

      Parameters:
      deliveryNote - Number of External Delivery Note
    • setMaterialDocumentHeaderText

      public void setMaterialDocumentHeaderText(@Nullable String materialDocumentHeaderText)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: MaterialDocumentHeaderText

      Parameters:
      materialDocumentHeaderText - Document Header Text
    • setDocumentDate

      public void setDocumentDate(@Nullable LocalDate documentDate)
      Constraints: Nullable

      Original property name from the Odata EDM: DocumentDate

      Parameters:
      documentDate - The documentDate to set.
    • setPostingDate

      public void setPostingDate(@Nullable LocalDate postingDate)
      Constraints: Nullable

      Original property name from the Odata EDM: PostingDate

      Parameters:
      postingDate - The postingDate to set.
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<SSPOpenItemGoodsReceipt>
    • postGoodsReceipt

      @Nonnull public static BoundAction.CollectionToSingle<SSPOpenItemGoodsReceipt,MMPUR_S_GR_OUT> postGoodsReceipt(@Nonnull String pURCHASEREQUISITION, @Nonnull String pURCHASEORDER, @Nonnull String pURCHASEORDERITEM, @Nonnull String pURCHASEREQUISITIONITEM, @Nonnull BigDecimal dELIVEREDQUANTITY, @Nonnull String oRDERQUANTITYUNIT, @Nonnull String oRDERQUANTITYUNITISOCODE, @Nonnull Boolean dELIVERYSTATUS, @Nonnull String dELIVERYNOTE, @Nonnull String mATERIALDOCUMENTHEADERTEXT, @Nullable LocalDate dOCUMENTDATE, @Nullable LocalDate pOSTINGDATE, @Nonnull String pURREQNSSPAUTHOR, @Nonnull String pURREQNSSPREQUESTOR)
      Action that can be applied to a collection of entities of this class.

      Parameters:
      dOCUMENTDATE - Constraints: Nullable

      Original parameter name from the Odata EDM: DOCUMENTDATE

      dELIVERYNOTE - Constraints: Not nullable, Maximum length: 16

      Original parameter name from the Odata EDM: DELIVERYNOTE

      pURCHASEORDERITEM - Constraints: Not nullable, Maximum length: 5

      Original parameter name from the Odata EDM: PURCHASEORDERITEM

      pOSTINGDATE - Constraints: Nullable

      Original parameter name from the Odata EDM: POSTINGDATE

      oRDERQUANTITYUNIT - Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: ORDERQUANTITYUNIT

      pURREQNSSPAUTHOR - Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: PURREQNSSPAUTHOR

      pURCHASEREQUISITIONITEM - Constraints: Not nullable, Maximum length: 5

      Original parameter name from the Odata EDM: PURCHASEREQUISITIONITEM

      dELIVEREDQUANTITY - Constraints: Not nullable, Precision: 13, Scale: 3

      Original parameter name from the Odata EDM: DELIVEREDQUANTITY

      mATERIALDOCUMENTHEADERTEXT - Constraints: Not nullable, Maximum length: 25

      Original parameter name from the Odata EDM: MATERIALDOCUMENTHEADERTEXT

      dELIVERYSTATUS - Constraints: Not nullable

      Original parameter name from the Odata EDM: DELIVERYSTATUS

      pURCHASEORDER - Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: PURCHASEORDER

      pURCHASEREQUISITION - Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: PURCHASEREQUISITION

      oRDERQUANTITYUNITISOCODE - Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: ORDERQUANTITYUNITISOCODE

      pURREQNSSPREQUESTOR - Constraints: Not nullable, Maximum length: 60

      Original parameter name from the Odata EDM: PURREQNSSPREQUESTOR

      Returns:
      Action object prepared with the given parameters to be applied to a collection of entities of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • builder

    • getPurchaseRequisition

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

      Original property name from the Odata EDM: PurchaseRequisition

      Returns:
      Purchase Requisition Number
    • getPurchaseOrder

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

      Original property name from the Odata EDM: PurchaseOrder

      Returns:
      Purchasing Document Number
    • getPurchaseOrderItem

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

      Original property name from the Odata EDM: PurchaseOrderItem

      Returns:
      Item Number of Purchase Order
    • getPurchaseRequisitionItem

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

      Original property name from the Odata EDM: PurchaseRequisitionItem

      Returns:
      Item number of purchase requisition
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getReferenceDocumentPlant

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

      Original property name from the Odata EDM: ReferenceDocumentPlant

      Returns:
      Plant
    • getPurchaseOrderQuantityUnit

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

      Original property name from the Odata EDM: PurchaseOrderQuantityUnit

      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
    • getDeliveredQuantity

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

      Original property name from the Odata EDM: DeliveredQuantity

      Returns:
      The deliveredQuantity contained in this VdmEntity.
    • getDeliveryStatus

      @Nullable public Boolean getDeliveryStatus()
      Constraints: Not nullable

      Original property name from the Odata EDM: DeliveryStatus

      Returns:
      Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
    • getMaterialDocument

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

      Original property name from the Odata EDM: MaterialDocument

      Returns:
      Number of Material Document
    • getMaterialDocumentYear

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

      Original property name from the Odata EDM: MaterialDocumentYear

      Returns:
      Material Document Year
    • getDeliveryNote

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

      Original property name from the Odata EDM: DeliveryNote

      Returns:
      Number of External Delivery Note
    • getMaterialDocumentHeaderText

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

      Original property name from the Odata EDM: MaterialDocumentHeaderText

      Returns:
      Document Header Text
    • getDocumentDate

      @Nullable public LocalDate getDocumentDate()
      Constraints: Nullable

      Original property name from the Odata EDM: DocumentDate

      Returns:
      The documentDate contained in this VdmEntity.
    • getPostingDate

      @Nullable public LocalDate getPostingDate()
      Constraints: Nullable

      Original property name from the Odata EDM: PostingDate

      Returns:
      The postingDate contained in this VdmEntity.
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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