Thursday, January 31, 2019

Oracle OAF :- Default KFF Value



/*  34 */     OAKeyFlexBean kffId = (OAKeyFlexBean)webBean.findIndexedChildRecursive("WriteoffCodeCombination");
/*     */
/*  36 */     kffId.useCodeCombinationLOV(true);
/*  37 */     kffId.setStructureCode(str12);
/*  38 */     kffId.setCCIDAttributeName("WriteoffCodeCombinationId");
/*  39 */     kffId.setRequired("yes");
/*  40 */     kffId.setWidth("170%");
/*  41 */     kffId.addVRule("", "SUMMARY_FLAG", new Message("SQLGL", "GL_NO_PARENT_SEGMENT_ALLOWED"), true, new String[] { "N" });
/*     */   
             /* Todays Changes */
              kffId.processFlex(pageContext);
              int i = kffId.getIndexedChildCount(pageContext.getRenderingContext());
        for (int j = 0; j < i; j++) {
oracle.cabo.ui.UINode uinode =  kffId.getIndexedChild(pageContext.getRenderingContext(), j);
        if ("WriteoffCodeCombination_COMBINATION".equalsIgnoreCase(uinode.getID())) ((OAMessageLovTextInputBean)uinode).setText("541.000.00.00.00.111101.0000.000.0000.0000");
             }

No comments:

Post a Comment