Info |
---|
DATASCOPE.SDK.BusinessObjects.WarehousControl.CycleCount.CycleCountItemPost() |
Post multiple Cycle Count items.This Business Object will replicate the function of the Cycle Count screen found on HTML5
For a detailed overview on 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 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
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.
Technical Specification
Code Block |
---|
<sample code> |