@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultKanbanControlCycleService") public class DefaultKanbanControlCycleService extends Object implements KanbanControlCycleService
This service enables you to create and retrieve kanban control cycles and their kanban container data. Additionally, it is possible to change control cycles, to set the status both on control cycle and on container level, and to lock/unlock containers. The service is based on the OData protocol, and can be consumed by external systems and user interfaces..
Reference: SAP API Business Hub
OData Service: | API_KANBAN_CONTROL_CYCLE_SRV |
API Version: | 2 |
Communication Scenario: | Kanban Control Cycle Integration (SAP_COM_0330) |
Scope Items: | Manufacturing with Kanban Supply into Production (1E3) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultKanbanControlCycleService()
Creates a service using
KanbanControlCycleService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultKanbanControlCycleService()
KanbanControlCycleService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultKanbanControlCycleService withServicePath(@Nonnull String servicePath)
KanbanControlCycleService
withServicePath
in interface KanbanControlCycleService
servicePath
- Service path that will override the default.@Nonnull public KanbanContainerFluentHelper getAllKanbanContainer()
KanbanControlCycleService
KanbanContainer
entities.getAllKanbanContainer
in interface KanbanControlCycleService
KanbanContainer
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 KanbanContainerByKeyFluentHelper getKanbanContainerByKey(String kanbanContainer)
KanbanControlCycleService
KanbanContainer
entity using key fields.getKanbanContainerByKey
in interface KanbanControlCycleService
kanbanContainer
- Determines the Kanban number.
Constraints: Not nullable, Maximum length: 10
KanbanContainer
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 KanbanControlCycleFluentHelper getAllKanbanControlCycle()
KanbanControlCycleService
KanbanControlCycle
entities.getAllKanbanControlCycle
in interface KanbanControlCycleService
KanbanControlCycle
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 KanbanControlCycleByKeyFluentHelper getKanbanControlCycleByKey(String kanbanControlCycle)
KanbanControlCycleService
KanbanControlCycle
entity using key fields.getKanbanControlCycleByKey
in interface KanbanControlCycleService
kanbanControlCycle
- Number, that specifically identifies the control cycle.
Constraints: Not nullable, Maximum length: 7
KanbanControlCycle
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 KanbanControlCycleCreateFluentHelper createKanbanControlCycle(@Nonnull KanbanControlCycle kanbanControlCycle)
KanbanControlCycleService
KanbanControlCycle
entity and save it to the S/4HANA system.createKanbanControlCycle
in interface KanbanControlCycleService
kanbanControlCycle
- KanbanControlCycle
entity object that will be created in the S/4HANA system.KanbanControlCycle
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public KanbanControlCycleUpdateFluentHelper updateKanbanControlCycle(@Nonnull KanbanControlCycle kanbanControlCycle)
KanbanControlCycleService
KanbanControlCycle
entity and save it to the S/4HANA system.updateKanbanControlCycle
in interface KanbanControlCycleService
kanbanControlCycle
- KanbanControlCycle
entity object that will be updated in the S/4HANA system.KanbanControlCycle
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public KanbanCtnDetailedQtyFluentHelper getAllKanbanCtnDetailedQty()
KanbanControlCycleService
KanbanCtnDetailedQty
entities.getAllKanbanCtnDetailedQty
in interface KanbanControlCycleService
KanbanCtnDetailedQty
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 KanbanCtnDetailedQtyByKeyFluentHelper getKanbanCtnDetailedQtyByKey(String kanbanContainer, String batch)
KanbanControlCycleService
KanbanCtnDetailedQty
entity using key fields.getKanbanCtnDetailedQtyByKey
in interface KanbanControlCycleService
kanbanContainer
- Determines the Kanban number.
Constraints: Not nullable, Maximum length: 10
batch
- Assigns a material that is manufactured in batches or production lots to a specific batch.
Constraints: Not nullable, Maximum length: 10
KanbanCtnDetailedQty
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 KanbanDeliveryFluentHelper getAllKanbanDelivery()
KanbanControlCycleService
KanbanDelivery
entities.getAllKanbanDelivery
in interface KanbanControlCycleService
KanbanDelivery
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 KanbanDeliveryByKeyFluentHelper getKanbanDeliveryByKey(String kanbanContainer)
KanbanControlCycleService
KanbanDelivery
entity using key fields.getKanbanDeliveryByKey
in interface KanbanControlCycleService
kanbanContainer
- Determines the Kanban number.
Constraints: Not nullable, Maximum length: 10
KanbanDelivery
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 SetKanbanContainerStatusFluentHelper setKanbanContainerStatus(String kanbanContainer, String kanbanContainerStatus, BigDecimal actualQuantityInUnitOfEntry, String unitOfEntry, String batch, ZonedDateTime kanbanCtnStatusChangeDateTime, String deliveryNote)
KanbanControlCycleService
Creates a fluent helper for the SetKanbanContainerStatus OData function import.
setKanbanContainerStatus
in interface KanbanControlCycleService
kanbanContainer
- Kanban ID
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: KanbanContainer
kanbanContainerStatus
- Kanban Status
Constraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: KanbanContainerStatus
actualQuantityInUnitOfEntry
- Actual Quantity
Constraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: ActualQuantityInUnitOfEntry
unitOfEntry
- Unit
Constraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: UnitOfEntry
batch
- Batch
Constraints: Nullable, Maximum length: 10
Original parameter name from the Odata EDM: Batch
kanbanCtnStatusChangeDateTime
- Time Stamp
Constraints: Nullable, Precision: 7
Original parameter name from the Odata EDM: KanbanCtnStatusChangeDateTime
deliveryNote
- Delivery note
Constraints: Nullable, Maximum length: 16
Original parameter name from the Odata EDM: DeliveryNote
execute
method on the fluent helper object.@Nonnull public SetKanbanContainerLockFluentHelper setKanbanContainerLock(String kanbanContainer, Boolean isLocked)
KanbanControlCycleService
Creates a fluent helper for the SetKanbanContainerLock OData function import.
setKanbanContainerLock
in interface KanbanControlCycleService
kanbanContainer
- Kanban ID
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: KanbanContainer
isLocked
- Kanban is Blocked
Constraints: none
Original parameter name from the Odata EDM: IsLocked
execute
method on the fluent helper object.@Nonnull public SetKanbanControlCycleLifeCycleStatusFluentHelper setKanbanControlCycleLifeCycleStatus(String kanbanControlCycle, String kanbanCtrlCycleLifeCycleStatus)
KanbanControlCycleService
Creates a fluent helper for the SetKanbanControlCycleLifeCycleStatus OData function import.
setKanbanControlCycleLifeCycleStatus
in interface KanbanControlCycleService
kanbanControlCycle
- Control Cycle
Constraints: Not nullable, Maximum length: 7
Original parameter name from the Odata EDM: KanbanControlCycle
kanbanCtrlCycleLifeCycleStatus
- Lifecycle Stat.
Constraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: KanbanCtrlCycleLifeCycleStatus
execute
method on the fluent helper object.Copyright © 2019 SAP SE. All rights reserved.