Interface PhysicalInventoryDocumentService

All Superinterfaces:
BatchService<PhysicalInventoryDocumentServiceBatch>
All Known Implementing Classes:
DefaultPhysicalInventoryDocumentService

@Deprecated public interface PhysicalInventoryDocumentService extends BatchService<PhysicalInventoryDocumentServiceBatch>
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

You can count items and post differences on both document and item level. The service can be consumed by external systems..

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: API_PHYSICAL_INVENTORY_DOC_SRV
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Physical Inventory Document Integration(SAP_COM_0107)
Scope Items: Physical Inventory - Inventory Count and Adjustment(BML), Physical Inventory - Inventory Count and Adjustment(OML)
Authentication Methods: x509
Business Object: Physical Inventory Document
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull PhysicalInventoryDocumentService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • getAllPhysInventoryDocHeader

      @Nonnull PhysInventoryDocHeaderFluentHelper getAllPhysInventoryDocHeader()
      Deprecated.
      Fetch multiple PhysInventoryDocHeader entities.
      Returns:
      A fluent helper to fetch multiple PhysInventoryDocHeader entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the fluent helper object.
    • getPhysInventoryDocHeaderByKey

      @Nonnull PhysInventoryDocHeaderByKeyFluentHelper getPhysInventoryDocHeaderByKey(String fiscalYear, String physicalInventoryDocument)
      Deprecated.
      Fetch a single PhysInventoryDocHeader entity using key fields.
      Parameters:
      fiscalYear - Fiscal Year

      Constraints: Not nullable, Maximum length: 4

      physicalInventoryDocument - Physical Inventory Document

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A fluent helper to fetch a single PhysInventoryDocHeader entity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the fluent helper object.
    • createPhysInventoryDocHeader

      @Nonnull PhysInventoryDocHeaderCreateFluentHelper createPhysInventoryDocHeader(@Nonnull PhysInventoryDocHeader physInventoryDocHeader)
      Deprecated.
      Create a new PhysInventoryDocHeader entity and save it to the S/4HANA system.
      Parameters:
      physInventoryDocHeader - PhysInventoryDocHeader entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new PhysInventoryDocHeader entity. To perform execution, call the execute method on the fluent helper object.
    • getAllPhysInventoryDocItem

      @Nonnull PhysInventoryDocItemFluentHelper getAllPhysInventoryDocItem()
      Deprecated.
      Fetch multiple PhysInventoryDocItem entities.
      Returns:
      A fluent helper to fetch multiple PhysInventoryDocItem entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the fluent helper object.
    • getPhysInventoryDocItemByKey

      @Nonnull PhysInventoryDocItemByKeyFluentHelper getPhysInventoryDocItemByKey(String fiscalYear, String physicalInventoryDocument, String physicalInventoryDocumentItem)
      Deprecated.
      Fetch a single PhysInventoryDocItem entity using key fields.
      Parameters:
      physicalInventoryDocumentItem - Physical Inventory Item Number

      Constraints: Not nullable, Maximum length: 3

      fiscalYear - Fiscal Year

      Constraints: Not nullable, Maximum length: 4

      physicalInventoryDocument - Physical Inventory Document

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A fluent helper to fetch a single PhysInventoryDocItem entity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the fluent helper object.
    • updatePhysInventoryDocItem

      @Nonnull PhysInventoryDocItemUpdateFluentHelper updatePhysInventoryDocItem(@Nonnull PhysInventoryDocItem physInventoryDocItem)
      Deprecated.
      Update an existing PhysInventoryDocItem entity and save it to the S/4HANA system.
      Parameters:
      physInventoryDocItem - PhysInventoryDocItem entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing PhysInventoryDocItem entity. To perform execution, call the execute method on the fluent helper object.
    • getAllSerialNumberPhysInventoryDoc

      @Nonnull SerialNumberPhysInventoryDocFluentHelper getAllSerialNumberPhysInventoryDoc()
      Deprecated.
      Fetch multiple SerialNumberPhysInventoryDoc entities.
      Returns:
      A fluent helper to fetch multiple SerialNumberPhysInventoryDoc entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the fluent helper object.
    • getSerialNumberPhysInventoryDocByKey

      @Nonnull SerialNumberPhysInventoryDocByKeyFluentHelper getSerialNumberPhysInventoryDocByKey(String equipment, String fiscalYear, String physicalInventoryDocument, String physicalInventoryDocumentItem, String serialNumberPhysicalInvtryType)
      Deprecated.
      Fetch a single SerialNumberPhysInventoryDoc entity using key fields.
      Parameters:
      physicalInventoryDocumentItem - Line Number

      Constraints: Not nullable, Maximum length: 3

      serialNumberPhysicalInvtryType - Serial Number Physical Inventory Type

      Constraints: Not nullable, Maximum length: 1

      equipment - Equipment Number

      Constraints: Not nullable, Maximum length: 18

      fiscalYear - Fiscal Year

      Constraints: Not nullable, Maximum length: 4

      physicalInventoryDocument - Physical Inventory Document

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A fluent helper to fetch a single SerialNumberPhysInventoryDoc entity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the fluent helper object.
    • updateSerialNumberPhysInventoryDoc

      @Nonnull SerialNumberPhysInventoryDocUpdateFluentHelper updateSerialNumberPhysInventoryDoc(@Nonnull SerialNumberPhysInventoryDoc serialNumberPhysInventoryDoc)
      Deprecated.
      Update an existing SerialNumberPhysInventoryDoc entity and save it to the S/4HANA system.
      Parameters:
      serialNumberPhysInventoryDoc - SerialNumberPhysInventoryDoc entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing SerialNumberPhysInventoryDoc entity. To perform execution, call the execute method on the fluent helper object.
    • postDifferences

      @Nonnull PostDifferencesFluentHelper postDifferences(@Nullable BigDecimal postingThresholdValue, @Nullable LocalDateTime postingDate, @Nonnull String physicalInventoryDocument, @Nonnull String fiscalYear)
      Deprecated.

      Creates a fluent helper for the PostDifferences OData function import.

      Parameters:
      postingThresholdValue - Threshold Value

      Constraints: Nullable, Precision: 14, Scale: 3

      Original parameter name from the Odata EDM: PostingThresholdValue

      postingDate - Posting Date

      Constraints: Nullable, Precision: 0

      Original parameter name from the Odata EDM: PostingDate

      fiscalYear - Fiscal Year

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: FiscalYear

      physicalInventoryDocument - Phys. Inventory Doc.

      Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: PhysicalInventoryDocument

      Returns:
      A fluent helper object that will execute the PostDifferences OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • postDifferencesOnItem

      @Nonnull PostDifferencesOnItemFluentHelper postDifferencesOnItem(@Nonnull String physicalInventoryDocumentItem, @Nonnull String material, @Nonnull String physicalInventoryDocument, @Nonnull String fiscalYear, @Nullable String batch, @Nullable String reasonForPhysInvtryDifference, @Nullable LocalDateTime postingDate)
      Deprecated.

      Creates a fluent helper for the PostDifferencesOnItem OData function import.

      Parameters:
      physicalInventoryDocumentItem - Item

      Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: PhysicalInventoryDocumentItem

      material - Material

      Constraints: Not nullable, Maximum length: 40

      Original parameter name from the Odata EDM: Material

      reasonForPhysInvtryDifference - Reason f. Diff.

      Constraints: Nullable, Maximum length: 4

      Original parameter name from the Odata EDM: ReasonForPhysInvtryDifference

      batch - Batch

      Constraints: Nullable, Maximum length: 10

      Original parameter name from the Odata EDM: Batch

      postingDate - Posting Date

      Constraints: Nullable, Precision: 0

      Original parameter name from the Odata EDM: PostingDate

      fiscalYear - Fiscal Year

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: FiscalYear

      physicalInventoryDocument - Phys. Inventory Doc.

      Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: PhysicalInventoryDocument

      Returns:
      A fluent helper object that will execute the PostDifferencesOnItem OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • initiateRecount

      @Nonnull InitiateRecountFluentHelper initiateRecount(@Nonnull String physicalInventoryDocument, @Nonnull String fiscalYear, @Nullable LocalDateTime physInventoryPlannedCountDate, @Nullable LocalDateTime documentDate, @Nullable String physicalInventoryNumber, @Nullable String physInventoryReferenceNumber, @Nullable String physicalInventoryDocumentDesc, @Nullable BigDecimal postingThresholdValue, @Nullable Boolean physInvtryDocHasQtySnapshot, @Nullable Boolean postingIsBlockedForPhysInvtry)
      Deprecated.

      Creates a fluent helper for the InitiateRecount OData function import.

      Parameters:
      documentDate - Document Date

      Constraints: Nullable, Precision: 0

      Original parameter name from the Odata EDM: DocumentDate

      physInvtryDocHasQtySnapshot - Freeze Book Invtry

      Constraints: Nullable

      Original parameter name from the Odata EDM: PhysInvtryDocHasQtySnapshot

      postingThresholdValue - Threshold Value

      Constraints: Nullable, Precision: 14, Scale: 3

      Original parameter name from the Odata EDM: PostingThresholdValue

      physInventoryPlannedCountDate - Planned Count Date

      Constraints: Nullable, Precision: 0

      Original parameter name from the Odata EDM: PhysInventoryPlannedCountDate

      postingIsBlockedForPhysInvtry - Phys. Inv. Block

      Constraints: Nullable

      Original parameter name from the Odata EDM: PostingIsBlockedForPhysInvtry

      fiscalYear - Fiscal Year

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: FiscalYear

      physicalInventoryNumber - Phys. inventory no.

      Constraints: Nullable, Maximum length: 16

      Original parameter name from the Odata EDM: PhysicalInventoryNumber

      physicalInventoryDocument - Phys. Inventory Doc.

      Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: PhysicalInventoryDocument

      physInventoryReferenceNumber - Phys. inventory ref.

      Constraints: Nullable, Maximum length: 16

      Original parameter name from the Odata EDM: PhysInventoryReferenceNumber

      physicalInventoryDocumentDesc - Description

      Constraints: Nullable, Maximum length: 40

      Original parameter name from the Odata EDM: PhysicalInventoryDocumentDesc

      Returns:
      A fluent helper object that will execute the InitiateRecount OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • initiateRecountOnItem

      @Nonnull InitiateRecountOnItemFluentHelper initiateRecountOnItem(@Nonnull String physicalInventoryDocument, @Nonnull String fiscalYear, @Nonnull String physicalInventoryDocumentItem, @Nullable LocalDateTime physInventoryPlannedCountDate, @Nullable LocalDateTime documentDate, @Nullable String physicalInventoryNumber, @Nullable String physInventoryReferenceNumber, @Nullable String physicalInventoryDocumentDesc, @Nullable Boolean physInvtryDocHasQtySnapshot, @Nullable Boolean postingIsBlockedForPhysInvtry)
      Deprecated.

      Creates a fluent helper for the InitiateRecountOnItem OData function import.

      Parameters:
      documentDate - Document Date

      Constraints: Nullable, Precision: 0

      Original parameter name from the Odata EDM: DocumentDate

      physicalInventoryDocumentItem - Item

      Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: PhysicalInventoryDocumentItem

      physInvtryDocHasQtySnapshot - Freeze Book Invtry

      Constraints: Nullable

      Original parameter name from the Odata EDM: PhysInvtryDocHasQtySnapshot

      physInventoryPlannedCountDate - Planned Count Date

      Constraints: Nullable, Precision: 0

      Original parameter name from the Odata EDM: PhysInventoryPlannedCountDate

      postingIsBlockedForPhysInvtry - Phys. Inv. Block

      Constraints: Nullable

      Original parameter name from the Odata EDM: PostingIsBlockedForPhysInvtry

      fiscalYear - Fiscal Year

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: FiscalYear

      physicalInventoryNumber - Phys. inventory no.

      Constraints: Nullable, Maximum length: 16

      Original parameter name from the Odata EDM: PhysicalInventoryNumber

      physicalInventoryDocument - Phys. Inventory Doc.

      Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: PhysicalInventoryDocument

      physInventoryReferenceNumber - Phys. inventory ref.

      Constraints: Nullable, Maximum length: 16

      Original parameter name from the Odata EDM: PhysInventoryReferenceNumber

      physicalInventoryDocumentDesc - Description

      Constraints: Nullable, Maximum length: 40

      Original parameter name from the Odata EDM: PhysicalInventoryDocumentDesc

      Returns:
      A fluent helper object that will execute the InitiateRecountOnItem OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.