All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cloud.sdk.s4hana.datamodel.odata.services.KanbanControlCycleV2Service Maven / Gradle / Ivy

/*
 * Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
 */

package com.sap.cloud.sdk.s4hana.datamodel.odata.services;

import java.math.BigDecimal;
import java.time.ZonedDateTime;

import javax.annotation.Nonnull;

import com.sap.cloud.sdk.s4hana.datamodel.odata.helper.batch.BatchService;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainerByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainerDeliveryAddrByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainerDeliveryAddrFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainerFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycle;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycleByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycleCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycleFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycleUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanCtnDetailedQtyByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanCtnDetailedQtyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanDeliveryByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanDeliveryFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.SetKanbanContainerLockFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.SetKanbanContainerStatusFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.SetKanbanControlCycleLifeCycleStatusFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.batch.KanbanControlCycleV2ServiceBatch;

/**
 * 

* 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.. *

*

* Business * Documentation *

*

* Reference: SAP * API Business Hub *

*

Details:

* * * * * * * * * * * * * * * * * * * * * *
OData Service:API_KANBAN_CONTROL_CYCLE_SRV_0002
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
* */ public interface KanbanControlCycleV2Service extends BatchService { /** * If no other path was provided via the {@link #withServicePath(String)} method, this is the default service path * used to access the endpoint. * */ String DEFAULT_SERVICE_PATH = "/sap/opu/odata/sap/API_KANBAN_CONTROL_CYCLE_SRV;v=0002"; /** * Overrides the default service path and returns a new service instance with the specified service path. Also * adjusts the respective entity URLs. * * @param servicePath * Service path that will override the default. * @return A new service instance with the specified service path. */ @Nonnull KanbanControlCycleV2Service withServicePath( @Nonnull final String servicePath ); /** * Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainer * KanbanContainer} entities. * * @return A fluent helper to fetch multiple * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainer * 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 * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainerFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull KanbanContainerFluentHelper getAllKanbanContainer(); /** * Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainer * KanbanContainer} entity using key fields. * * @param kanbanContainer * Kanban Container *

* Constraints: Not nullable, Maximum length: 10 *

* @return A fluent helper to fetch a single * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainer * 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 * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainerByKeyFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull KanbanContainerByKeyFluentHelper getKanbanContainerByKey( final String kanbanContainer ); /** * Fetch multiple * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainerDeliveryAddr * KanbanContainerDeliveryAddr} entities. * * @return A fluent helper to fetch multiple * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainerDeliveryAddr * 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 * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainerDeliveryAddrFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull KanbanContainerDeliveryAddrFluentHelper getAllKanbanContainerDeliveryAddr(); /** * Fetch a single * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainerDeliveryAddr * KanbanContainerDeliveryAddr} entity using key fields. * * @param kanbanControlCycle * Kanban Control Cycle *

* Constraints: Not nullable, Maximum length: 7 *

* @return A fluent helper to fetch a single * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainerDeliveryAddr * 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 * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanContainerDeliveryAddrByKeyFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull KanbanContainerDeliveryAddrByKeyFluentHelper getKanbanContainerDeliveryAddrByKey( final String kanbanControlCycle ); /** * Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycle * KanbanControlCycle} entities. * * @return A fluent helper to fetch multiple * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycle * 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 * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycleFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull KanbanControlCycleFluentHelper getAllKanbanControlCycle(); /** * Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycle * KanbanControlCycle} entity using key fields. * * @param kanbanControlCycle * Kanban Control Cycle *

* Constraints: Not nullable, Maximum length: 7 *

* @return A fluent helper to fetch a single * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycle * 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 * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycleByKeyFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull KanbanControlCycleByKeyFluentHelper getKanbanControlCycleByKey( final String kanbanControlCycle ); /** * Create a new {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycle * KanbanControlCycle} entity and save it to the S/4HANA system. * * @param kanbanControlCycle * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycle * KanbanControlCycle} entity object that will be created in the S/4HANA system. * @return A fluent helper to create a new * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycle * KanbanControlCycle} entity. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycleCreateFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull KanbanControlCycleCreateFluentHelper createKanbanControlCycle( @Nonnull final KanbanControlCycle kanbanControlCycle ); /** * Update an existing * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycle * KanbanControlCycle} entity and save it to the S/4HANA system. * * @param kanbanControlCycle * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycle * KanbanControlCycle} entity object that will be updated in the S/4HANA system. * @return A fluent helper to update an existing * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycle * KanbanControlCycle} entity. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanControlCycleUpdateFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull KanbanControlCycleUpdateFluentHelper updateKanbanControlCycle( @Nonnull final KanbanControlCycle kanbanControlCycle ); /** * Fetch multiple * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanCtnDetailedQty * KanbanCtnDetailedQty} entities. * * @return A fluent helper to fetch multiple * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanCtnDetailedQty * 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 * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanCtnDetailedQtyFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull KanbanCtnDetailedQtyFluentHelper getAllKanbanCtnDetailedQty(); /** * Fetch a single * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanCtnDetailedQty * KanbanCtnDetailedQty} entity using key fields. * * @param batch * Assigns a material that is manufactured in batches or production lots to a specific batch. *

* Constraints: Not nullable, Maximum length: 10 *

* @param kanbanContainer * Determines the Kanban number. *

* Constraints: Not nullable, Maximum length: 10 *

* @return A fluent helper to fetch a single * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanCtnDetailedQty * 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 * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanCtnDetailedQtyByKeyFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull KanbanCtnDetailedQtyByKeyFluentHelper getKanbanCtnDetailedQtyByKey( final String kanbanContainer, final String batch ); /** * Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanDelivery * KanbanDelivery} entities. * * @return A fluent helper to fetch multiple * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanDelivery * 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 * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanDeliveryFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull KanbanDeliveryFluentHelper getAllKanbanDelivery(); /** * Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanDelivery * KanbanDelivery} entity using key fields. * * @param kanbanContainer * Determines the Kanban number. *

* Constraints: Not nullable, Maximum length: 10 *

* @return A fluent helper to fetch a single * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanDelivery * 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 * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.KanbanDeliveryByKeyFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull KanbanDeliveryByKeyFluentHelper getKanbanDeliveryByKey( final String kanbanContainer ); /** * Set Kanban Container Status *

*

*

* Creates a fluent helper for the SetKanbanContainerStatus OData function import. *

* * @param actualQuantityInUnitOfEntry * Actual Quantity *

*

*

* Constraints: Nullable, Precision: 13, Scale: 3 *

*

* Original parameter name from the Odata EDM: ActualQuantityInUnitOfEntry *

* @param deliveryNote * Delivery note *

*

*

* Constraints: Nullable, Maximum length: 16 *

*

* Original parameter name from the Odata EDM: DeliveryNote *

* @param kanbanContainerStatus * Kanban Status *

*

*

* Constraints: Nullable, Maximum length: 1 *

*

* Original parameter name from the Odata EDM: KanbanContainerStatus *

* @param batch * Batch *

*

*

* Constraints: Nullable, Maximum length: 10 *

*

* Original parameter name from the Odata EDM: Batch *

* @param kanbanCtnStatusChangeDateTime * Time Stamp *

*

*

* Constraints: Nullable, Precision: 7 *

*

* Original parameter name from the Odata EDM: KanbanCtnStatusChangeDateTime *

* @param kanbanContainer * Kanban ID *

*

*

* Constraints: Not nullable, Maximum length: 10 *

*

* Original parameter name from the Odata EDM: KanbanContainer *

* @param unitOfEntry * Unit *

*

*

* Constraints: Nullable, Maximum length: 3 *

*

* Original parameter name from the Odata EDM: UnitOfEntry *

* @return A fluent helper object that will execute the SetKanbanContainerStatus OData function import with * the provided parameters. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.SetKanbanContainerStatusFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull SetKanbanContainerStatusFluentHelper setKanbanContainerStatus( final String kanbanContainer, final String kanbanContainerStatus, final BigDecimal actualQuantityInUnitOfEntry, final String unitOfEntry, final String batch, final ZonedDateTime kanbanCtnStatusChangeDateTime, final String deliveryNote ); /** * Set Kanban Container Lock *

*

*

* Creates a fluent helper for the SetKanbanContainerLock OData function import. *

* * @param isLocked * Kanban is Blocked *

*

*

* Constraints: none *

*

* Original parameter name from the Odata EDM: IsLocked *

* @param kanbanContainer * Kanban ID *

*

*

* Constraints: Not nullable, Maximum length: 10 *

*

* Original parameter name from the Odata EDM: KanbanContainer *

* @return A fluent helper object that will execute the SetKanbanContainerLock OData function import with the * provided parameters. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.SetKanbanContainerLockFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull SetKanbanContainerLockFluentHelper setKanbanContainerLock( final String kanbanContainer, final Boolean isLocked ); /** * Set Kanban Control Cycle Life Cycle Status *

*

*

* Creates a fluent helper for the SetKanbanControlCycleLifeCycleStatus OData function import. *

* * @param kanbanCtrlCycleLifeCycleStatus * Lifecycle Stat. *

*

*

* Constraints: Not nullable, Maximum length: 1 *

*

* Original parameter name from the Odata EDM: KanbanCtrlCycleLifeCycleStatus *

* @param kanbanControlCycle * Control Cycle *

*

*

* Constraints: Not nullable, Maximum length: 7 *

*

* Original parameter name from the Odata EDM: KanbanControlCycle *

* @return A fluent helper object that will execute the SetKanbanControlCycleLifeCycleStatus OData function * import with the provided parameters. To perform execution, call the * {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.kanbancontrolcyclev2.SetKanbanControlCycleLifeCycleStatusFluentHelper#execute * execute} method on the fluent helper object. */ @Nonnull SetKanbanControlCycleLifeCycleStatusFluentHelper setKanbanControlCycleLifeCycleStatus( final String kanbanControlCycle, final String kanbanCtrlCycleLifeCycleStatus ); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy