@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultKanbanControlCycleV2Service") public class DefaultKanbanControlCycleV2Service extends Object implements KanbanControlCycleV2Service
The kanban OData API 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. Furthermore, you can add new containers for event-driven kanban control cycles and you can report the withdrawal out of one or more 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_0002 |
API Version: | 2 |
Communication Scenario: | Kanban Control Cycle Integration (SAP_COM_0330) |
Scope Items: | Material Replenishment with Kanban - External Procurement (1E3), Material Replenishment with Kanban - In-House Production (4B3), Material Replenishment with Kanban - Stock Transfer (4B4) |
Authentication Methods: | Basic, x509, OAuth2 |
Business Object: | KanbanControlCycle |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultKanbanControlCycleV2Service()
Creates a service using
KanbanControlCycleV2Service.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
AddEventDrivenKanbanContainerFluentHelper |
addEventDrivenKanbanContainer(String kanbanControlCycle,
BigDecimal requestedQuantityInBaseUnit,
ZonedDateTime requestedDeliveryDateTime,
String packingInstruction,
Short numberOfLoadCarriers)
Creates a fluent helper for the AddEventDrivenKanbanContainer OData function import.
|
DefaultKanbanControlCycleV2ServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
KanbanControlCycleCreateFluentHelper |
createKanbanControlCycle(KanbanControlCycle kanbanControlCycle)
Create a new
KanbanControlCycle entity and save it to the S/4HANA system. |
KanbanControlCycleDeleteFluentHelper |
deleteKanbanControlCycle(KanbanControlCycle kanbanControlCycle)
Deletes an existing
KanbanControlCycle entity in the S/4HANA system. |
KanbanContainerFluentHelper |
getAllKanbanContainer()
Fetch multiple
KanbanContainer entities. |
KanbanContainerDeliveryAddrFluentHelper |
getAllKanbanContainerDeliveryAddr()
Fetch multiple
KanbanContainerDeliveryAddr entities. |
KanbanControlCycleFluentHelper |
getAllKanbanControlCycle()
Fetch multiple
KanbanControlCycle entities. |
KanbanCtnDetailedQtyFluentHelper |
getAllKanbanCtnDetailedQty()
Fetch multiple
KanbanCtnDetailedQty entities. |
KanbanDeliveryFluentHelper |
getAllKanbanDelivery()
Fetch multiple
KanbanDelivery entities. |
KanbanContainerByKeyFluentHelper |
getKanbanContainerByKey(String kanbanContainer)
Fetch a single
KanbanContainer entity using key fields. |
KanbanContainerDeliveryAddrByKeyFluentHelper |
getKanbanContainerDeliveryAddrByKey(String kanbanControlCycle)
Fetch a single
KanbanContainerDeliveryAddr entity using key fields. |
KanbanControlCycleByKeyFluentHelper |
getKanbanControlCycleByKey(String kanbanControlCycle)
Fetch a single
KanbanControlCycle entity using key fields. |
KanbanCtnDetailedQtyByKeyFluentHelper |
getKanbanCtnDetailedQtyByKey(String kanbanContainer,
String batch)
Fetch a single
KanbanCtnDetailedQty entity using key fields. |
KanbanDeliveryByKeyFluentHelper |
getKanbanDeliveryByKey(String kanbanContainer)
Fetch a single
KanbanDelivery entity using key fields. |
SetKanbanContainerLockFluentHelper |
setKanbanContainerLock(String kanbanContainer,
Boolean isLocked)
Creates a fluent helper for the SetKanbanContainerLock OData function import.
|
SetKanbanContainerStatusFluentHelper |
setKanbanContainerStatus(String kanbanContainer,
String kanbanContainerStatus,
BigDecimal actualQuantityInUnitOfEntry,
String unitOfEntry,
String batch,
ZonedDateTime kanbanCtnStatusChangeDateTime,
String deliveryNote)
Creates a fluent helper for the SetKanbanContainerStatus OData function import.
|
SetKanbanControlCycleLifeCycleStatusFluentHelper |
setKanbanControlCycleLifeCycleStatus(String kanbanControlCycle,
String kanbanCtrlCycleLifeCycleStatus)
Creates a fluent helper for the SetKanbanControlCycleLifeCycleStatus OData function import.
|
KanbanControlCycleUpdateFluentHelper |
updateKanbanControlCycle(KanbanControlCycle kanbanControlCycle)
Update an existing
KanbanControlCycle entity and save it to the S/4HANA system. |
WithdrawQuantityFromControlCycleFluentHelper |
withdrawQuantityFromControlCycle(String kanbanControlCycle,
BigDecimal kanbanCtrlCycWthdrwlQtyInBsUnt)
Creates a fluent helper for the WithdrawQuantityFromControlCycle OData function import.
|
WithdrawQuantityFromKanbanContainerFluentHelper |
withdrawQuantityFromKanbanContainer(String kanbanContainer,
BigDecimal kanbanCtnWithdrawalQtyInBsUnt)
Creates a fluent helper for the WithdrawQuantityFromKanbanContainer OData function import.
|
DefaultKanbanControlCycleV2Service |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultKanbanControlCycleV2Service()
KanbanControlCycleV2Service.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultKanbanControlCycleV2Service withServicePath(@Nonnull String servicePath)
KanbanControlCycleV2Service
withServicePath
in interface KanbanControlCycleV2Service
servicePath
- Service path that will override the default.@Nonnull public DefaultKanbanControlCycleV2ServiceBatch batch()
batch
in interface BatchService<KanbanControlCycleV2ServiceBatch>
@Nonnull public KanbanContainerFluentHelper getAllKanbanContainer()
KanbanControlCycleV2Service
KanbanContainer
entities.getAllKanbanContainer
in interface KanbanControlCycleV2Service
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)
KanbanControlCycleV2Service
KanbanContainer
entity using key fields.getKanbanContainerByKey
in interface KanbanControlCycleV2Service
kanbanContainer
- Kanban Container
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 KanbanContainerDeliveryAddrFluentHelper getAllKanbanContainerDeliveryAddr()
KanbanControlCycleV2Service
KanbanContainerDeliveryAddr
entities.getAllKanbanContainerDeliveryAddr
in interface KanbanControlCycleV2Service
KanbanContainerDeliveryAddr
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 KanbanContainerDeliveryAddrByKeyFluentHelper getKanbanContainerDeliveryAddrByKey(String kanbanControlCycle)
KanbanControlCycleV2Service
KanbanContainerDeliveryAddr
entity using key fields.getKanbanContainerDeliveryAddrByKey
in interface KanbanControlCycleV2Service
kanbanControlCycle
- Kanban Control Cycle
Constraints: Not nullable, Maximum length: 7
KanbanContainerDeliveryAddr
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()
KanbanControlCycleV2Service
KanbanControlCycle
entities.getAllKanbanControlCycle
in interface KanbanControlCycleV2Service
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)
KanbanControlCycleV2Service
KanbanControlCycle
entity using key fields.getKanbanControlCycleByKey
in interface KanbanControlCycleV2Service
kanbanControlCycle
- Kanban 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)
KanbanControlCycleV2Service
KanbanControlCycle
entity and save it to the S/4HANA system.createKanbanControlCycle
in interface KanbanControlCycleV2Service
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)
KanbanControlCycleV2Service
KanbanControlCycle
entity and save it to the S/4HANA system.updateKanbanControlCycle
in interface KanbanControlCycleV2Service
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 KanbanControlCycleDeleteFluentHelper deleteKanbanControlCycle(@Nonnull KanbanControlCycle kanbanControlCycle)
KanbanControlCycleV2Service
KanbanControlCycle
entity in the S/4HANA system.deleteKanbanControlCycle
in interface KanbanControlCycleV2Service
kanbanControlCycle
- KanbanControlCycle
entity object that will be deleted in the S/4HANA system.KanbanControlCycle
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public KanbanCtnDetailedQtyFluentHelper getAllKanbanCtnDetailedQty()
KanbanControlCycleV2Service
KanbanCtnDetailedQty
entities.getAllKanbanCtnDetailedQty
in interface KanbanControlCycleV2Service
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)
KanbanControlCycleV2Service
KanbanCtnDetailedQty
entity using key fields.getKanbanCtnDetailedQtyByKey
in interface KanbanControlCycleV2Service
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()
KanbanControlCycleV2Service
KanbanDelivery
entities.getAllKanbanDelivery
in interface KanbanControlCycleV2Service
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)
KanbanControlCycleV2Service
KanbanDelivery
entity using key fields.getKanbanDeliveryByKey
in interface KanbanControlCycleV2Service
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(@Nonnull String kanbanContainer, @Nullable String kanbanContainerStatus, @Nullable BigDecimal actualQuantityInUnitOfEntry, @Nullable String unitOfEntry, @Nullable String batch, @Nullable ZonedDateTime kanbanCtnStatusChangeDateTime, @Nullable String deliveryNote)
KanbanControlCycleV2Service
Creates a fluent helper for the SetKanbanContainerStatus OData function import.
setKanbanContainerStatus
in interface KanbanControlCycleV2Service
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(@Nonnull String kanbanContainer, @Nonnull Boolean isLocked)
KanbanControlCycleV2Service
Creates a fluent helper for the SetKanbanContainerLock OData function import.
setKanbanContainerLock
in interface KanbanControlCycleV2Service
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(@Nonnull String kanbanControlCycle, @Nonnull String kanbanCtrlCycleLifeCycleStatus)
KanbanControlCycleV2Service
Creates a fluent helper for the SetKanbanControlCycleLifeCycleStatus OData function import.
setKanbanControlCycleLifeCycleStatus
in interface KanbanControlCycleV2Service
kanbanControlCycle
- Control Cycle
Constraints: Not nullable, Maximum length: 7
Original parameter name from the Odata EDM: KanbanControlCycle
kanbanCtrlCycleLifeCycleStatus
- Lifecycle Status
Constraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: KanbanCtrlCycleLifeCycleStatus
execute
method on the fluent helper object.@Nonnull public AddEventDrivenKanbanContainerFluentHelper addEventDrivenKanbanContainer(@Nonnull String kanbanControlCycle, @Nullable BigDecimal requestedQuantityInBaseUnit, @Nullable ZonedDateTime requestedDeliveryDateTime, @Nullable String packingInstruction, @Nullable Short numberOfLoadCarriers)
KanbanControlCycleV2Service
Creates a fluent helper for the AddEventDrivenKanbanContainer OData function import.
addEventDrivenKanbanContainer
in interface KanbanControlCycleV2Service
kanbanControlCycle
- Control Cycle
Constraints: Not nullable, Maximum length: 7
Original parameter name from the Odata EDM: KanbanControlCycle
requestedQuantityInBaseUnit
- Requested Quantity
Constraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: RequestedQuantityInBaseUnit
requestedDeliveryDateTime
- Time Stamp
Constraints: Nullable, Precision: 7
Original parameter name from the Odata EDM: RequestedDeliveryDateTime
packingInstruction
- Packing instruction
Constraints: Nullable, Maximum length: 20
Original parameter name from the Odata EDM: PackingInstruction
numberOfLoadCarriers
- No.Load Carriers
Constraints: Nullable
Original parameter name from the Odata EDM: NumberOfLoadCarriers
execute
method on the fluent helper object.@Nonnull public WithdrawQuantityFromControlCycleFluentHelper withdrawQuantityFromControlCycle(@Nonnull String kanbanControlCycle, @Nonnull BigDecimal kanbanCtrlCycWthdrwlQtyInBsUnt)
KanbanControlCycleV2Service
Creates a fluent helper for the WithdrawQuantityFromControlCycle OData function import.
withdrawQuantityFromControlCycle
in interface KanbanControlCycleV2Service
kanbanControlCycle
- Control Cycle
Constraints: Not nullable, Maximum length: 7
Original parameter name from the Odata EDM: KanbanControlCycle
kanbanCtrlCycWthdrwlQtyInBsUnt
- Withdrawal quantity
Constraints: Not nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: KanbanCtrlCycWthdrwlQtyInBsUnt
execute
method on the fluent helper object.@Nonnull public WithdrawQuantityFromKanbanContainerFluentHelper withdrawQuantityFromKanbanContainer(@Nonnull String kanbanContainer, @Nonnull BigDecimal kanbanCtnWithdrawalQtyInBsUnt)
KanbanControlCycleV2Service
Creates a fluent helper for the WithdrawQuantityFromKanbanContainer OData function import.
withdrawQuantityFromKanbanContainer
in interface KanbanControlCycleV2Service
kanbanContainer
- Kanban ID
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: KanbanContainer
kanbanCtnWithdrawalQtyInBsUnt
- Withdrawal quantity
Constraints: Not nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: KanbanCtnWithdrawalQtyInBsUnt
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.