@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultProductAllocationSequenceService") public class DefaultProductAllocationSequenceService extends Object implements ProductAllocationSequenceService
This service enables you to read header data for a specific product allocation sequence (including its description). Additionally, you can use the service to read, edit and delete any assigned product and product-location assignments.
Reference: SAP API Business Hub
OData Service: | OP_API_PRODUCT_ALLOC_SEQUENCE_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Product Allocation Sequence |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultProductAllocationSequenceService()
Creates a service using
ProductAllocationSequenceService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultProductAllocationSequenceService()
ProductAllocationSequenceService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultProductAllocationSequenceService withServicePath(@Nonnull String servicePath)
ProductAllocationSequenceService
withServicePath
in interface ProductAllocationSequenceService
servicePath
- Service path that will override the default.@Nonnull public DefaultProductAllocationSequenceServiceBatch batch()
batch
in interface BatchService<ProductAllocationSequenceServiceBatch>
@Nonnull public ProdAllocationSequenceFluentHelper getAllProdAllocationSequence()
ProductAllocationSequenceService
ProdAllocationSequence
entities.getAllProdAllocationSequence
in interface ProductAllocationSequenceService
ProdAllocationSequence
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.@Nonnull public ProdAllocationSequenceByKeyFluentHelper getProdAllocationSequenceByKey(UUID productAllocationSequenceUUID)
ProductAllocationSequenceService
ProdAllocationSequence
entity using key fields.getProdAllocationSequenceByKey
in interface ProductAllocationSequenceService
productAllocationSequenceUUID
- Product Allocation Sequence UUID
Constraints: Not nullable
ProdAllocationSequence
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.@Nonnull public ProdAllocationSequenceCreateFluentHelper createProdAllocationSequence(@Nonnull ProdAllocationSequence prodAllocationSequence)
ProductAllocationSequenceService
ProdAllocationSequence
entity and save it to the S/4HANA system.createProdAllocationSequence
in interface ProductAllocationSequenceService
prodAllocationSequence
- ProdAllocationSequence
entity object that will be created in the S/4HANA system.ProdAllocationSequence
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProdAllocSequenceTFluentHelper getAllProdAllocSequenceT()
ProductAllocationSequenceService
ProdAllocSequenceT
entities.getAllProdAllocSequenceT
in interface ProductAllocationSequenceService
ProdAllocSequenceT
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.@Nonnull public ProdAllocSequenceTByKeyFluentHelper getProdAllocSequenceTByKey(UUID productAllocationSequenceUUID, String language)
ProductAllocationSequenceService
ProdAllocSequenceT
entity using key fields.getProdAllocSequenceTByKey
in interface ProductAllocationSequenceService
productAllocationSequenceUUID
- Product Allocation Sequence UUID
Constraints: Not nullable
language
- Language Key
Constraints: Not nullable, Maximum length: 2
ProdAllocSequenceT
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.@Nonnull public ProdAllocSqncAssgmtFluentHelper getAllProdAllocSqncAssgmt()
ProductAllocationSequenceService
ProdAllocSqncAssgmt
entities.getAllProdAllocSqncAssgmt
in interface ProductAllocationSequenceService
ProdAllocSqncAssgmt
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.@Nonnull public ProdAllocSqncAssgmtByKeyFluentHelper getProdAllocSqncAssgmtByKey(UUID prodAllocSqncAssignmentUUID)
ProductAllocationSequenceService
ProdAllocSqncAssgmt
entity using key fields.getProdAllocSqncAssgmtByKey
in interface ProductAllocationSequenceService
prodAllocSqncAssignmentUUID
- Product Allocation Sequence Assignment UUID
Constraints: Not nullable
ProdAllocSqncAssgmt
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.@Nonnull public ProdAllocSqncAssgmtCreateFluentHelper createProdAllocSqncAssgmt(@Nonnull ProdAllocSqncAssgmt prodAllocSqncAssgmt)
ProductAllocationSequenceService
ProdAllocSqncAssgmt
entity and save it to the S/4HANA system.createProdAllocSqncAssgmt
in interface ProductAllocationSequenceService
prodAllocSqncAssgmt
- ProdAllocSqncAssgmt
entity object that will be created in the S/4HANA system.ProdAllocSqncAssgmt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProdAllocSqncAssgmtUpdateFluentHelper updateProdAllocSqncAssgmt(@Nonnull ProdAllocSqncAssgmt prodAllocSqncAssgmt)
ProductAllocationSequenceService
ProdAllocSqncAssgmt
entity and save it to the S/4HANA system.updateProdAllocSqncAssgmt
in interface ProductAllocationSequenceService
prodAllocSqncAssgmt
- ProdAllocSqncAssgmt
entity object that will be updated in the S/4HANA system.ProdAllocSqncAssgmt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DeleteSequenceAssignmentFluentHelper deleteSequenceAssignment(UUID prodAllocSqncAssignmentUUID)
ProductAllocationSequenceService
Creates a fluent helper for the DeleteSequenceAssignment OData function import.
deleteSequenceAssignment
in interface ProductAllocationSequenceService
prodAllocSqncAssignmentUUID
- Constraints: none
Original parameter name from the Odata EDM: ProdAllocSqncAssignmentUUID
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.