This object is for creating external purchase delivery from external purchase order.
The system creates a normal purchase delivery document in SAP.
GET: Return the Purchase delivery document
POST: For this a special document type is available.
post ExternalPurchaseDelivery
{"ExternalDocEntry":Number,"NumAtCard":String,
"DocumentLines":[{"BaseEntry":Number,"BaseLineNumber":number...}]}
Get:
ExternalPurchaseDelivery
Property |
Description |
Table |
OPDN |
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) |
|
Join to Entiy Object |
Relation |
PurchaseDeliveryLines |
DocEntry |
BusinessPartner |
CardCode |
WorkorderRouting |
|
WorkorderPos |
|
Workorder |
Post: Follow Properties available
Header
Property |
Type |
Description |
ExternalDocEntry |
Number |
External DocEntry Can be 0, if no material is linked |
PTICode |
String |
Argentina: the PTICode (optional) |
NumAtCard |
String |
Supplier information |
CardCode |
String |
Supplier id (you don't need to set this) |
ShipDate |
Date |
Shipping date. Standard = today |
BaseDocEntry |
Number |
DocEntry from Purchase order. Alternative set this on line level |
BaseLineNumber |
Number |
LineNumber (0-Based) Alternative set this on line level |
LineLevel
The system support more then one line. But all lines must have the same BaseDocEntry
No additional check
Property |
Type |
Description |
BaseDocEntry |
Number |
DocEntry from Purchase order. Alternative set this on header level |
BaseLineNumber |
Number |
LineNumber (0-Based) Alternative set this on header level |
Quantity |
Number |
Quantity |
Scrap |
Number |
Scrap quantity |