Class DefaultPhysicalInventoryDocumentServiceBatchChangeSet
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic<PhysicalInventoryDocumentServiceBatch,PhysicalInventoryDocumentServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.physicalinventorydocument.batch.DefaultPhysicalInventoryDocumentServiceBatchChangeSet
- All Implemented Interfaces:
FluentHelperBatchChangeSet<PhysicalInventoryDocumentServiceBatchChangeSet>,FluentHelperBatchEndChangeSet<PhysicalInventoryDocumentServiceBatch>,PhysicalInventoryDocumentServiceBatchChangeSet
public class DefaultPhysicalInventoryDocumentServiceBatchChangeSet
extends BatchChangeSetFluentHelperBasic<PhysicalInventoryDocumentServiceBatch,PhysicalInventoryDocumentServiceBatchChangeSet>
implements PhysicalInventoryDocumentServiceBatchChangeSet
Implementation of the
PhysicalInventoryDocumentServiceBatchChangeSet interface, enabling you to combine
multiple operations into one changeset. For further information have a look into the
PhysicalInventoryDocumentService.-
Method Summary
Modifier and TypeMethodDescriptioncreatePhysInventoryDocHeader(PhysInventoryDocHeader physInventoryDocHeader) Create a newPhysInventoryDocHeaderentity and save it to the S/4HANA system.getThis()updatePhysInventoryDocItem(PhysInventoryDocItem physInventoryDocItem) Update an existingPhysInventoryDocItementity and save it to the S/4HANA system.updateSerialNumberPhysInventoryDoc(SerialNumberPhysInventoryDoc serialNumberPhysInventoryDoc) Update an existingSerialNumberPhysInventoryDocentity and save it to the S/4HANA system.Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic
addFunctionImport, addRequest, addRequest, addRequest, addRequestCreate, addRequestDelete, addRequestUpdate, endChangeSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.FluentHelperBatchChangeSet
addFunctionImportMethods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.FluentHelperBatchEndChangeSet
endChangeSet
-
Method Details
-
getThis
-
createPhysInventoryDocHeader
@Nonnull public PhysicalInventoryDocumentServiceBatchChangeSet createPhysInventoryDocHeader(@Nonnull PhysInventoryDocHeader physInventoryDocHeader) Description copied from interface:PhysicalInventoryDocumentServiceBatchChangeSetCreate a newPhysInventoryDocHeaderentity and save it to the S/4HANA system.- Specified by:
createPhysInventoryDocHeaderin interfacePhysicalInventoryDocumentServiceBatchChangeSet- Parameters:
physInventoryDocHeader-PhysInventoryDocHeaderentity object that will be created in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
updatePhysInventoryDocItem
@Nonnull public PhysicalInventoryDocumentServiceBatchChangeSet updatePhysInventoryDocItem(@Nonnull PhysInventoryDocItem physInventoryDocItem) Description copied from interface:PhysicalInventoryDocumentServiceBatchChangeSetUpdate an existingPhysInventoryDocItementity and save it to the S/4HANA system.- Specified by:
updatePhysInventoryDocItemin interfacePhysicalInventoryDocumentServiceBatchChangeSet- Parameters:
physInventoryDocItem-PhysInventoryDocItementity object that will be updated in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
updateSerialNumberPhysInventoryDoc
@Nonnull public PhysicalInventoryDocumentServiceBatchChangeSet updateSerialNumberPhysInventoryDoc(@Nonnull SerialNumberPhysInventoryDoc serialNumberPhysInventoryDoc) Description copied from interface:PhysicalInventoryDocumentServiceBatchChangeSetUpdate an existingSerialNumberPhysInventoryDocentity and save it to the S/4HANA system.- Specified by:
updateSerialNumberPhysInventoryDocin interfacePhysicalInventoryDocumentServiceBatchChangeSet- Parameters:
serialNumberPhysInventoryDoc-SerialNumberPhysInventoryDocentity object that will be updated in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-