Difference between revisions of "Document Approval API web services"
(→Cara penggunaan) |
(→Contoh) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 45: | Line 45: | ||
|- | |- | ||
| Manage Requisitions || 1004400000 || 1004400001 | | Manage Requisitions || 1004400000 || 1004400001 | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|} | |} | ||
| + | |||
| + | == Contoh == | ||
| + | Contoh penggunaan Document Approval API untuk merubah Document Status di window Sales Order dapat dilihat pada link berikut:<br> | ||
| + | <p> | ||
| + | [[Document Approval API for Sales Order(Sample)|Document Approval API for Sales Order(Sample)]] | ||
| + | </p> | ||
Latest revision as of 11:05, 28 May 2022
Introduction
API endpoint ini digunakan untuk memanggil proses approval selain dari dalam aplikasi ERP.
Cara penggunaan
- URL= https://HOST/infinite/org.openbravo.client.kernel?_action=org.wirabumi.gen.oez.event.DocumentRoutingHandler
- METHOD = POST
JSON raw format:
{
"DocRoutingStepId":null,
"recordIdList":["847A57EA29874F2A990535237A0B6AF2"],
"action":"OEZ_RELEASE",
"adTabId":"259",
"windowId":"170",
"doc_status_from":"DR"
}
- recordIdList = Record ID yang akan di approved.
- windowId = adalah ID dari window yang akan diapproved
- adTabId = adalah ID tab dari window
Daftar Window yang menerapkan approval
| Window Name | window ID | adTab ID | adTab Name |
|---|---|---|---|
| Purchase Order | 181 | 294 | Header |
| Goods Movements | 170 | 259 | Header |
| Sales Order | 143 | 186 | Header |
| Purchase Order | 181 | 294 | Header |
| Purchase Invoice | 183 | 290 | Header |
| Manage Requisitions | 1004400000 | 1004400001 |
Contoh
Contoh penggunaan Document Approval API untuk merubah Document Status di window Sales Order dapat dilihat pada link berikut: