Create a manual Work order Issue Document.
Note: GET is not possible. Use Issue/IssueLines.
Type |
Description |
Table |
OIGE |
Primary |
DocEntry |
Primary mandatory |
no |
GET |
no |
POST |
yes |
Fields (only Post)
Field |
Type |
Description |
---|---|---|
Date |
Edm.Date |
Define the document date |
Ref |
Edm.String(11) |
Short reference |
Remarks |
Edm.String(255) |
Remarks. If empty, the system define this automatically |
U_xxx |
Any(x) |
Define a UDF |
DocumentLines |
Define the lines |
|
PrintReport |
Edm.Boolean |
Print IssueDocumentReport |
ErrorText |
Edm.String |
Add this string to Error text |
CloseExtIssue |
Edm.Boolean |
Close external process (if related and defined in externaldocentry |
ExternalDocEntry |
Edm.Number |
Define external Document Entry for External Issue process |
TimeReceiptNumber |
Edm.Number |
DocEntry from TimeReceipt for linking the document |
ReceiptQuantity |
Edm.Number |
Receipt Quantity. Used for CheckMinMax |
CheckMinMax |
Edm.Boolean |
Activate or Disable CheckMinMax |
Post Examples
POST |
HTTP: post new issue document for WO 642, position 10, pos2 = 20 odata4/v1/issue
{
|
HTTP: post issue with Serial numbers 195,196 {
|
HTTP: post issue for the main assembly (Base_LineNumber2=0) { |
Create receipt document for Work order 1308, Position 10, Pos Id 30
#define ls_json |