Versions Compared

Key

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

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

BO to Delete existing Waybill

This business object calls the DeleteWaybilll() method to delete an existing Waybill/BOL.

Returns:
Response - Success
Response Result set to True
Response Message - "Waybill Deleted"
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

Description

RELEASE NOTES

  • Release notes 24R2 (Ticket # 8896) - DeleteWaybill Business Object development.

Description

This Business Object will replicate the delete function of the Waybill/BOL Maintenance screen found on the PC.

Code

SHIP007

Name

DeleteWaybill

Module

Shipping

Functional Area

Waybill

Name Space/Class

DATASCOPE.SDK.BusinessObjects.Shipping.Waybill

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. A valid existing Waybill created in DATASCOPE WMS.

YES

String

<default>

Validation

The following validation will take place.

  • The Waybill cannot be deleted if linked to a Pick Slip or Sales Order.

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

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