Versions Compared

Key

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

DATASCOPE.SDK.BusinessObjects.Shipping.Waybill.MaintainWaybill()

This business object calls the MaintainWaybill() method to update an existing Waybill/BOL and returns updated information.

Returns:
Response - Success
Response Result set to True
Response Message - "Waybill Successfully Maintained"
Response Object - Waybill number
Response - Failure
Response Result set to False
Response Message - Error generated

For a detailed overview on 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

None

No Specification

RELEASE NOTES

  • Release notes 24R2 (Ticket # 8888) - MaintainWaybill Business Object development.

Description

The Business Object to Update a Waybillwill replicate the edit functions of the Waybill/BOL Maintenance screen found on the PC.

Code

SHIP006

Name

MaintainWaybill

Module

Shipping

Functional Area

Waybill

Name Space/Class

DATASCOPE.SDK.BusinessObjects.Shipping.Waybill.MaintainWaybill()

Release Date

01/08/2024

Release Version

v24.2

Prerequisites

None

SYSPRO Objects

None

Parameters

Name

Description

Mandatory field

Data Type

Default Value

pWaybill

Waybill number

YES

String

<default>

pShipDate

Ship Date yyyy/MM/dd hh:mm:ss

NO

String

<blank>

pDeliveryDate

Delivery Date yyyy/MM/dd hh:mm:ss

NO

String

<blank>

pShipper

Shipper Name valid Shipper setup in WMS Shipper Details

NO

String

<blank>

pShipperWaybill

Shipper Waybill

NO

String

<blank>

pShipperContactName

Shipper Contact Name

NO

String

<blank>

pShipperContactEmail

Shipper Contact Email

NO

String

<blank>

pShipperContactPhone

Shipper Contact Phone Number

NO

String

<blank>

pSalesOrder

SYSPRO Sales Order Number(s) to link or add to a Waybill - A list must be separated by a comma

NO

String

<blank>

pPickingSlip

WMS Picking Slip Number(s) to link or add to a Waybill - A list must be separated by a comma

NO

String

<blank>

Validations

The following validations will be done:

  • Check whether it is an existing Waybill in DATASCOPE WMS.

  • The Ship Date must be in a valid date format of yyyy-MM-dd.

  • The Delivery Date must be in a valid date format of yyyy-MM-dd.

  • A Valid Sales Order created in SYSPRO or a valid Pick Slip created in DATASCOPE WMS based on the following settings:

    • The option to either add Sales Orders or Pick Slips is based on the setting WAYBILL_SELECT_OPTION under the System Setting SHIPPING.

  • A comma separated list should be supplied.

Technical Specification

Code Block
<sample code>

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-143752.pngImage Added

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