@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultProductionOrderConfirmationV2Service") public class DefaultProductionOrderConfirmationV2Service extends Object implements ProductionOrderConfirmationV2Service
You can create time ticket confirmations and confirmations on order level, read them, and cancel the confirmations on time ticket or order level.
Reference: SAP API Business Hub
OData Service: | OP_API_PROD_ORDER_CONFIRMATIO_2_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Production Order Confirmation |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultProductionOrderConfirmationV2Service()
Creates a service using
ProductionOrderConfirmationV2Service.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultProductionOrderConfirmationV2ServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
CancelProdnOrdConfFluentHelper |
cancelProdnOrdConf(String confirmationGroup,
String confirmationCount,
LocalDateTime postingDate,
String confirmationText,
UUID externalSystemConfirmation)
Creates a fluent helper for the CancelProdnOrdConf OData function import.
|
ProdnOrdConf2CreateFluentHelper |
createProdnOrdConf2(ProdnOrdConf2 prodnOrdConf2)
Create a new
ProdnOrdConf2 entity and save it to the S/4HANA system. |
ProdnOrdConf2FluentHelper |
getAllProdnOrdConf2()
Fetch multiple
ProdnOrdConf2 entities. |
ProdnOrdConfMatlDocItmFluentHelper |
getAllProdnOrdConfMatlDocItm()
Fetch multiple
ProdnOrdConfMatlDocItm entities. |
ProdnOrdConf2ByKeyFluentHelper |
getProdnOrdConf2ByKey(String confirmationGroup,
String confirmationCount)
Fetch a single
ProdnOrdConf2 entity using key fields. |
ProdnOrdConfMatlDocItmByKeyFluentHelper |
getProdnOrdConfMatlDocItmByKey(String confirmationGroup,
String confirmationCount,
String materialDocument,
String materialDocumentItem,
String materialDocumentYear)
Fetch a single
ProdnOrdConfMatlDocItm entity using key fields. |
DefaultProductionOrderConfirmationV2Service |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultProductionOrderConfirmationV2Service()
ProductionOrderConfirmationV2Service.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultProductionOrderConfirmationV2Service withServicePath(@Nonnull String servicePath)
ProductionOrderConfirmationV2Service
withServicePath
in interface ProductionOrderConfirmationV2Service
servicePath
- Service path that will override the default.@Nonnull public DefaultProductionOrderConfirmationV2ServiceBatch batch()
batch
in interface BatchService<ProductionOrderConfirmationV2ServiceBatch>
@Nonnull public ProdnOrdConfMatlDocItmFluentHelper getAllProdnOrdConfMatlDocItm()
ProductionOrderConfirmationV2Service
ProdnOrdConfMatlDocItm
entities.getAllProdnOrdConfMatlDocItm
in interface ProductionOrderConfirmationV2Service
ProdnOrdConfMatlDocItm
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 ProdnOrdConfMatlDocItmByKeyFluentHelper getProdnOrdConfMatlDocItmByKey(String confirmationGroup, String confirmationCount, String materialDocument, String materialDocumentItem, String materialDocumentYear)
ProductionOrderConfirmationV2Service
ProdnOrdConfMatlDocItm
entity using key fields.getProdnOrdConfMatlDocItmByKey
in interface ProductionOrderConfirmationV2Service
confirmationGroup
- Collective ID of Order Confirmations
Constraints: Not nullable, Maximum length: 10
confirmationCount
- Identifier of Single Order Confirmation
Constraints: Not nullable, Maximum length: 8
materialDocument
- Number of Material Document
Constraints: Not nullable, Maximum length: 10
materialDocumentItem
- Item in Material Document
Constraints: Not nullable, Maximum length: 4
materialDocumentYear
- Material Document Year
Constraints: Not nullable, Maximum length: 4
ProdnOrdConfMatlDocItm
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 ProdnOrdConf2FluentHelper getAllProdnOrdConf2()
ProductionOrderConfirmationV2Service
ProdnOrdConf2
entities.getAllProdnOrdConf2
in interface ProductionOrderConfirmationV2Service
ProdnOrdConf2
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 ProdnOrdConf2ByKeyFluentHelper getProdnOrdConf2ByKey(String confirmationGroup, String confirmationCount)
ProductionOrderConfirmationV2Service
ProdnOrdConf2
entity using key fields.getProdnOrdConf2ByKey
in interface ProductionOrderConfirmationV2Service
confirmationGroup
- Collective ID of Order Confirmations
Constraints: Not nullable, Maximum length: 10
confirmationCount
- Identifier of Single Order Confirmation
Constraints: Not nullable, Maximum length: 8
ProdnOrdConf2
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 ProdnOrdConf2CreateFluentHelper createProdnOrdConf2(@Nonnull ProdnOrdConf2 prodnOrdConf2)
ProductionOrderConfirmationV2Service
ProdnOrdConf2
entity and save it to the S/4HANA system.createProdnOrdConf2
in interface ProductionOrderConfirmationV2Service
prodnOrdConf2
- ProdnOrdConf2
entity object that will be created in the S/4HANA system.ProdnOrdConf2
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CancelProdnOrdConfFluentHelper cancelProdnOrdConf(String confirmationGroup, String confirmationCount, LocalDateTime postingDate, String confirmationText, UUID externalSystemConfirmation)
ProductionOrderConfirmationV2Service
Creates a fluent helper for the CancelProdnOrdConf OData function import.
cancelProdnOrdConf
in interface ProductionOrderConfirmationV2Service
confirmationGroup
- Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: ConfirmationGroup
confirmationCount
- Constraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: ConfirmationCount
postingDate
- Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: PostingDate
confirmationText
- Constraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: ConfirmationText
externalSystemConfirmation
- Constraints: Nullable
Original parameter name from the Odata EDM: ExternalSystemConfirmation
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.