<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
    主站蜘蛛池模板: 亚洲av区一区二区三| 亚洲国产综合无码一区二区二三区| 亚洲成AV人片在线观看无| 人人爽人人爽人人片A免费| 又爽又黄无遮挡高清免费视频| 亚洲成A人片在线播放器| 啦啦啦中文在线观看电视剧免费版 | 日韩在线观看免费| 四虎国产精品免费视| 理论秋霞在线看免费| 国产中文在线亚洲精品官网| 国产精品免费在线播放| 国产成人精品日本亚洲网站| 日本免费人成视频在线观看| 亚洲嫩草影院在线观看| 日韩成人在线免费视频| 特级av毛片免费观看| 亚洲精品无码专区久久久| 久久A级毛片免费观看| 亚洲人色大成年网站在线观看| 性感美女视频免费网站午夜| 野花视频在线官网免费1| 国产亚洲一区二区在线观看| 曰批全过程免费视频网址| 亚洲中文字幕无码中文| 亚洲国产成人久久笫一页 | 1000部国产成人免费视频| 久久精品国产亚洲AV忘忧草18| 日日AV拍夜夜添久久免费| 精品一区二区三区高清免费观看| 91大神亚洲影视在线| 日韩中文无码有码免费视频 | 免费精品一区二区三区第35 | 国产v片免费播放| baoyu122.永久免费视频| 亚洲天堂一区二区三区| 全黄性性激高免费视频| 99re6热视频精品免费观看 | 久久九九免费高清视频| 亚洲中字慕日产2020| 亚洲国产精品狼友中文久久久|