Versions Compared

Key

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

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

This business object calls the CreateWaybill() method to create a new Waybill/BOL and returns the newly created Waybill Number

Returns:
Response - Success
Response Result set to True
Response Message - "Waybill Successfully Created"
Response Object - Waybill Number Created
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

Business Object to create a new Waybill/BOL

Code

SHIP001

Name

CreateWaybill

Module

WaybillShipping

Functional Area

ShippingWaybill

Name Space/Class

DATASCOPE.SDK.BusinessObjects.Shipping.Waybill

Release Date

01/04/2021 (latest release date Aug 2024)

Release Version

v5.0.21 (latest release v24.2 - additional parameters added)

Prerequisites

None

SYSPRO Objects

None

Parameters

Name

Description

Mandatory field

Data Type

Default Value

pWaybillType

Waybill Type FIXED or FLEXIBLE

YES

String - Enum.eWaybillType{FIXED,FLEXIBLE}

FIXED

pShipper

Shipper Name setup in WMS Shipper Details

YES

String

 <blank>

pShipperWaybill

Only Mandatory if ManualWaybillAllowed is set to True within DATASCOPE table,
tblWaybillShipperMaster

NO

String

 <default>

pShipperContactName

Shipper Contact Name

NO

String

 <blank>

pShipperContactEmail

Shipper Contact Email

NO

String

 <blank>

pShipperContactPhone

Shipper Contact Phone Number

NO

String

 <blank>

pShipDate

Ship Date yyyy/MM/dd hh:mm:ss (Defaults to Today)

NO

Date/Time

Today's Date

pCustomerCode

Customer Number/Code from Syspro

NO

String

 <blank>

pDeliveryName

Delivery Name

NO

String

 <blank>

pDeliveryContactName

Delivery Contact Person Name

YES

String

 <blank>

pDeliveryContactNumber

Delivery Contact Phone Number

NO

String

 <blank>

pDeliveryContactEmail

Delivery Contact Email Address

NO

String

 <blank>

pDeliveryAddress1

Delivery Address Line 1

NO

String

 <blank>

pDeliveryAddress2

Delivery Address Line 2

NO

String

 <blank>

pDeliveryAddress3

Delivery Address Line 3

NO

String

 <blank>

pDeliveryAddress4

Delivery Address Line 4

NO

String

 <blank>

pDeliveryAddress5

Delivery Address Line 5

NO

String

 <blank>

pDeliveryPostalCode

Delivery Postal Code

NO

String

 <blank>

pDeliveryDate

Delivery Date yyyy/MM/dd hh:mm:ss (Defaults to Today)

NO

Date/Time

Today's Date

pComment

Free Text Comment

NO

String

 <blank>

pRoute

Route Code from Syspro SorRouteMaster

YES

String

 <blank>

pVehicle

Vehicle/Truck setup in WMS

YES

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>

Technical Specification

Code Block
<sample code>