<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆 - 6  文章 - 129  trackbacks - 0
    <2025年5月>
    27282930123
    45678910
    11121314151617
    18192021222324
    25262728293031
    1234567

    常用鏈接

    留言簿(14)

    隨筆檔案(6)

    文章分類(467)

    文章檔案(423)

    相冊

    收藏夾(18)

    JAVA

    搜索

    •  

    積分與排名

    • 積分 - 825594
    • 排名 - 49

    最新評論

    閱讀排行榜

    評論排行榜

    Tree Icon

    It is a known issue that the tree icon in the teams window does not work. If it is clicked it throws an error. Openbravo ERP does not support trees on modules yet. Still, the module has been designed to provide a mean to workaround this issue. As for that, some java files needs to be modified and the application recompiled to make the changes visible. Take into account that this is a core modification (and core modifications should not be done). If a core modification is done, whenever the system is updated with the next maintenaince pack, the changes will be lost (you will have to remember to do them again after updating the system).

    Making this changes will make the tree icon work and so, the drag and drop functionality will be usable. The changes consist on adding the following lines in the following files:

    • src/org/openbravo/erpCommon/utility/WindowTreeChecks.java - Line 132
       } else if (TreeType.equals("HCMC_TE")) {

    result = "";

    • src/org/openbravo/erpCommon/utility/WindowTreeUtility.java - Line 73
       else if (keyColumnName.equals("Hcmc_Team_ID"))

    TreeType = "HCMC_TE";

    • src/org/openbravo/erpCommon/utility/WindowTreeUtility.java - Line 155
       else if (TreeType.equals("HCMC_TE"))

    data = WindowTreeData.selectTeam(conn, vars.getUser(), strEditable, strParentID, strNodeId,

    TreeID);

    • src/org/openbravo/erpCommon/utility/WindowTree_data.xsql - Line 290
      <SqlMethod name="selectTeam" type="preparedStatement" return="multiple">

    <SqlMethodComment></SqlMethodComment>

    <Sql>

    SELECT tn.Node_ID,tn.Parent_ID,tn.SeqNo,tb.IsActive, te.HCMC_TEAM_ID AS ID, te.NAME, ' ' AS Description,te.IsSummary

    FROM AD_TREENODE tn LEFT JOIN AD_TREEBAR tb ON tn.AD_Tree_ID=tb.AD_Tree_ID

    AND tn.Node_ID=tb.Node_ID

    AND tb.AD_User_ID = ? ,

    HCMC_TEAM te

    WHERE tn.Node_ID = te.HCMC_TEAM_ID

    AND tn.AD_Tree_ID = ?

    ORDER BY COALESCE(tn.Parent_ID, '-1'), tn.SeqNo

    </Sql>

    <Parameter name="adUserId"/>

    <Parameter name="editable" optional="true" type="none" after="WHERE " text="tn.IsActive='Y' AND te.isActive='Y' AND "/>

    <Parameter name="parentId" optional="true" after="WHERE " text="tn.Parent_ID = ? AND "/>

    <Parameter name="nodeId" optional="true" after="WHERE " text="tn.Node_ID = ? AND "/>

    <Parameter name="adTreeId"/>

    </SqlMethod>

    Notice that the line number above may change over time. Notice that this lines should be eliminated manually if the module is unistalled.


    Add Team Manager 

    org.openbravo.hcm.common.ad_process.HCMC_addmanager_process.java

          final Calendar today = Calendar.getInstance();
          final SimpleDateFormat sdf = new SimpleDateFormat();
          sdf.applyPattern(bundle.getContext().getJavaDateFormat());

          final Date effectiveFrom = sdf.parse(strEffectiveFrom);
          final Date effectiveTo = ((strEffectiveTo != null && strEffectiveTo != "") ? sdf
              .parse(strEffectiveTo) : null);






    posted on 2011-02-11 16:26 Ke 閱讀(340) 評論(0)  編輯  收藏 所屬分類: Openbravo
    主站蜘蛛池模板: 亚洲乱码精品久久久久..| 日韩电影免费在线| 亚洲午夜无码片在线观看影院猛| 亚洲成A人片在线播放器| 免费观看无遮挡www的视频| 亚洲精品电影天堂网| 8x成人永久免费视频| 亚洲一区二区三区四区在线观看| 免费一级毛片无毒不卡| 亚洲成AV人片一区二区| 日韩视频免费在线观看| 亚洲午夜久久久精品影院| 亚洲一区二区在线免费观看| 亚洲AV色香蕉一区二区| 日本免费人成视频在线观看| 91精品国产亚洲爽啪在线观看| 91精品国产免费入口| 亚洲日日做天天做日日谢| 免费高清在线爱做视频| 色婷婷综合缴情综免费观看| 国产AV无码专区亚洲AWWW| a在线观看免费视频| 久久精品国产亚洲av日韩| 亚洲第一网站免费视频| 久久综合久久综合亚洲| 国产jizzjizz视频全部免费| 全黄A免费一级毛片| 精品国产综合成人亚洲区| 免费女人高潮流视频在线观看| 亚洲三级中文字幕| 亚洲AV无码乱码在线观看牲色| 9久久免费国产精品特黄| 亚洲AV永久无码区成人网站| 99视频全部免费精品全部四虎| 亚洲日本成本人观看| 中文字幕精品无码亚洲字| 91免费福利精品国产| 国产成人精品亚洲| 亚洲成人免费在线| 四虎永久免费影院在线| 无码av免费一区二区三区|