POST

Add Entry to protocol:

 

Field

Type

Description

Information

String (16000)

Text information

PersonnelId

String(20)

Personell ID

StationId

String(20)

Station Name

RemoteStation

String(20)

Remote Station name

UserNameId

String(20)

Name ID of current user

SAPErrorId

String(20)

SAP Error ID

BEASErrorId

String(20)

Beas Error ID

DocType

String(20)

Type of linked document

DocEntry

Number

Number of linked document

LineNumber

Number

LineNumber of linked document

LineNumber2

Number

LineNumber2 of linked document

Area

String(20)

Area of Source

DocDate

DateTime

Date of entry

Priority

Number

Priority 1-3 (1 is very high)

DocumentInfo

String(20)

Information from linked document, example the visible order number

SSCC, Bincode, DistNumber, Quantity

String/Number

Beas will add this information to the information property

 

jbscript-logo-small

// send simple "hello world" to the protocol
bsl.post("Hello world");

 

// WMS: send information to linked document
bsl.post("protocol", {
"DocType":"WMS_PROPOSALPICKING",
"DocEntry":100,
"LineNumber":1,
"ItemCode":"XX",
"Prior":1,
"Area":"WMS_PICKING",
"DistNumber":"111",
"SSCC":"2112",
"BinCode":"L1_IN",
"Quantity":1,
"Info":"PickList Proposal OK"
})

 

beasscript-logo-small

instance bsl b
#define ls_json
{
"DocType":"WMS_PROPOSALPICKING",
"DocEntry":100,
"LineNumber":0,
"ItemCode":"XX",
"Prior":1,
"Area":"WMS_PICKING",
"DistNumber":"111",
"Info":"PickList Proposal OK"
}
#end
b.post=Protocol=<ls_json>
destroy=b
destroy mywo