List of all Purchase order created for Work order Routing position for external production (External Production > Provision)
It's possible to link to PurchaseOrderLines. See WorkorderProvisionBoM
ExternalPurchaseOrder
Property |
Description |
Table |
OPOR |
Primary key |
DocEntry/i |
$transaction |
no |
$branch |
no |
$mask |
no |
Name |
Type |
Description |
|
DocEntry |
Edm.Int32 |
|
|
DocNumber |
Edm.Int32 |
|
|
Reference2 |
Edm.String(11) |
|
|
TaxDate |
Edm.DateTimeOffset |
|
|
DocumentDate |
Edm.DateTimeOffset |
|
|
DocDueDate |
Edm.DateTimeOffset |
|
|
BPLId |
Edm.DateTimeOffset |
|
|
Remarks |
Edm.DateTimeOffset |
|
|
CardCode |
Edm.String(20) |
|
|
CardName |
Edm.String(1) |
|
|
Printed |
Edm.Int32 |
|
|
DocumentStatus |
Edm.String(1) |
|
|
ExternalDocEntry |
Edm.Int32 |
|
|
ExternalStatus |
Edm.String(1) |
|
|
ExternalWhsCode |
Edm.String(20) |
|
|
OrderQuantityWhsUnit |
Edm.Int32 |
|
|
DeliveredQuantity |
Edm.Int32 |
|
|
ScrapQuantity |
Edm.Int32 |
|
|
CanceledQuantity |
Edm.Decimal |
|
Join to Entiy Object |
Relation |
PurchaseOrderLines |
|
BusinessPartner |
CardCode |
WareHouse |
ExternalWhsCode |
WorkorderRouting |
|
WorkorderPos |
|
Workorder |
Function |
Parameter |
Description |
|
getAddress |
ExternalDocEntry/i |
|
Function
Property |
Description |
|
setReady(ExternalDocEntry) |
|
Example:
Get all informations from open documents:
ExternalPurchaseOrder?$filter=ExternalStatus = 'O'&$select=ExternalPurchaseOrder,PurchaseOrderLines/*,PurchaseOrderLines/WareHouse