@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultSupplyAssignmentPriorityService") public class DefaultSupplyAssignmentPriorityService extends Object implements SupplyAssignmentPriorityService
This service enables you to read and update the values of supply assignment demand priority and demand group priority of sales orders, fashion contracts, and stock transport orders from the SAP S/4HANA system. The service contains only the item node. Note: You can use the functionality of this service only by activating the business functions ISR_RETAILSYSTEM and SUPPLY_ASSIGNMENT_01..
Reference: SAP API Business Hub
OData Service: | OP_API_SUPPLY_ASSIGNMENT_PRIORITY_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Sales Order |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultSupplyAssignmentPriorityService()
Creates a service using
SupplyAssignmentPriorityService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultSupplyAssignmentPriorityServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
ARunPriorityCreateFluentHelper |
createARunPriority(ARunPriority aRunPriority)
Create a new
ARunPriority entity and save it to the S/4HANA system. |
ARunPriorityFluentHelper |
getAllARunPriority()
Fetch multiple
ARunPriority entities. |
ARunPriorityByKeyFluentHelper |
getARunPriorityByKey(String requirementDocumentNumber,
String requirementDocumentItem,
String requirementType)
Fetch a single
ARunPriority entity using key fields. |
DefaultSupplyAssignmentPriorityService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultSupplyAssignmentPriorityService()
SupplyAssignmentPriorityService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultSupplyAssignmentPriorityService withServicePath(@Nonnull String servicePath)
SupplyAssignmentPriorityService
withServicePath
in interface SupplyAssignmentPriorityService
servicePath
- Service path that will override the default.@Nonnull public DefaultSupplyAssignmentPriorityServiceBatch batch()
batch
in interface BatchService<SupplyAssignmentPriorityServiceBatch>
@Nonnull public ARunPriorityFluentHelper getAllARunPriority()
SupplyAssignmentPriorityService
ARunPriority
entities.getAllARunPriority
in interface SupplyAssignmentPriorityService
ARunPriority
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 ARunPriorityByKeyFluentHelper getARunPriorityByKey(String requirementDocumentNumber, String requirementDocumentItem, String requirementType)
SupplyAssignmentPriorityService
ARunPriority
entity using key fields.getARunPriorityByKey
in interface SupplyAssignmentPriorityService
requirementDocumentNumber
- Sales Document
Constraints: Not nullable, Maximum length: 10
requirementDocumentItem
- Sales Document Item
Constraints: Not nullable, Maximum length: 6
requirementType
- Requirement Type
Constraints: Not nullable, Maximum length: 2
ARunPriority
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 ARunPriorityCreateFluentHelper createARunPriority(@Nonnull ARunPriority aRunPriority)
SupplyAssignmentPriorityService
ARunPriority
entity and save it to the S/4HANA system.createARunPriority
in interface SupplyAssignmentPriorityService
aRunPriority
- ARunPriority
entity object that will be created in the S/4HANA system.ARunPriority
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.