Change Create Order Window Title

--HG--
branch : EDII
This commit is contained in:
animfalahuddin 2019-01-04 14:03:57 +07:00
parent 2479ccabda
commit e29de77fd3
1 changed files with 4 additions and 2 deletions

View File

@ -79,10 +79,12 @@ public class MID_WCreateFromOrder extends MID_CreateFromOrder implements EventLi
public boolean dynInit() throws Exception
{
log.config("");
int C_Order_ID = Env.getContextAsInt(Env.getCtx(), p_WindowNo, "C_Order_ID");
MOrder order = new MOrder(Env.getCtx(),C_Order_ID,null);
String title = "Create " + (order.isSOTrx() ? " Sales Order " : " Purchase Order ") + "From Requisition";
super.dynInit();
window.setTitle("Create PO From Requisition");
window.setTitle(title);
initBPartner();