public interface SupplyAssignmentService extends BatchService<SupplyAssignmentServiceBatch>
This service enables you to read the existing supply assignments of different requirement documents from the SAP S/4HANA system. You can use this service to save the supply assignments in SAP S/4HANA system. The service contains only the item node. You can also use this service to unassign existing assignments from different requirement documents (sales order, fashion contract, stock transport order, production order, and subcontracting order components). 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_ARUN_SUPPLY_ASSIGNMENT_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Sales Order |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
SUPPLYASSIGNMENTCreateFluentHelper |
createSUPPLYASSIGNMENT(SUPPLYASSIGNMENT sUPPLYASSIGNMENT)
Create a new
SUPPLYASSIGNMENT entity and save it to the S/4HANA system. |
SupplyAssignment_2FluentHelper |
getAllSupplyAssignment_2()
Fetch multiple
SupplyAssignment_2 entities. |
SupplyAssignment_2ByKeyFluentHelper |
getSupplyAssignment_2ByKey(String plant,
String material,
String storageLocation,
String requirementType,
String requirementDocumentNumber,
String requirementDocumentItem,
String assignedSupplyType,
String supplyNumber,
String supplyItem,
String supplyScheduleLine,
String supplyAssignmentStatus,
LocalDateTime requestedDate,
LocalDateTime productAvailabilityDate)
Fetch a single
SupplyAssignment_2 entity using key fields. |
SUPPLYUNASSIGNMENTUpdateFluentHelper |
updateSUPPLYUNASSIGNMENT(SUPPLYUNASSIGNMENT sUPPLYUNASSIGNMENT)
Update an existing
SUPPLYUNASSIGNMENT entity and save it to the S/4HANA system. |
SupplyAssignmentService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull SupplyAssignmentService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull SUPPLYUNASSIGNMENTUpdateFluentHelper updateSUPPLYUNASSIGNMENT(@Nonnull SUPPLYUNASSIGNMENT sUPPLYUNASSIGNMENT)
SUPPLYUNASSIGNMENT
entity and save it to the S/4HANA system.sUPPLYUNASSIGNMENT
- SUPPLYUNASSIGNMENT
entity object that will be updated in the S/4HANA system.SUPPLYUNASSIGNMENT
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull SUPPLYASSIGNMENTCreateFluentHelper createSUPPLYASSIGNMENT(@Nonnull SUPPLYASSIGNMENT sUPPLYASSIGNMENT)
SUPPLYASSIGNMENT
entity and save it to the S/4HANA system.sUPPLYASSIGNMENT
- SUPPLYASSIGNMENT
entity object that will be created in the S/4HANA system.SUPPLYASSIGNMENT
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull SupplyAssignment_2FluentHelper getAllSupplyAssignment_2()
SupplyAssignment_2
entities.SupplyAssignment_2
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 SupplyAssignment_2ByKeyFluentHelper getSupplyAssignment_2ByKey(String plant, String material, String storageLocation, String requirementType, String requirementDocumentNumber, String requirementDocumentItem, String assignedSupplyType, String supplyNumber, String supplyItem, String supplyScheduleLine, String supplyAssignmentStatus, LocalDateTime requestedDate, LocalDateTime productAvailabilityDate)
SupplyAssignment_2
entity using key fields.supplyAssignmentStatus
- ARun Status
Constraints: Not nullable, Maximum length: 1
productAvailabilityDate
- Material Staging/Availability Date
Constraints: Not nullable, Precision: 0
storageLocation
- Storage location
Constraints: Not nullable, Maximum length: 4
requirementDocumentNumber
- supplyNumber
- requirementType
- Requirement Type
Constraints: Not nullable, Maximum length: 2
requirementDocumentItem
- material
- Material Number
Constraints: Not nullable, Maximum length: 40
plant
- Plant
Constraints: Not nullable, Maximum length: 4
assignedSupplyType
- ARun Stock Source
Constraints: Not nullable, Maximum length: 1
supplyItem
- requestedDate
- Requested date
Constraints: Not nullable, Precision: 0
supplyScheduleLine
- SupplyAssignment_2
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.Copyright © 2021 SAP SE. All rights reserved.