Class DefaultBufferSizingService

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBufferSizingService
All Implemented Interfaces:
BatchService<BufferSizingServiceBatch>, BufferSizingService

@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBufferSizingService") @Deprecated public class DefaultBufferSizingService extends Object implements BufferSizingService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

The service contains header and item entities. For read operations, filter information must be sent according to the OData protocol. All filter information is utilized when retrieving buffer sizing data, such as, buffer proposals, average daily usage (ADU), decoupled lead time (DLT), demand and zone adjustments. The buffer proposal, ADU, DLT, longest path in BOM, and actual stock level details are sent in the response. If any issues arise when buffer sizing details are retrieved, the system displays error messages in the response..

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: API_BUFFERSIZING_SRV
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Buffer Sizing Integration(SAP_COM_0359)
Scope Items: Demand-Driven Buffer Level Management(1Y2)
Authentication Methods: x509
Business Object: Product
  • Constructor Details

  • Method Details

    • withServicePath

      @Nonnull public DefaultBufferSizingService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Description copied from interface: BufferSizingService
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Specified by:
      withServicePath in interface BufferSizingService
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      @Nonnull public DefaultBufferSizingServiceBatch batch()
      Deprecated.
      Specified by:
      batch in interface BatchService<BufferSizingServiceBatch>
    • getAllDemandAdjustments

      @Nonnull public DemandAdjustmentsFluentHelper getAllDemandAdjustments()
      Deprecated.
      Description copied from interface: BufferSizingService
      Fetch multiple DemandAdjustments entities.
      Specified by:
      getAllDemandAdjustments in interface BufferSizingService
      Returns:
      A fluent helper to fetch multiple DemandAdjustments 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.
    • getDemandAdjustmentsByKey

      @Nonnull public DemandAdjustmentsByKeyFluentHelper getDemandAdjustmentsByKey(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion, LocalDateTime proposalDmndAdjmtFctrStartDate)
      Deprecated.
      Description copied from interface: BufferSizingService
      Fetch a single DemandAdjustments entity using key fields.
      Specified by:
      getDemandAdjustmentsByKey in interface BufferSizingService
      Parameters:
      material - Material Number

      Constraints: Not nullable, Maximum length: 18

      plant - Plant

      Constraints: Not nullable, Maximum length: 4

      mRPArea - MRP Area

      Constraints: Not nullable, Maximum length: 10

      proposalStartDate - Proposal Validity From Date

      Constraints: Not nullable, Precision: 0

      proposalVersion - Proposal Version

      Constraints: Not nullable, Maximum length: 8

      proposalDmndAdjmtFctrStartDate - Proposal Details Valid From

      Constraints: Not nullable, Precision: 0

      Returns:
      A fluent helper to fetch a single DemandAdjustments 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.
    • updateDemandAdjustments

      @Nonnull public DemandAdjustmentsUpdateFluentHelper updateDemandAdjustments(@Nonnull DemandAdjustments demandAdjustments)
      Deprecated.
      Description copied from interface: BufferSizingService
      Update an existing DemandAdjustments entity and save it to the S/4HANA system.
      Specified by:
      updateDemandAdjustments in interface BufferSizingService
      Parameters:
      demandAdjustments - DemandAdjustments entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing DemandAdjustments entity. To perform execution, call the execute method on the fluent helper object.
    • getAllDemandAdjustmentFactors

      @Nonnull public DemandAdjustmentFactorsFluentHelper getAllDemandAdjustmentFactors()
      Deprecated.
      Description copied from interface: BufferSizingService
      Fetch multiple DemandAdjustmentFactors entities.
      Specified by:
      getAllDemandAdjustmentFactors in interface BufferSizingService
      Returns:
      A fluent helper to fetch multiple DemandAdjustmentFactors 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.
    • getDemandAdjustmentFactorsByKey

      @Nonnull public DemandAdjustmentFactorsByKeyFluentHelper getDemandAdjustmentFactorsByKey(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion, LocalDateTime proposalDmndAdjmtFctrStartDate)
      Deprecated.
      Description copied from interface: BufferSizingService
      Fetch a single DemandAdjustmentFactors entity using key fields.
      Specified by:
      getDemandAdjustmentFactorsByKey in interface BufferSizingService
      Parameters:
      material - Material Number

      Constraints: Not nullable, Maximum length: 18

      plant - Plant

      Constraints: Not nullable, Maximum length: 4

      mRPArea - MRP Area

      Constraints: Not nullable, Maximum length: 10

      proposalStartDate - Proposal Validity From Date

      Constraints: Not nullable, Precision: 0

      proposalVersion - Proposal Version

      Constraints: Not nullable, Maximum length: 8

      proposalDmndAdjmtFctrStartDate - Proposal Details Valid From

      Constraints: Not nullable, Precision: 0

      Returns:
      A fluent helper to fetch a single DemandAdjustmentFactors 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.
    • updateDemandAdjustmentFactors

      @Nonnull public DemandAdjustmentFactorsUpdateFluentHelper updateDemandAdjustmentFactors(@Nonnull DemandAdjustmentFactors demandAdjustmentFactors)
      Deprecated.
      Description copied from interface: BufferSizingService
      Update an existing DemandAdjustmentFactors entity and save it to the S/4HANA system.
      Specified by:
      updateDemandAdjustmentFactors in interface BufferSizingService
      Parameters:
      demandAdjustmentFactors - DemandAdjustmentFactors entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing DemandAdjustmentFactors entity. To perform execution, call the execute method on the fluent helper object.
    • getAllZoneAdjustments

      @Nonnull public ZoneAdjustmentsFluentHelper getAllZoneAdjustments()
      Deprecated.
      Description copied from interface: BufferSizingService
      Fetch multiple ZoneAdjustments entities.
      Specified by:
      getAllZoneAdjustments in interface BufferSizingService
      Returns:
      A fluent helper to fetch multiple ZoneAdjustments 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.
    • getZoneAdjustmentsByKey

      @Nonnull public ZoneAdjustmentsByKeyFluentHelper getZoneAdjustmentsByKey(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion, LocalDateTime bufPrpslZoneAdjmtFctrStartDate)
      Deprecated.
      Description copied from interface: BufferSizingService
      Fetch a single ZoneAdjustments entity using key fields.
      Specified by:
      getZoneAdjustmentsByKey in interface BufferSizingService
      Parameters:
      material - Material Number

      Constraints: Not nullable, Maximum length: 18

      plant - Plant

      Constraints: Not nullable, Maximum length: 4

      mRPArea - MRP Area

      Constraints: Not nullable, Maximum length: 10

      proposalStartDate - Proposal Validity From Date

      Constraints: Not nullable, Precision: 0

      proposalVersion - Proposal Version

      Constraints: Not nullable, Maximum length: 8

      bufPrpslZoneAdjmtFctrStartDate - Proposal Zones Valid From

      Constraints: Not nullable, Precision: 0

      Returns:
      A fluent helper to fetch a single ZoneAdjustments 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.
    • updateZoneAdjustments

      @Nonnull public ZoneAdjustmentsUpdateFluentHelper updateZoneAdjustments(@Nonnull ZoneAdjustments zoneAdjustments)
      Deprecated.
      Description copied from interface: BufferSizingService
      Update an existing ZoneAdjustments entity and save it to the S/4HANA system.
      Specified by:
      updateZoneAdjustments in interface BufferSizingService
      Parameters:
      zoneAdjustments - ZoneAdjustments entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing ZoneAdjustments entity. To perform execution, call the execute method on the fluent helper object.
    • getAllProposalHeader

      @Nonnull public ProposalHeaderFluentHelper getAllProposalHeader()
      Deprecated.
      Description copied from interface: BufferSizingService
      Fetch multiple ProposalHeader entities.
      Specified by:
      getAllProposalHeader in interface BufferSizingService
      Returns:
      A fluent helper to fetch multiple ProposalHeader 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.
    • getProposalHeaderByKey

      @Nonnull public ProposalHeaderByKeyFluentHelper getProposalHeaderByKey(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion)
      Deprecated.
      Description copied from interface: BufferSizingService
      Fetch a single ProposalHeader entity using key fields.
      Specified by:
      getProposalHeaderByKey in interface BufferSizingService
      Parameters:
      material - Material Number

      Constraints: Not nullable, Maximum length: 18

      plant - Plant

      Constraints: Not nullable, Maximum length: 4

      mRPArea - MRP Area

      Constraints: Not nullable, Maximum length: 10

      proposalStartDate - Proposal Validity From Date

      Constraints: Not nullable, Precision: 0

      proposalVersion - Proposal Version

      Constraints: Not nullable, Maximum length: 8

      Returns:
      A fluent helper to fetch a single ProposalHeader 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.
    • createProposalHeader

      @Nonnull public ProposalHeaderCreateFluentHelper createProposalHeader(@Nonnull ProposalHeader proposalHeader)
      Deprecated.
      Description copied from interface: BufferSizingService
      Create a new ProposalHeader entity and save it to the S/4HANA system.
      Specified by:
      createProposalHeader in interface BufferSizingService
      Parameters:
      proposalHeader - ProposalHeader entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new ProposalHeader entity. To perform execution, call the execute method on the fluent helper object.
    • getAllActualStock

      @Nonnull public ActualStockFluentHelper getAllActualStock()
      Deprecated.
      Description copied from interface: BufferSizingService
      Fetch multiple ActualStock entities.
      Specified by:
      getAllActualStock in interface BufferSizingService
      Returns:
      A fluent helper to fetch multiple ActualStock 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.
    • getActualStockByKey

      @Nonnull public ActualStockByKeyFluentHelper getActualStockByKey(String material, String plant, String mRPArea, LocalDateTime bufferLevelStartDate)
      Deprecated.
      Description copied from interface: BufferSizingService
      Fetch a single ActualStock entity using key fields.
      Specified by:
      getActualStockByKey in interface BufferSizingService
      Parameters:
      material - Material Number

      Constraints: Not nullable, Maximum length: 18

      plant - Plant

      Constraints: Not nullable, Maximum length: 4

      mRPArea - MRP Area

      Constraints: Not nullable, Maximum length: 10

      bufferLevelStartDate - Valid-From Date

      Constraints: Not nullable, Precision: 0

      Returns:
      A fluent helper to fetch a single ActualStock 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.
    • getAllLongestPathInBOM

      @Nonnull public LongestPathInBOMFluentHelper getAllLongestPathInBOM()
      Deprecated.
      Description copied from interface: BufferSizingService
      Fetch multiple LongestPathInBOM entities.
      Specified by:
      getAllLongestPathInBOM in interface BufferSizingService
      Returns:
      A fluent helper to fetch multiple LongestPathInBOM 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.
    • getLongestPathInBOMByKey

      @Nonnull public LongestPathInBOMByKeyFluentHelper getLongestPathInBOMByKey(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion, UUID billOfMaterialUUID, String parentComponent, String parentPlant, String billOfMaterialComponent, String componentPlant)
      Deprecated.
      Description copied from interface: BufferSizingService
      Fetch a single LongestPathInBOM entity using key fields.
      Specified by:
      getLongestPathInBOMByKey in interface BufferSizingService
      Parameters:
      material - Material Number

      Constraints: Not nullable, Maximum length: 18

      plant - Plant

      Constraints: Not nullable, Maximum length: 4

      mRPArea - MRP Area

      Constraints: Not nullable, Maximum length: 10

      proposalStartDate - Proposal Validity From Date

      Constraints: Not nullable, Precision: 0

      proposalVersion - Proposal Version

      Constraints: Not nullable, Maximum length: 8

      billOfMaterialUUID - Internal Key for BOMID

      Constraints: Not nullable

      parentComponent - Parent BOM Component

      Constraints: Not nullable, Maximum length: 18

      parentPlant - Parent Plant

      Constraints: Not nullable, Maximum length: 4

      billOfMaterialComponent - BOM component

      Constraints: Not nullable, Maximum length: 18

      componentPlant - Component Plant

      Constraints: Not nullable, Maximum length: 4

      Returns:
      A fluent helper to fetch a single LongestPathInBOM 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.
    • adopt

      @Nonnull public AdoptFluentHelper adopt(@Nonnull String material, @Nonnull String plant, @Nonnull String mRPArea, @Nonnull LocalDateTime proposalStartDate, @Nonnull String proposalVersion)
      Deprecated.
      Description copied from interface: BufferSizingService

      Creates a fluent helper for the Adopt OData function import.

      Specified by:
      adopt in interface BufferSizingService
      Parameters:
      material - Material

      Constraints: Not nullable, Maximum length: 40

      Original parameter name from the Odata EDM: Material

      plant - Plant

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: Plant

      mRPArea - MRP Area

      Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: MRPArea

      proposalStartDate - Proposal Valid From

      Constraints: Not nullable, Precision: 0

      Original parameter name from the Odata EDM: ProposalStartDate

      proposalVersion - Proposal Version

      Constraints: Not nullable, Maximum length: 8

      Original parameter name from the Odata EDM: ProposalVersion

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

      @Nonnull public DiscardFluentHelper discard(@Nonnull String material, @Nonnull String plant, @Nonnull String mRPArea, @Nonnull LocalDateTime proposalStartDate, @Nonnull String proposalVersion)
      Deprecated.
      Description copied from interface: BufferSizingService

      Creates a fluent helper for the Discard OData function import.

      Specified by:
      discard in interface BufferSizingService
      Parameters:
      material - Material

      Constraints: Not nullable, Maximum length: 40

      Original parameter name from the Odata EDM: Material

      plant - Plant

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: Plant

      mRPArea - MRP Area

      Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: MRPArea

      proposalStartDate - Proposal Valid From

      Constraints: Not nullable, Precision: 0

      Original parameter name from the Odata EDM: ProposalStartDate

      proposalVersion - Proposal Version

      Constraints: Not nullable, Maximum length: 8

      Original parameter name from the Odata EDM: ProposalVersion

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

      @Nonnull public ResumeFluentHelper resume(@Nonnull String material, @Nonnull String plant, @Nonnull String mRPArea, @Nonnull LocalDateTime proposalStartDate, @Nonnull String proposalVersion)
      Deprecated.
      Description copied from interface: BufferSizingService

      Creates a fluent helper for the Resume OData function import.

      Specified by:
      resume in interface BufferSizingService
      Parameters:
      material - Material

      Constraints: Not nullable, Maximum length: 40

      Original parameter name from the Odata EDM: Material

      plant - Plant

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: Plant

      mRPArea - MRP Area

      Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: MRPArea

      proposalStartDate - Proposal Valid From

      Constraints: Not nullable, Precision: 0

      Original parameter name from the Odata EDM: ProposalStartDate

      proposalVersion - Proposal Version

      Constraints: Not nullable, Maximum length: 8

      Original parameter name from the Odata EDM: ProposalVersion

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

      @Nonnull public SuspendFluentHelper suspend(@Nonnull String material, @Nonnull String plant, @Nonnull String mRPArea, @Nonnull LocalDateTime proposalStartDate, @Nonnull String proposalVersion, @Nullable String stockLevelProposalStatus, @Nullable LocalDateTime proposalRunSuspendedFromDate, @Nullable LocalDateTime proposalRunSuspendedToDate)
      Deprecated.
      Description copied from interface: BufferSizingService

      Creates a fluent helper for the Suspend OData function import.

      Specified by:
      suspend in interface BufferSizingService
      Parameters:
      material - Material

      Constraints: Not nullable, Maximum length: 40

      Original parameter name from the Odata EDM: Material

      plant - Plant

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: Plant

      mRPArea - MRP Area

      Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: MRPArea

      proposalStartDate - Proposal Valid From

      Constraints: Not nullable, Precision: 0

      Original parameter name from the Odata EDM: ProposalStartDate

      proposalVersion - Proposal Version

      Constraints: Not nullable, Maximum length: 8

      Original parameter name from the Odata EDM: ProposalVersion

      stockLevelProposalStatus - Proposal Status

      Constraints: Nullable, Maximum length: 1

      Original parameter name from the Odata EDM: StockLevelProposalStatus

      proposalRunSuspendedFromDate - Prpsl Run Susp Start

      Constraints: Nullable, Precision: 0

      Original parameter name from the Odata EDM: ProposalRunSuspendedFromDate

      proposalRunSuspendedToDate - Prpsl Run Susp End

      Constraints: Nullable, Precision: 0

      Original parameter name from the Odata EDM: ProposalRunSuspendedToDate

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