Info |
---|
<Name Space/Class> |
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
Info |
---|
If you don’t like reading, you can watch the video. |
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<Sample Video> <Technical Specification>None No Specification |
Description<longer description>
Business Object to create a new Waybill/BOL
Code | SHIP001 |
---|---|
Name | CreateWaybill |
Module | Waybill |
Functional Area | Shipping |
Name Space/Class | DATASCOPE.SDK.BusinessObjects.Shipping.Waybill |
Release Date | 01/04/2021 |
Release Version | v5.0.21.x |
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 |
|
pIsShipperWaybill | Is an additional Shipper Waybill number required | YES | Boolean | FALSE |
pShipperWaybill | Only Mandatory if pIsShipperWaybill is set to True | NO | String |
|
pShipperContactName | Shipper Contact Name | NO | String |
|
pShipperContactEmail | Shipper Contact Email | NO | String |
|
pShipperContactPhone | Shipper Contact Phone Number | NO | String |
|
pShipmentRate | Shipper Rate (Defaults to 0) | NO | Decimal | 0 |
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 |
|
pDeliveryName | Delivery Name | NO | String |
|
pDeliveryContactName | Delivery Contact Person Name | YES | String |
|
pDeliveryContactNumber | Delivery Contact Phone Number | NO | String |
|
pDeliveryContactEmail | Delivery Contact Email Address | NO | String |
|
pDeliveryAddress1 | Delivery Address Line 1 | NO | String |
|
pDeliveryAddress2 | Delivery Address Line 2 | NO | String |
|
pDeliveryAddress3 | Delivery Address Line 3 | NO | String |
|
pDeliveryAddress4 | Delivery Address Line 4 | NO | String |
|
pDeliveryAddress5 | Delivery Address Line 5 | NO | String |
|
pDeliveryPostalCode | Delivery Postal Code | NO | String |
|
pDeliveryDate | Delivery Date yyyy/MM/dd hh:mm:ss (Defaults to Today) | NO | Date/Time | Today's Date |
pComment | Free Text Comment | NO | String |
|
pRoute | Route Code from Syspro SorRouteMaster | YES | String |
|
pVehicle | Vehicle/Truck setup in WMS | YES | String |
|
Technical Specification
Code Block |
---|
<sample code> |