AddSalesOrder [SHIP005]

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

This business object uses the AddSalesOrder() method to add a single or list of Sales Orders to an existing Waybill/BOL and return updated information.

Returns:
Response - Success
Response Result set to True
Response Message - "Sales Order(s) successfully added to the Waybill"
Response Object - null
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

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

None

No Specification

RELEASE NOTES

  • Release notes 24R2 (Ticket # 8887) - AddSalesOrder Business Object development.

Description

Business Object to Add Sales Order to an existing Waybill

Code

SHIP005

 

 

 

Name

AddSalesOrder

 

 

 

Module

Shipping

 

 

 

Functional Area

Waybill

 

 

 

Name Space/Class

DATASCOPE.SDK.BusinessObjects.Shipping.Waybill

 

 

 

Release Date

2024/08/01

Release Version

v24.2

Prerequisites

None

SYSPRO Objects

None

Parameters

Name

Description

Mandatory field

Data Type

Default Value

Name

Description

Mandatory field

Data Type

Default Value

pWaybill

Waybill Number(s)

YES

String

<blank> 

pSalesOrder

SYSPRO Sales Order Number(s)

YES

String

 <blank>

Validations

The following validations is required.

  • A valid Waybill that has not been dispatched.

  • Sales Orders in status S, 4, 5, 7, 8, 9 and should be blocked from being added to a Waybill.

  • A comma separated list should be supplied.

Technical Specification

<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.png

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-140527.png

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