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

public class ReservationDocumentItem_2 extends VdmEntity<ReservationDocumentItem_2> implements VdmEntitySet
Reservation Document Item

Original entity name from the Odata EDM: A_ReservationDocumentItem_2_Type

  • Field Details

  • Constructor Details

    • ReservationDocumentItem_2

      public ReservationDocumentItem_2()
    • ReservationDocumentItem_2

      public ReservationDocumentItem_2(@Nullable String reservation, @Nullable String reservationItem, @Nullable String recordType, @Nullable String product, @Nullable String requirementType, @Nullable LocalDate matlCompRequirementDate, @Nullable String plant, @Nullable Boolean goodsMovementIsAllowed, @Nullable String storageLocation, @Nullable String batch, @Nullable String valuationType, @Nullable String debitCreditCode, @Nullable String baseUnit, @Nullable String gLAccount, @Nullable Boolean resvnAccountIsEnteredManually, @Nullable String goodsMovementType, @Nullable String entryUnit, @Nullable String supplier, @Nullable BigDecimal resvnItmRequiredQtyInBaseUnit, @Nullable Boolean reservationItemIsFinallyIssued, @Nullable Boolean reservationItmIsMarkedForDeltn, @Nullable BigDecimal resvnItmRequiredQtyInEntryUnit, @Nullable BigDecimal resvnItmWithdrawnQtyInBaseUnit, @Nullable String goodsRecipientName, @Nullable String unloadingPointName, @Nullable String reservationItemText, @Nullable BigDecimal confdQtyForATPInBaseUoM, @Nullable ReservationDocumentHeader_2 to_ReservationDocument)
  • Method Details

    • getType

      @Nonnull public Class<ReservationDocumentItem_2> getType()
      Specified by:
      getType in class VdmObject<ReservationDocumentItem_2>
    • 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 - Item Number of Reservation / Dependent Requirements
    • setRecordType

      public void setRecordType(@Nullable String recordType)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RecordType

      Parameters:
      recordType - Record type
    • setProduct

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

      Original property name from the Odata EDM: Product

      Parameters:
      product - Material Number
    • setRequirementType

      public void setRequirementType(@Nullable String requirementType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: RequirementType

      Parameters:
      requirementType - Requirement type
    • setMatlCompRequirementDate

      public void setMatlCompRequirementDate(@Nullable LocalDate matlCompRequirementDate)
      Constraints: Nullable

      Original property name from the Odata EDM: MatlCompRequirementDate

      Parameters:
      matlCompRequirementDate - Requirements date for the component
    • setPlant

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

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setGoodsMovementIsAllowed

      public void setGoodsMovementIsAllowed(@Nullable Boolean goodsMovementIsAllowed)
      Constraints: Not nullable

      Original property name from the Odata EDM: GoodsMovementIsAllowed

      Parameters:
      goodsMovementIsAllowed - Goods Movement for Reservation Allowed
    • 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
    • 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
    • setValuationType

      public void setValuationType(@Nullable String valuationType)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ValuationType

      Parameters:
      valuationType - Valuation Type
    • setDebitCreditCode

      public void setDebitCreditCode(@Nullable String debitCreditCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: DebitCreditCode

      Parameters:
      debitCreditCode - Debit/Credit Indicator
    • 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
    • setGLAccount

      public void setGLAccount(@Nullable String gLAccount)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: GLAccount

      Parameters:
      gLAccount - G/L Account Number
    • setResvnAccountIsEnteredManually

      public void setResvnAccountIsEnteredManually(@Nullable Boolean resvnAccountIsEnteredManually)
      Constraints: Not nullable

      Original property name from the Odata EDM: ResvnAccountIsEnteredManually

      Parameters:
      resvnAccountIsEnteredManually - Acct entered manually
    • setGoodsMovementType

      public void setGoodsMovementType(@Nullable String goodsMovementType)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: GoodsMovementType

      Parameters:
      goodsMovementType - Movement Type (Inventory Management)
    • setEntryUnit

      public void setEntryUnit(@Nullable String entryUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: EntryUnit

      Parameters:
      entryUnit - Unit of entry
    • setSupplier

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

      Original property name from the Odata EDM: Supplier

      Parameters:
      supplier - Account Number of Supplier
    • setResvnItmRequiredQtyInBaseUnit

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

      Original property name from the Odata EDM: ResvnItmRequiredQtyInBaseUnit

      Parameters:
      resvnItmRequiredQtyInBaseUnit - Requirement Quantity
    • setReservationItemIsFinallyIssued

      public void setReservationItemIsFinallyIssued(@Nullable Boolean reservationItemIsFinallyIssued)
      Constraints: Not nullable

      Original property name from the Odata EDM: ReservationItemIsFinallyIssued

      Parameters:
      reservationItemIsFinallyIssued - Final Issue for Reservation
    • setReservationItmIsMarkedForDeltn

      public void setReservationItmIsMarkedForDeltn(@Nullable Boolean reservationItmIsMarkedForDeltn)
      Constraints: Not nullable

      Original property name from the Odata EDM: ReservationItmIsMarkedForDeltn

      Parameters:
      reservationItmIsMarkedForDeltn - Item is deleted
    • setResvnItmRequiredQtyInEntryUnit

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

      Original property name from the Odata EDM: ResvnItmRequiredQtyInEntryUnit

      Parameters:
      resvnItmRequiredQtyInEntryUnit - Quantity in unit of entry
    • setResvnItmWithdrawnQtyInBaseUnit

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

      Original property name from the Odata EDM: ResvnItmWithdrawnQtyInBaseUnit

      Parameters:
      resvnItmWithdrawnQtyInBaseUnit - Quantity withdrawn
    • 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
    • setReservationItemText

      public void setReservationItemText(@Nullable String reservationItemText)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: ReservationItemText

      Parameters:
      reservationItemText - Item Text
    • setConfdQtyForATPInBaseUoM

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

      Original property name from the Odata EDM: ConfdQtyForATPInBaseUoM

      Parameters:
      confdQtyForATPInBaseUoM - Confirmed quantity for availability check in SKU
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity ReservationDocumentItem_2 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 _ReservationDocument is already loaded, the result will contain the ReservationDocumentHeader_2 entity. If not, an Option with result state empty is returned.
    • setReservationDocument

      public void setReservationDocument(ReservationDocumentHeader_2 value)
      Overwrites the associated ReservationDocumentHeader_2 entity for the loaded navigation property _ReservationDocument.
      Parameters:
      value - New ReservationDocumentHeader_2 entity.
    • 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:
      Item Number of Reservation / Dependent Requirements
    • getRecordType

      @Nullable public String getRecordType()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RecordType

      Returns:
      Record type
    • getProduct

      @Nullable public String getProduct()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Product

      Returns:
      Material Number
    • getRequirementType

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

      Original property name from the Odata EDM: RequirementType

      Returns:
      Requirement type
    • getMatlCompRequirementDate

      @Nullable public LocalDate getMatlCompRequirementDate()
      Constraints: Nullable

      Original property name from the Odata EDM: MatlCompRequirementDate

      Returns:
      Requirements date for the component
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getGoodsMovementIsAllowed

      @Nullable public Boolean getGoodsMovementIsAllowed()
      Constraints: Not nullable

      Original property name from the Odata EDM: GoodsMovementIsAllowed

      Returns:
      Goods Movement for Reservation Allowed
    • getStorageLocation

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

      Original property name from the Odata EDM: StorageLocation

      Returns:
      Storage Location
    • getBatch

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

      Original property name from the Odata EDM: Batch

      Returns:
      Batch Number
    • getValuationType

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

      Original property name from the Odata EDM: ValuationType

      Returns:
      Valuation Type
    • getDebitCreditCode

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

      Original property name from the Odata EDM: DebitCreditCode

      Returns:
      Debit/Credit Indicator
    • getBaseUnit

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

      Original property name from the Odata EDM: BaseUnit

      Returns:
      Base Unit of Measure
    • getGLAccount

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

      Original property name from the Odata EDM: GLAccount

      Returns:
      G/L Account Number
    • getResvnAccountIsEnteredManually

      @Nullable public Boolean getResvnAccountIsEnteredManually()
      Constraints: Not nullable

      Original property name from the Odata EDM: ResvnAccountIsEnteredManually

      Returns:
      Acct entered manually
    • getGoodsMovementType

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

      Original property name from the Odata EDM: GoodsMovementType

      Returns:
      Movement Type (Inventory Management)
    • getEntryUnit

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

      Original property name from the Odata EDM: EntryUnit

      Returns:
      Unit of entry
    • getSupplier

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

      Original property name from the Odata EDM: Supplier

      Returns:
      Account Number of Supplier
    • getResvnItmRequiredQtyInBaseUnit

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

      Original property name from the Odata EDM: ResvnItmRequiredQtyInBaseUnit

      Returns:
      Requirement Quantity
    • getReservationItemIsFinallyIssued

      @Nullable public Boolean getReservationItemIsFinallyIssued()
      Constraints: Not nullable

      Original property name from the Odata EDM: ReservationItemIsFinallyIssued

      Returns:
      Final Issue for Reservation
    • getReservationItmIsMarkedForDeltn

      @Nullable public Boolean getReservationItmIsMarkedForDeltn()
      Constraints: Not nullable

      Original property name from the Odata EDM: ReservationItmIsMarkedForDeltn

      Returns:
      Item is deleted
    • getResvnItmRequiredQtyInEntryUnit

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

      Original property name from the Odata EDM: ResvnItmRequiredQtyInEntryUnit

      Returns:
      Quantity in unit of entry
    • getResvnItmWithdrawnQtyInBaseUnit

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

      Original property name from the Odata EDM: ResvnItmWithdrawnQtyInBaseUnit

      Returns:
      Quantity withdrawn
    • 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
    • getReservationItemText

      @Nullable public String getReservationItemText()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: ReservationItemText

      Returns:
      Item Text
    • getConfdQtyForATPInBaseUoM

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

      Original property name from the Odata EDM: ConfdQtyForATPInBaseUoM

      Returns:
      Confirmed quantity for availability check in SKU
    • toString

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

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

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

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

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