[ adempiere-Bugs-1851688 ] 2pack do not Import Value field in Node Workflow

- merge fix from the 350 branch.
This commit is contained in:
Heng Sin Low 2007-12-16 06:37:14 +00:00
parent 3fbe3d6d03
commit 00ad901294
1 changed files with 4 additions and 0 deletions

View File

@ -186,6 +186,7 @@ public class WorkflowNodeElementHandler extends AbstractElementHandler {
* AD_Task_ID FROM AD_Task WHERE Name= ?"); taskid =
* DB.getSQLValue(m_trxName,sqlB.toString(),name); }
*/
m_WFNode.setValue(atts.getValue("Value"));
m_WFNode.setEntityType(atts.getValue("EntityType"));
m_WFNode.setAction(getStringValue(atts,"Action"));
m_WFNode.setDocAction(getStringValue(atts, "DocAction"));
@ -364,6 +365,9 @@ public class WorkflowNodeElementHandler extends AbstractElementHandler {
} else
atts.addAttribute("", "", "ADColumnNameID", "CDATA", "");
atts.addAttribute("", "", "Value", "CDATA", (m_WF_Node
.getValue() != null ? m_WF_Node.getValue() : ""));
atts.addAttribute("", "", "isActive", "CDATA",
(m_WF_Node.isActive() == true ? "true" : "false"));
atts.addAttribute("", "", "Description", "CDATA", (m_WF_Node