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

public class PhysInventoryDocItem extends VdmEntity<PhysInventoryDocItem>
Document Items

Original entity name from the Odata EDM: A_PhysInventoryDocItemType

  • Field Details

    • ALL_FIELDS

      public static final PhysInventoryDocItemSelectable ALL_FIELDS
      Selector for all available fields of PhysInventoryDocItem.
    • FISCAL_YEAR

      public static final PhysInventoryDocItemField<String> FISCAL_YEAR
      Use with available fluent helpers to apply the FiscalYear field to query operations.
    • PHYSICAL_INVENTORY_DOCUMENT

      public static final PhysInventoryDocItemField<String> PHYSICAL_INVENTORY_DOCUMENT
      Use with available fluent helpers to apply the PhysicalInventoryDocument field to query operations.
    • PHYSICAL_INVENTORY_DOCUMENT_ITEM

      public static final PhysInventoryDocItemField<String> PHYSICAL_INVENTORY_DOCUMENT_ITEM
      Use with available fluent helpers to apply the PhysicalInventoryDocumentItem field to query operations.
    • PLANT

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

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

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

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

      public static final PhysInventoryDocItemField<String> INVENTORY_SPECIAL_STOCK_TYPE
      Use with available fluent helpers to apply the InventorySpecialStockType field to query operations.
    • PHYSICAL_INVENTORY_STOCK_TYPE

      public static final PhysInventoryDocItemField<String> PHYSICAL_INVENTORY_STOCK_TYPE
      Use with available fluent helpers to apply the PhysicalInventoryStockType field to query operations.
    • SALES_ORDER

      public static final PhysInventoryDocItemField<String> SALES_ORDER
      Use with available fluent helpers to apply the SalesOrder field to query operations.
    • SALES_ORDER_ITEM

      public static final PhysInventoryDocItemField<String> SALES_ORDER_ITEM
      Use with available fluent helpers to apply the SalesOrderItem field to query operations.
    • SUPPLIER

      public static final PhysInventoryDocItemField<String> SUPPLIER
      Use with available fluent helpers to apply the Supplier field to query operations.
    • CUSTOMER

      public static final PhysInventoryDocItemField<String> CUSTOMER
      Use with available fluent helpers to apply the Customer field to query operations.
    • WBS_ELEMENT

      public static final PhysInventoryDocItemField<String> WBS_ELEMENT
      Use with available fluent helpers to apply the WBSElement field to query operations.
    • LAST_CHANGE_USER

      public static final PhysInventoryDocItemField<String> LAST_CHANGE_USER
      Use with available fluent helpers to apply the LastChangeUser field to query operations.
    • LAST_CHANGE_DATE

      public static final PhysInventoryDocItemField<LocalDateTime> LAST_CHANGE_DATE
      Use with available fluent helpers to apply the LastChangeDate field to query operations.
    • COUNTED_BY_USER

      public static final PhysInventoryDocItemField<String> COUNTED_BY_USER
      Use with available fluent helpers to apply the CountedByUser field to query operations.
    • PHYSICAL_INVENTORY_LAST_COUNT_DATE

      public static final PhysInventoryDocItemField<LocalDateTime> PHYSICAL_INVENTORY_LAST_COUNT_DATE
      Use with available fluent helpers to apply the PhysicalInventoryLastCountDate field to query operations.
    • ADJUSTMENT_POSTING_MADE_BY_USER

      public static final PhysInventoryDocItemField<String> ADJUSTMENT_POSTING_MADE_BY_USER
      Use with available fluent helpers to apply the AdjustmentPostingMadeByUser field to query operations.
    • POSTING_DATE

      public static final PhysInventoryDocItemField<LocalDateTime> POSTING_DATE
      Use with available fluent helpers to apply the PostingDate field to query operations.
    • PHYSICAL_INVENTORY_ITEM_IS_COUNTED

      public static final PhysInventoryDocItemField<Boolean> PHYSICAL_INVENTORY_ITEM_IS_COUNTED
      Use with available fluent helpers to apply the PhysicalInventoryItemIsCounted field to query operations.
    • PHYS_INVTRY_DIFFERENCE_IS_POSTED

      public static final PhysInventoryDocItemField<Boolean> PHYS_INVTRY_DIFFERENCE_IS_POSTED
      Use with available fluent helpers to apply the PhysInvtryDifferenceIsPosted field to query operations.
    • PHYS_INVTRY_ITEM_IS_RECOUNTED

      public static final PhysInventoryDocItemField<Boolean> PHYS_INVTRY_ITEM_IS_RECOUNTED
      Use with available fluent helpers to apply the PhysInvtryItemIsRecounted field to query operations.
    • PHYS_INVTRY_ITEM_IS_DELETED

      public static final PhysInventoryDocItemField<Boolean> PHYS_INVTRY_ITEM_IS_DELETED
      Use with available fluent helpers to apply the PhysInvtryItemIsDeleted field to query operations.
    • IS_HANDLED_IN_ALTV_UNIT_OF_MSR

      public static final PhysInventoryDocItemField<Boolean> IS_HANDLED_IN_ALTV_UNIT_OF_MSR
      Use with available fluent helpers to apply the IsHandledInAltvUnitOfMsr field to query operations.
    • CYCLE_COUNT_TYPE

      public static final PhysInventoryDocItemField<String> CYCLE_COUNT_TYPE
      Use with available fluent helpers to apply the CycleCountType field to query operations.
    • IS_VALUE_ONLY_MATERIAL

      public static final PhysInventoryDocItemField<Boolean> IS_VALUE_ONLY_MATERIAL
      Use with available fluent helpers to apply the IsValueOnlyMaterial field to query operations.
    • PHYS_INVENTORY_REFERENCE_NUMBER

      public static final PhysInventoryDocItemField<String> PHYS_INVENTORY_REFERENCE_NUMBER
      Use with available fluent helpers to apply the PhysInventoryReferenceNumber field to query operations.
    • MATERIAL_DOCUMENT

      public static final PhysInventoryDocItemField<String> MATERIAL_DOCUMENT
      Use with available fluent helpers to apply the MaterialDocument field to query operations.
    • MATERIAL_DOCUMENT_YEAR

      public static final PhysInventoryDocItemField<String> MATERIAL_DOCUMENT_YEAR
      Use with available fluent helpers to apply the MaterialDocumentYear field to query operations.
    • MATERIAL_DOCUMENT_ITEM

      public static final PhysInventoryDocItemField<String> MATERIAL_DOCUMENT_ITEM
      Use with available fluent helpers to apply the MaterialDocumentItem field to query operations.
    • PHYS_INVTRY_RECOUNT_DOCUMENT

      public static final PhysInventoryDocItemField<String> PHYS_INVTRY_RECOUNT_DOCUMENT
      Use with available fluent helpers to apply the PhysInvtryRecountDocument field to query operations.
    • PHYSICAL_INVENTORY_ITEM_IS_ZERO

      public static final PhysInventoryDocItemField<Boolean> PHYSICAL_INVENTORY_ITEM_IS_ZERO
      Use with available fluent helpers to apply the PhysicalInventoryItemIsZero field to query operations.
    • REASON_FOR_PHYS_INVTRY_DIFFERENCE

      public static final PhysInventoryDocItemField<String> REASON_FOR_PHYS_INVTRY_DIFFERENCE
      Use with available fluent helpers to apply the ReasonForPhysInvtryDifference field to query operations.
    • MATERIAL_BASE_UNIT

      public static final PhysInventoryDocItemField<String> MATERIAL_BASE_UNIT
      Use with available fluent helpers to apply the MaterialBaseUnit field to query operations.
    • BOOK_QTY_BFR_COUNT_IN_MATL_BASE_UNIT

      public static final PhysInventoryDocItemField<BigDecimal> BOOK_QTY_BFR_COUNT_IN_MATL_BASE_UNIT
      Use with available fluent helpers to apply the BookQtyBfrCountInMatlBaseUnit field to query operations.
    • QUANTITY

      public static final PhysInventoryDocItemField<BigDecimal> QUANTITY
      Use with available fluent helpers to apply the Quantity field to query operations.
    • UNIT_OF_ENTRY

      public static final PhysInventoryDocItemField<String> UNIT_OF_ENTRY
      Use with available fluent helpers to apply the UnitOfEntry field to query operations.
    • QUANTITY_IN_UNIT_OF_ENTRY

      public static final PhysInventoryDocItemField<BigDecimal> QUANTITY_IN_UNIT_OF_ENTRY
      Use with available fluent helpers to apply the QuantityInUnitOfEntry field to query operations.
    • CURRENCY

      public static final PhysInventoryDocItemField<String> CURRENCY
      Use with available fluent helpers to apply the Currency field to query operations.
    • DIFFERENCE_AMOUNT_IN_CO_CODE_CRCY

      public static final PhysInventoryDocItemField<BigDecimal> DIFFERENCE_AMOUNT_IN_CO_CODE_CRCY
      Use with available fluent helpers to apply the DifferenceAmountInCoCodeCrcy field to query operations.
    • ENTERED_SLS_AMT_IN_CO_CODE_CRCY

      public static final PhysInventoryDocItemField<BigDecimal> ENTERED_SLS_AMT_IN_CO_CODE_CRCY
      Use with available fluent helpers to apply the EnteredSlsAmtInCoCodeCrcy field to query operations.
    • SLS_PRICE_AMOUNT_IN_CO_CODE_CRCY

      public static final PhysInventoryDocItemField<BigDecimal> SLS_PRICE_AMOUNT_IN_CO_CODE_CRCY
      Use with available fluent helpers to apply the SlsPriceAmountInCoCodeCrcy field to query operations.
    • PHYS_INVTRY_CT_AMT_IN_CO_CODE_CRCY

      public static final PhysInventoryDocItemField<BigDecimal> PHYS_INVTRY_CT_AMT_IN_CO_CODE_CRCY
      Use with available fluent helpers to apply the PhysInvtryCtAmtInCoCodeCrcy field to query operations.
    • BOOK_QTY_AMOUNT_IN_CO_CODE_CRCY

      public static final PhysInventoryDocItemField<BigDecimal> BOOK_QTY_AMOUNT_IN_CO_CODE_CRCY
      Use with available fluent helpers to apply the BookQtyAmountInCoCodeCrcy field to query operations.
    • LAST_CHANGE_DATE_TIME

      public static final PhysInventoryDocItemField<ZonedDateTime> LAST_CHANGE_DATE_TIME
      Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
    • TO_PHYSICAL_INVENTORY_DOCUMENT

      public static final PhysInventoryDocItemOneToOneLink<PhysInventoryDocHeader> TO_PHYSICAL_INVENTORY_DOCUMENT
      Use with available fluent helpers to apply the to_PhysicalInventoryDocument navigation property to query operations.
    • TO_SERIAL_NUMBERS

      public static final PhysInventoryDocItemLink<SerialNumberPhysInventoryDoc> TO_SERIAL_NUMBERS
      Use with available fluent helpers to apply the to_SerialNumbers navigation property to query operations.
  • Constructor Details

    • PhysInventoryDocItem

      public PhysInventoryDocItem()
    • PhysInventoryDocItem

      public PhysInventoryDocItem(@Nullable String fiscalYear, @Nullable String physicalInventoryDocument, @Nullable String physicalInventoryDocumentItem, @Nullable String plant, @Nullable String storageLocation, @Nullable String material, @Nullable String batch, @Nullable String inventorySpecialStockType, @Nullable String physicalInventoryStockType, @Nullable String salesOrder, @Nullable String salesOrderItem, @Nullable String supplier, @Nullable String customer, @Nullable String wBSElement, @Nullable String lastChangeUser, @Nullable LocalDateTime lastChangeDate, @Nullable String countedByUser, @Nullable LocalDateTime physicalInventoryLastCountDate, @Nullable String adjustmentPostingMadeByUser, @Nullable LocalDateTime postingDate, @Nullable Boolean physicalInventoryItemIsCounted, @Nullable Boolean physInvtryDifferenceIsPosted, @Nullable Boolean physInvtryItemIsRecounted, @Nullable Boolean physInvtryItemIsDeleted, @Nullable Boolean isHandledInAltvUnitOfMsr, @Nullable String cycleCountType, @Nullable Boolean isValueOnlyMaterial, @Nullable String physInventoryReferenceNumber, @Nullable String materialDocument, @Nullable String materialDocumentYear, @Nullable String materialDocumentItem, @Nullable String physInvtryRecountDocument, @Nullable Boolean physicalInventoryItemIsZero, @Nullable String reasonForPhysInvtryDifference, @Nullable String materialBaseUnit, @Nullable BigDecimal bookQtyBfrCountInMatlBaseUnit, @Nullable BigDecimal quantity, @Nullable String unitOfEntry, @Nullable BigDecimal quantityInUnitOfEntry, @Nullable String currency, @Nullable BigDecimal differenceAmountInCoCodeCrcy, @Nullable BigDecimal enteredSlsAmtInCoCodeCrcy, @Nullable BigDecimal slsPriceAmountInCoCodeCrcy, @Nullable BigDecimal physInvtryCtAmtInCoCodeCrcy, @Nullable BigDecimal bookQtyAmountInCoCodeCrcy, @Nullable ZonedDateTime lastChangeDateTime, @Nullable PhysInventoryDocHeader toPhysicalInventoryDocument, List<SerialNumberPhysInventoryDoc> toSerialNumbers)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: FiscalYear

      Parameters:
      fiscalYear - Fiscal Year
    • setPhysicalInventoryDocument

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

      Original property name from the Odata EDM: PhysicalInventoryDocument

      Parameters:
      physicalInventoryDocument - Physical Inventory Document
    • setPhysicalInventoryDocumentItem

      public void setPhysicalInventoryDocumentItem(@Nullable String physicalInventoryDocumentItem)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PhysicalInventoryDocumentItem

      Parameters:
      physicalInventoryDocumentItem - Physical Inventory Item 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
    • 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
    • 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
    • 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
    • setInventorySpecialStockType

      public void setInventorySpecialStockType(@Nullable String inventorySpecialStockType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InventorySpecialStockType

      Parameters:
      inventorySpecialStockType - Special Stock Type
    • setPhysicalInventoryStockType

      public void setPhysicalInventoryStockType(@Nullable String physicalInventoryStockType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PhysicalInventoryStockType

      Parameters:
      physicalInventoryStockType - Stock Type (Physical Inventory)
    • setSalesOrder

      public void setSalesOrder(@Nullable String salesOrder)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SalesOrder

      Parameters:
      salesOrder - Sales Order Number
    • setSalesOrderItem

      public void setSalesOrderItem(@Nullable String salesOrderItem)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SalesOrderItem

      Parameters:
      salesOrderItem - Item Number in Sales Order
    • setSupplier

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

      Original property name from the Odata EDM: Supplier

      Parameters:
      supplier - Supplier's Account Number
    • setCustomer

      public void setCustomer(@Nullable String customer)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Customer

      Parameters:
      customer - Account number of customer
    • setWBSElement

      public void setWBSElement(@Nullable String wBSElement)
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: WBSElement

      Parameters:
      wBSElement - Work Breakdown Structure Element (WBS Element)
    • setLastChangeUser

      public void setLastChangeUser(@Nullable String lastChangeUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangeUser

      Parameters:
      lastChangeUser - Changed By
    • setLastChangeDate

      public void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Parameters:
      lastChangeDate - Last Changed On
    • setCountedByUser

      public void setCountedByUser(@Nullable String countedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CountedByUser

      Parameters:
      countedByUser - Counted By
    • setPhysicalInventoryLastCountDate

      public void setPhysicalInventoryLastCountDate(@Nullable LocalDateTime physicalInventoryLastCountDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PhysicalInventoryLastCountDate

      Parameters:
      physicalInventoryLastCountDate - Date of Last Count
    • setAdjustmentPostingMadeByUser

      public void setAdjustmentPostingMadeByUser(@Nullable String adjustmentPostingMadeByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: AdjustmentPostingMadeByUser

      Parameters:
      adjustmentPostingMadeByUser - Adjustment Posting Made By
    • setPostingDate

      public void setPostingDate(@Nullable LocalDateTime postingDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PostingDate

      Parameters:
      postingDate - Posting Date in the Document
    • setPhysicalInventoryItemIsCounted

      public void setPhysicalInventoryItemIsCounted(@Nullable Boolean physicalInventoryItemIsCounted)
      Constraints: none

      Original property name from the Odata EDM: PhysicalInventoryItemIsCounted

      Parameters:
      physicalInventoryItemIsCounted - Item is Counted
    • setPhysInvtryDifferenceIsPosted

      public void setPhysInvtryDifferenceIsPosted(@Nullable Boolean physInvtryDifferenceIsPosted)
      Constraints: none

      Original property name from the Odata EDM: PhysInvtryDifferenceIsPosted

      Parameters:
      physInvtryDifferenceIsPosted - Difference of Item is Posted
    • setPhysInvtryItemIsRecounted

      public void setPhysInvtryItemIsRecounted(@Nullable Boolean physInvtryItemIsRecounted)
      Constraints: none

      Original property name from the Odata EDM: PhysInvtryItemIsRecounted

      Parameters:
      physInvtryItemIsRecounted - Item is Recounted
    • setPhysInvtryItemIsDeleted

      public void setPhysInvtryItemIsDeleted(@Nullable Boolean physInvtryItemIsDeleted)
      Constraints: none

      Original property name from the Odata EDM: PhysInvtryItemIsDeleted

      Parameters:
      physInvtryItemIsDeleted - Item is Deleted
    • setIsHandledInAltvUnitOfMsr

      public void setIsHandledInAltvUnitOfMsr(@Nullable Boolean isHandledInAltvUnitOfMsr)
      Constraints: none

      Original property name from the Odata EDM: IsHandledInAltvUnitOfMsr

      Parameters:
      isHandledInAltvUnitOfMsr - Without Unit of Measure Proposal
    • setCycleCountType

      public void setCycleCountType(@Nullable String cycleCountType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CycleCountType

      Parameters:
      cycleCountType - Cycle Count Type
    • setIsValueOnlyMaterial

      public void setIsValueOnlyMaterial(@Nullable Boolean isValueOnlyMaterial)
      Constraints: none

      Original property name from the Odata EDM: IsValueOnlyMaterial

      Parameters:
      isValueOnlyMaterial - Is Value-Only Material
    • setPhysInventoryReferenceNumber

      public void setPhysInventoryReferenceNumber(@Nullable String physInventoryReferenceNumber)
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: PhysInventoryReferenceNumber

      Parameters:
      physInventoryReferenceNumber - Physical Inventory Reference
    • 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
    • setMaterialDocumentItem

      public void setMaterialDocumentItem(@Nullable String materialDocumentItem)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: MaterialDocumentItem

      Parameters:
      materialDocumentItem - Material Document Item
    • setPhysInvtryRecountDocument

      public void setPhysInvtryRecountDocument(@Nullable String physInvtryRecountDocument)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PhysInvtryRecountDocument

      Parameters:
      physInvtryRecountDocument - Number of Recount Document
    • setPhysicalInventoryItemIsZero

      public void setPhysicalInventoryItemIsZero(@Nullable Boolean physicalInventoryItemIsZero)
      Constraints: none

      Original property name from the Odata EDM: PhysicalInventoryItemIsZero

      Parameters:
      physicalInventoryItemIsZero - Is Zero Count
    • setReasonForPhysInvtryDifference

      public void setReasonForPhysInvtryDifference(@Nullable String reasonForPhysInvtryDifference)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ReasonForPhysInvtryDifference

      Parameters:
      reasonForPhysInvtryDifference - Difference Reason
    • setMaterialBaseUnit

      public void setMaterialBaseUnit(@Nullable String materialBaseUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: MaterialBaseUnit

      Parameters:
      materialBaseUnit - Base Unit of Measure
    • setBookQtyBfrCountInMatlBaseUnit

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

      Original property name from the Odata EDM: BookQtyBfrCountInMatlBaseUnit

      Parameters:
      bookQtyBfrCountInMatlBaseUnit - Book Quantity Immediately Prior to Count
    • setQuantity

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

      Original property name from the Odata EDM: Quantity

      Parameters:
      quantity - Counted Quantity
    • setUnitOfEntry

      public void setUnitOfEntry(@Nullable String unitOfEntry)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: UnitOfEntry

      Parameters:
      unitOfEntry - Entry Unit
    • setQuantityInUnitOfEntry

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

      Original property name from the Odata EDM: QuantityInUnitOfEntry

      Parameters:
      quantityInUnitOfEntry - Counted Quantity in Entry Unit
    • setCurrency

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

      Original property name from the Odata EDM: Currency

      Parameters:
      currency - Company Code Currency
    • setDifferenceAmountInCoCodeCrcy

      public void setDifferenceAmountInCoCodeCrcy(@Nullable BigDecimal differenceAmountInCoCodeCrcy)
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: DifferenceAmountInCoCodeCrcy

      Parameters:
      differenceAmountInCoCodeCrcy - Value of Difference
    • setEnteredSlsAmtInCoCodeCrcy

      public void setEnteredSlsAmtInCoCodeCrcy(@Nullable BigDecimal enteredSlsAmtInCoCodeCrcy)
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: EnteredSlsAmtInCoCodeCrcy

      Parameters:
      enteredSlsAmtInCoCodeCrcy - Externally Entered Value Based on Sales Price
    • setSlsPriceAmountInCoCodeCrcy

      public void setSlsPriceAmountInCoCodeCrcy(@Nullable BigDecimal slsPriceAmountInCoCodeCrcy)
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: SlsPriceAmountInCoCodeCrcy

      Parameters:
      slsPriceAmountInCoCodeCrcy - Sales Price Book Value
    • setPhysInvtryCtAmtInCoCodeCrcy

      public void setPhysInvtryCtAmtInCoCodeCrcy(@Nullable BigDecimal physInvtryCtAmtInCoCodeCrcy)
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: PhysInvtryCtAmtInCoCodeCrcy

      Parameters:
      physInvtryCtAmtInCoCodeCrcy - Counted Quantity Value
    • setBookQtyAmountInCoCodeCrcy

      public void setBookQtyAmountInCoCodeCrcy(@Nullable BigDecimal bookQtyAmountInCoCodeCrcy)
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: BookQtyAmountInCoCodeCrcy

      Parameters:
      bookQtyAmountInCoCodeCrcy - Book Value
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Last Change Timestamp
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> PhysInventoryDocItemField<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> PhysInventoryDocItemField<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<PhysInventoryDocItem>
    • setServicePathForFetch

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

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

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

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

      @Nullable public PhysInventoryDocHeader fetchPhysicalInventoryDocument()
      Fetches the PhysInventoryDocHeader entity (one to one) associated with this entity. This corresponds to the OData navigation property to_PhysicalInventoryDocument.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated PhysInventoryDocHeader entity, or null if an entity is not associated.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPhysicalInventoryDocumentOrFetch

      @Nullable public PhysInventoryDocHeader getPhysicalInventoryDocumentOrFetch()
      Retrieval of associated PhysInventoryDocHeader entity (one to one). This corresponds to the OData navigation property to_PhysicalInventoryDocument.

      If the navigation property to_PhysicalInventoryDocument of a queried PhysInventoryDocItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated PhysInventoryDocHeader entity.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getPhysicalInventoryDocumentIfPresent

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

      If the navigation property for an entity PhysInventoryDocItem 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 to_PhysicalInventoryDocument is already loaded, the result will contain the PhysInventoryDocHeader entity. If not, an Option with result state empty is returned.
    • setPhysicalInventoryDocument

      public void setPhysicalInventoryDocument(PhysInventoryDocHeader value)
      Overwrites the associated PhysInventoryDocHeader entity for the loaded navigation property to_PhysicalInventoryDocument.
      Parameters:
      value - New PhysInventoryDocHeader entity.
    • fetchSerialNumbers

      @Nonnull public List<SerialNumberPhysInventoryDoc> fetchSerialNumbers()
      Fetches the SerialNumberPhysInventoryDoc entities (one to many) associated with this entity. This corresponds to the OData navigation property to_SerialNumbers.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated SerialNumberPhysInventoryDoc entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getSerialNumbersOrFetch

      @Nonnull public List<SerialNumberPhysInventoryDoc> getSerialNumbersOrFetch()
      Retrieval of associated SerialNumberPhysInventoryDoc entities (one to many). This corresponds to the OData navigation property to_SerialNumbers.

      If the navigation property to_SerialNumbers of a queried PhysInventoryDocItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated SerialNumberPhysInventoryDoc entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getSerialNumbersIfPresent

      @Nonnull public io.vavr.control.Option<List<SerialNumberPhysInventoryDoc>> getSerialNumbersIfPresent()
      Retrieval of associated SerialNumberPhysInventoryDoc entities (one to many). This corresponds to the OData navigation property to_SerialNumbers.

      If the navigation property for an entity PhysInventoryDocItem 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 to_SerialNumbers is already loaded, the result will contain the SerialNumberPhysInventoryDoc entities. If not, an Option with result state empty is returned.
    • setSerialNumbers

      public void setSerialNumbers(@Nonnull List<SerialNumberPhysInventoryDoc> value)
      Overwrites the list of associated SerialNumberPhysInventoryDoc entities for the loaded navigation property to_SerialNumbers.

      If the navigation property to_SerialNumbers of a queried PhysInventoryDocItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of SerialNumberPhysInventoryDoc entities.
    • addSerialNumbers

      public void addSerialNumbers(SerialNumberPhysInventoryDoc... entity)
      Adds elements to the list of associated SerialNumberPhysInventoryDoc entities. This corresponds to the OData navigation property to_SerialNumbers.

      If the navigation property to_SerialNumbers of a queried PhysInventoryDocItem is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of SerialNumberPhysInventoryDoc entities.
    • builder

      @Nonnull public static PhysInventoryDocItem.PhysInventoryDocItemBuilder builder()
    • getFiscalYear

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

      Original property name from the Odata EDM: FiscalYear

      Returns:
      Fiscal Year
    • getPhysicalInventoryDocument

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

      Original property name from the Odata EDM: PhysicalInventoryDocument

      Returns:
      Physical Inventory Document
    • getPhysicalInventoryDocumentItem

      @Nullable public String getPhysicalInventoryDocumentItem()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PhysicalInventoryDocumentItem

      Returns:
      Physical Inventory Item Number
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getStorageLocation

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

      Original property name from the Odata EDM: StorageLocation

      Returns:
      Storage Location
    • getMaterial

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

      Original property name from the Odata EDM: Material

      Returns:
      Material Number
    • getBatch

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

      Original property name from the Odata EDM: Batch

      Returns:
      Batch Number
    • getInventorySpecialStockType

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

      Original property name from the Odata EDM: InventorySpecialStockType

      Returns:
      Special Stock Type
    • getPhysicalInventoryStockType

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

      Original property name from the Odata EDM: PhysicalInventoryStockType

      Returns:
      Stock Type (Physical Inventory)
    • getSalesOrder

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

      Original property name from the Odata EDM: SalesOrder

      Returns:
      Sales Order Number
    • getSalesOrderItem

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

      Original property name from the Odata EDM: SalesOrderItem

      Returns:
      Item Number in Sales Order
    • getSupplier

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

      Original property name from the Odata EDM: Supplier

      Returns:
      Supplier's Account Number
    • getCustomer

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

      Original property name from the Odata EDM: Customer

      Returns:
      Account number of customer
    • getWBSElement

      @Nullable public String getWBSElement()
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: WBSElement

      Returns:
      Work Breakdown Structure Element (WBS Element)
    • getLastChangeUser

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

      Original property name from the Odata EDM: LastChangeUser

      Returns:
      Changed By
    • getLastChangeDate

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

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      Last Changed On
    • getCountedByUser

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

      Original property name from the Odata EDM: CountedByUser

      Returns:
      Counted By
    • getPhysicalInventoryLastCountDate

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

      Original property name from the Odata EDM: PhysicalInventoryLastCountDate

      Returns:
      Date of Last Count
    • getAdjustmentPostingMadeByUser

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

      Original property name from the Odata EDM: AdjustmentPostingMadeByUser

      Returns:
      Adjustment Posting Made By
    • getPostingDate

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

      Original property name from the Odata EDM: PostingDate

      Returns:
      Posting Date in the Document
    • getPhysicalInventoryItemIsCounted

      @Nullable public Boolean getPhysicalInventoryItemIsCounted()
      Constraints: none

      Original property name from the Odata EDM: PhysicalInventoryItemIsCounted

      Returns:
      Item is Counted
    • getPhysInvtryDifferenceIsPosted

      @Nullable public Boolean getPhysInvtryDifferenceIsPosted()
      Constraints: none

      Original property name from the Odata EDM: PhysInvtryDifferenceIsPosted

      Returns:
      Difference of Item is Posted
    • getPhysInvtryItemIsRecounted

      @Nullable public Boolean getPhysInvtryItemIsRecounted()
      Constraints: none

      Original property name from the Odata EDM: PhysInvtryItemIsRecounted

      Returns:
      Item is Recounted
    • getPhysInvtryItemIsDeleted

      @Nullable public Boolean getPhysInvtryItemIsDeleted()
      Constraints: none

      Original property name from the Odata EDM: PhysInvtryItemIsDeleted

      Returns:
      Item is Deleted
    • getIsHandledInAltvUnitOfMsr

      @Nullable public Boolean getIsHandledInAltvUnitOfMsr()
      Constraints: none

      Original property name from the Odata EDM: IsHandledInAltvUnitOfMsr

      Returns:
      Without Unit of Measure Proposal
    • getCycleCountType

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

      Original property name from the Odata EDM: CycleCountType

      Returns:
      Cycle Count Type
    • getIsValueOnlyMaterial

      @Nullable public Boolean getIsValueOnlyMaterial()
      Constraints: none

      Original property name from the Odata EDM: IsValueOnlyMaterial

      Returns:
      Is Value-Only Material
    • getPhysInventoryReferenceNumber

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

      Original property name from the Odata EDM: PhysInventoryReferenceNumber

      Returns:
      Physical Inventory Reference
    • 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
    • getMaterialDocumentItem

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

      Original property name from the Odata EDM: MaterialDocumentItem

      Returns:
      Material Document Item
    • getPhysInvtryRecountDocument

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

      Original property name from the Odata EDM: PhysInvtryRecountDocument

      Returns:
      Number of Recount Document
    • getPhysicalInventoryItemIsZero

      @Nullable public Boolean getPhysicalInventoryItemIsZero()
      Constraints: none

      Original property name from the Odata EDM: PhysicalInventoryItemIsZero

      Returns:
      Is Zero Count
    • getReasonForPhysInvtryDifference

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

      Original property name from the Odata EDM: ReasonForPhysInvtryDifference

      Returns:
      Difference Reason
    • getMaterialBaseUnit

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

      Original property name from the Odata EDM: MaterialBaseUnit

      Returns:
      Base Unit of Measure
    • getBookQtyBfrCountInMatlBaseUnit

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

      Original property name from the Odata EDM: BookQtyBfrCountInMatlBaseUnit

      Returns:
      Book Quantity Immediately Prior to Count
    • getQuantity

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

      Original property name from the Odata EDM: Quantity

      Returns:
      Counted Quantity
    • getUnitOfEntry

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

      Original property name from the Odata EDM: UnitOfEntry

      Returns:
      Entry Unit
    • getQuantityInUnitOfEntry

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

      Original property name from the Odata EDM: QuantityInUnitOfEntry

      Returns:
      Counted Quantity in Entry Unit
    • getCurrency

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

      Original property name from the Odata EDM: Currency

      Returns:
      Company Code Currency
    • getDifferenceAmountInCoCodeCrcy

      @Nullable public BigDecimal getDifferenceAmountInCoCodeCrcy()
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: DifferenceAmountInCoCodeCrcy

      Returns:
      Value of Difference
    • getEnteredSlsAmtInCoCodeCrcy

      @Nullable public BigDecimal getEnteredSlsAmtInCoCodeCrcy()
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: EnteredSlsAmtInCoCodeCrcy

      Returns:
      Externally Entered Value Based on Sales Price
    • getSlsPriceAmountInCoCodeCrcy

      @Nullable public BigDecimal getSlsPriceAmountInCoCodeCrcy()
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: SlsPriceAmountInCoCodeCrcy

      Returns:
      Sales Price Book Value
    • getPhysInvtryCtAmtInCoCodeCrcy

      @Nullable public BigDecimal getPhysInvtryCtAmtInCoCodeCrcy()
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: PhysInvtryCtAmtInCoCodeCrcy

      Returns:
      Counted Quantity Value
    • getBookQtyAmountInCoCodeCrcy

      @Nullable public BigDecimal getBookQtyAmountInCoCodeCrcy()
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: BookQtyAmountInCoCodeCrcy

      Returns:
      Book Value
    • getLastChangeDateTime

      @Nullable public ZonedDateTime getLastChangeDateTime()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Last Change Timestamp
    • toString

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

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

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

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