PurchaseOrderAllocationStock [RECEIP001]

DATASCOPE.SDK.BusinessObjects.InboundReceipt.PurchaseOrderReceipts.PurchaseOrderAllocateStock()

The Business Object will allow Tracking IDs to be allocated for a specific Purchase Order and Line. The Business Object can be used to pre-allocate Stock to a Tracking ID, and the Purchase Order can then be Receipted in Core or the PurchaseOrderReceipts Business Object can process the actual PO receipt.

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

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

None

No Specification

RELEASE NOTES

  • Release 24R2 (#8689) - A new Business Object which will allow the allocation of stock to TrackIDs for the specified Purchase Order.

Description

Business Object to allow the allocation of Tracking IDs for a Purchase Order Receipt.

Code

RECEIP001

Name

PurchaseOrderAllocateStock

Module

InboundReceipt

Functional Area

PurchaseOrderReceipts

Name Space/Class

DATASCOPE.SDK.BusinessObjects.InboundReceipt.PurchaseOrderReceipts.PurchaseOrderAllocateStock()

Release Date

26/08/2020

Release Version

5.0.16.x

Prerequisites

Inbound Receipt

SYSPRO Objects

None

Parameters

The Business Object will allow Tracking IDs to be allocated for a specific Purchase Order. The BO can be used to pre-allocate Stock to a Tracking ID and the Purchase Order can then be receipted in Core or the PurchaseOrderReceipts BO can be used to process the actual PO receipt.

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

Name

Description

Mandatory field

Data Type

Default Value

 

Name

Description

Mandatory field

Data Type

Default Value

 

pPurchaseOrderNumber

SYSPRO Purchase Order Number

YES

string

<blank>

pDeliveryNoteNumber

Delivery Note posted to SYSPRO

NO

string

<blank>

pTrackIDs

This is a List of Receipt lines and must contain at least one item.

pPurchaseOrderLineNumber

SYSPRO Purchase Order Line Number

YES

String

<blank>

pStockCode

The stock code found on the TrackID

YES

String

<blank>

pLotNumber

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>

pLotExpiryDate

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

Quantity being receipted

YES

Decimal

0

Technical Specification

The following validation will be done for a Stock Code:

  • Non-Lot Traceable Stock Codes - if a lot and/or expiry date are supplied it will be ignored as it is not required.

  • Lot Traceable Stock Codes -

<sample code>