ShippingMassAndDims [SHIP008]
DATASCOPE.SDK.BusinessObjects.Shipping.Dispatch.ShippingMassAndDims()
The DATASCOPE PREMIUM WMS Shipping Dims and Mass module, which forms part of the Shipping module, allows an Operator to assign dimensions and mass values to a particular Shipping TrackID.
This is, typically, done after the stock has been picked and assigned a Waybill, but is not limited to the process and can be used multiple times during the life of the Shipping TrackID.
This Business Object will replicate the functions of the Shipping Dims and Mass screens found on the PC and HTML5.
Note: This is only applicable to Shipping TrackIDs and not other types of TrackIDs.
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.
RELEASE NOTES
Release notes 24R2 (Ticket # 8384) - ShippingMassAndDims Business Object development.
Description
The Shipping Dims and Mass business object can be used to replicate the HTML5 Shipping Dims and Mass mobile screen and allow 3rd party vendors to automate the existing Waybill process. It can be beneficial if standard sizes are used or where specific logic can be applied to obtain the size. In these cases, the business object can be used to automate the process to allow the Operator to skip the process on the warehouse floor.
Code | SHIP008 |
---|---|
Name | ShippingMassAndDims |
Module | Shipping |
Functional Area | Dispatch |
Name Space/Class | DATASCOPE.SDK.BusinessObjects.Shipping.Dispatch.ShippingMassAndDims() |
Release Date | Jul 2024 |
Release Version | v24.2 |
Prerequisites | None |
---|---|
SYSPRO Objects | None |
Parameters
The Business Object properties consist of five properties. The validation of the TrackID field is somewhat complex. For more information, refer to TrackID Validation.
Business Object Post Properties
TrackingId - This field is the Tracking ID to apply the Dims and Mass. This is required to be a Shipping Track ID
Height - This is the Height to be applied to the Track ID.
Width - This is the Width to be applied to the Track ID.
Length - This is the Length to be applied to the Track ID.
Mass - This is the Mass/Weight to be applied to the Track ID.
The following properties are applicable:
Main object definitions
Name | Description | Mandatory field | Data Type | Default Value |
---|---|---|---|---|
pTrackingID | This is the Shipping TrackID to apply the Dimensions and Mass to. Validation: It must be a Shipping TrackID, this is determined by the prefix S on the TrackID as well as a validation of the PalletTypeID=4 field on tblPallet. | YES | String | <blank> |
pHeight | This is the Height of the TrackID Validation is non-negative and non-Zero. | YES | Decimal | 0 |
pWidth | This is the Width of the TrackID Validation is non-negative and non-Zero. | YES | Decimal | 0 |
pLength | This is the length of the Track ID. Validation is non-negative and non-Zero. | YES | Decimal | 0 |
pMass | This is the Mass/Weight of the TrackID. Validation is non-negative and non-Zero. | YES | Decimal | 0 |
All business objects under the Dispatch.cs class (Functional Area) are in the same class. The above Properties will, therefore, be shared. The following code will indicate which properties apply to the business object being called.
See the example lines added as decoration to the method.
/// <summary>
/// <Description1>
/// <para><Paremeter> - <Mandatory/Optional> </para>
/// <param name="p_GUID">WMS GUID, obtained from the Logon Business Object - Mandatory</param>
/// </summary>
[WMSBusinessObject("<Code>", "<Description>")]
[WMSBusinessObjectParameter("<Parameter1>", <Mandatory>, <Default>, "Description2")]
<Description1> - This is a short description of the Object.
o <Parameter1> - This is the parameter's name, e.g., pTrackingId.
o <Mandatory/Options> - This indicates if the parameter is mandatory or optional.
o <Code> - This is the code of the business object, e.g., SHIP001.
o <Mandatory> - This is a Boolean if the parameter is mandatory (true) or optional (false)
o <Default> - This is the default value of the parameter.
o <Description2> - This is a short description of the parameter.
TrackID Validation
As per the table above, there are a number of validation steps for the TrackID field as follows.
The TrackID must be a Shipping TrackID. This is determined by the prefix S on the TrackID and validation of the PalletTypeID=4 field on tblPalThe “Normal” status that is allowed and typically, when a Shipping TrackID needs to have its Dims & Mass associated, is tblPallet.ShippingStatus = IN-PACKING. This should be allowed with no errors or warnings.
If the tblPallet.ShippingStatus = PACKED or ASSOCIATED and the logged-in user DOES NOT have permission to the Permission: MAY_PALLETIZE_PACKED_SHIPPING_PALLETS, then the Business Object should return an error as follows:
This TrackID has already been PACKED or ASSOCIATED and completed, and permission MAY_PALLETIZE_PACKED_SHIPPING_PALLETS is required to override it.
This TrackID has already been PACKED or ASSOCIATED and completed, and permission MAY_PALLETIZE_PACKED_SHIPPING_PALLETS is required to override it.
The Shipping TrackID is in the incorrect status.
Height is optional. This is the height applied to the TrackID.
Width is optional. This is the width applied to the TrackID.
Length is optional. This is the length applied to the TrackID.
Mass is optional. This is the mass/weight to be applied to the TrackID.
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
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.
o Now you are ready to start testing the Business Object.