Difference between revisions of "Document Approval API web services"
| Line 7: | Line 7: | ||
== Cara penggunaan == | == Cara penggunaan == | ||
<p> | <p> | ||
| − | URL= https://HOST/infinite/org.openbravo.client.kernel?_action=org.wirabumi.gen.oez.event.DocumentRoutingHandler | + | * URL= https://HOST/infinite/org.openbravo.client.kernel?_action=org.wirabumi.gen.oez.event.DocumentRoutingHandler |
| − | METHOD = POST | + | * METHOD = POST |
JSON raw format: | JSON raw format: | ||
Revision as of 14:52, 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"
}
- 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 | |
| Example | Example | Example | |
| Example | Example | Example | |
| Example | Example | Example | |
| Example | Example | Example |