Difference between revisions of "Document Approval API web services"
| Line 1: | Line 1: | ||
| + | == Introduction == | ||
| + | |||
| + | <p> | ||
API endpoint ini digunakan untuk memanggil proses approval selain dari dalam aplikasi ERP. | API endpoint ini digunakan untuk memanggil proses approval selain dari dalam aplikasi ERP. | ||
| + | </p> | ||
| + | |||
| + | == Cara penggunaan == | ||
| + | <p> | ||
| + | URL= https://HOST/infinite/org.openbravo.client.kernel?_action=org.wirabumi.gen.oez.event.DocumentRoutingHandler | ||
| + | METHOD = POST | ||
| + | |||
| + | JSON raw format: | ||
| + | <code> | ||
| + | { | ||
| + | "DocRoutingStepId":null, | ||
| + | "recordIdList":["847A57EA29874F2A990535237A0B6AF2"], | ||
| + | "action":"OEZ_RELEASE", | ||
| + | "adTabId":"259", | ||
| + | "windowId":"170", | ||
| + | "doc_status_from":"DR" | ||
| + | } | ||
| + | </code> | ||
| + | |||
| + | </p> | ||
| + | == Daftar Window yang menerapkan approval == | ||
{| class="wikitable" | {| class="wikitable" | ||
Revision as of 14:48, 26 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"
}
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 | |
| Example | Example | Example | |
| Example | Example | Example | |
| Example | Example | Example | |
| Example | Example | Example |