biuan SAP® BUSINESS ONE SDK
API Cycle Count Determination Cycle By Enum

Description

Specifies the warehouse sublevel or item group for cycle counting.

Members

MemberValueDescription
ccdcbItemGroup0Sets the cycle counting by item group.
ccdcbWarehouseSublevel11Sets the cycle counting by WarehouseSublevel1.
ccdcbWarehouseSublevel22Sets the cycle counting by WarehouseSublevel2.
ccdcbWarehouseSublevel33Sets the cycle counting by WarehouseSublevel3.
ccdcbWarehouseSublevel44Sets the cycle counting by WarehouseSublevel4.

Example

C#
CycleCountDeterminationsService ccdService = (CycleCountDeterminationsService)oCompany.GetCompanyService().GetBusinessService(ServiceTypes.CycleCountDeterminationsService); CycleCountDeterminationParams ccdParams = (CycleCountDeterminationParams)ccdService.GetDataInterface(CycleCountDeterminationsServiceDataInterfaces.ccdsCycleCountDeterminationParams); CycleCountDetermination ccdDoc = (CycleCountDetermination)ccdService.GetDataInterface(CycleCountDeterminationsServiceDataInterfaces.ccdsCycleCountDetermination); ccdParams.WarehouseCode = "01"; ccdDoc = ccdService.Get(ccdParams); ccdDoc.CycleBy = CycleCountDeterminationCycleByEnum.ccdcbWarehouseSublevel1; ccdService.Update(ccdDoc); ? ? CycleCountDeterminationSetupCollection ccdSetups = ccdDoc.CycleCountDeterminationSetupCollection; ccdSetups.Item(1).CycleCode = 2; ccdSetups.Item(1).DestinationUser = 2; ccdSetups.Item(1).Alert = BoYesNoEnum.tYES; ccdSetups.Item(1).ChangeExistingItems = BoYesNoEnum.tYES; CycleCountDeterminationSetup ccdSetup = ccdSetups.Add(); ccdSetup.Entry = 2; ccdSetup.CycleCode = 2; ccdService.Update(ccdDoc);

SAP® B1 DI-API C# definition

public enum CycleCountDeterminationCycleByEnum { ccdcbItemGroup, ccdcbWarehouseSublevel1, ccdcbWarehouseSublevel2, ccdcbWarehouseSublevel3, ccdcbWarehouseSublevel4 }


SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Icons by Icons8 Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates