CreateWaybill [SHIP001]
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
If you don’t like reading, you can watch the video.
None
No Specification
Description
Business Object to create a new Waybill/BOL
Code | SHIP001 |
---|---|
Name | CreateWaybill |
Module | Shipping |
Functional Area | Waybill |
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, | 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
<sample code>