Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

<Name Space/Class>

<short description>

DATASCOPE.SDK.BusinessObjects.WarehousControl.CycleCount.CycleCountItemPost()

Code

Name

Module

Functional Area

Name Space/Class

Release Date

Release Version

Prerequisites

SYSPRO Objects

This Business Object will replicate the function of the Cycle Count screen found on HTML5

For a detailed overview of working with DATASCOPE PREMIUM WMS Business Objects, refer to E.Net Business Objects

Info

If you don’t like reading, you can watch the video.

Panel
panelIconId1f3a5
panelIcon:movie_camera:
panelIconText🎥
bgColor#DEEBFF

<Sample Video>

<Technical Specification>

Description

<longer description>

None

No Specifications

RELEASE NOTES

  • Release notes 24R2 (Ticket # 8784) - CycleCountItemPost Business Object development.

Description

This business object is used to post multiple cycle count items

Returns:
Response - Success
Response Result set to True
Response Message "The following TrackID(s) have been posted: TRACK1, TRACK2,....TRACKN"
Response - Failure
Response Result set to False
Response Message - Error generated

Code

WCONTROL005

Name

CycleCountItemPost

Module

WarehouseControl

Functional Area

CycleCount

Name Space/Class

DATASCOPE.SDK.BusinessObjects.WarehousControl.CycleCount.CycleCountItemPost()

Release Date

Aug 2024

Release Version

v24.2

Prerequisites

None

SYSPRO Objects

None

Parameters

Name

Description

Mandatory field

Data Type

Default Value

pBin

The bin being counted in the cycle count - A valid Bin that exists in WMS

YES

string

<blank>

pTrackIDs

This is a List of Post items and must contain at least one item.

pTrackID

It is the TrackID found within the Bin

YES

String

<blank>

pStockCode

The stock code found on the TrackID

YES

String

<blank>

pLot

Lot Number applicable for the pStockCode. Only required if the pStockCode is flagged at Lot Traceable in SYSPRO.

NO

String

Required if pStockCode is Lot traceable, otherwise <blank>

pExpiryDate

Expiry Date for the pLot if the pStockCode is Lot Traceable and using Expiry Dates in SYSPRO.

 If pLot is Traceable and not supplied, No Expiry will be posted to SYSPRO and reflect at 0000/00/00

NO

String

<blank>

pQuantity

The quantity of stock on the TrackID

YES

Decimal

0

pReason

The reason for the cycle count post

NO

String

<blank>

Validation

The following validation is requried.

  • A valid Bin defined in SYSPRO and DATASCOPE WMS.

  • A valid Stock Code.

  • The valid Stock Code should live in the warehouse being counted.

  • If Lot traceable, a valid Lot Number.

  • A valid Expiry date.

  • If an existing Lot has been supplied and an Expiry Date is either found in SYSPRO or DATASCOPE WMS, the date supplied is ignored and the existing expiry date is used.

  • A valid date format of yyyy-MM-dd

  • A valid Reason code - if supplied it will be validated against the reason setup in tblCycleCountReason.

Additional:

  • If there is an existing count for the Bin / TrackID / Stock Code / Lot combination and another count is posted, the new count will replace the existing count.

  • If the TrackID is counted in a Bin that currently dos not live in an automatic bin, bin transfer will occur to move to the new bin, except if the “To” bin is a Pickface Bin. If it is a Pickface Bin, the post will not be accepted.

Technical Specification

Code Block
<sample code>

Example to follow

<insert text>

Testing the BO

The Business Object Harness application should be used to assist in troubleshooting and testing any of the DATASCOPE WMS Business Objects.

  • Ensure you followed the installation process to install and configure the Business Object Harness application.

  • To test the Business Object

o   Open the Business Object Harness

image-20240508-124530.pngImage Added

o   Enter the Company ID you would like to login to, followed by a valid Operator, along with its password and company password (if any). Clicking the Login button will then attempt to log in to the system using the WebAPI.

o   The first step in posting an object is to select and add it to the main content window.

image-20240822-145016.pngImage Added

o   Now you are ready to start testing the Business Object.