zoukankan      html  css  js  c++  java
  • app_item_property.SET_PROPERTY与set_item_property有什么区别?

    尽量使用APP_ITEM_PROPERTY.SET_PROPERTY和APP_ITEM_PROPERTY.SET_VISUAL_ATTRIBUTE代替SET_ITEM_PROPERTY
    set_item_property是form builder带的。app_item_property.SET_PROPERTY是oracle公司为ebs开发的包,底层还是调用set_item_property.
     

    APP_ITEM_PROPERTY.SET_PROPERTY 用法

    ALTERABLE

    app_item_property.set_property(itemid, ALTERABLE,PROPERTY_ON);

    等价于:
    set_item_instance_property(itemid, CURRENT_RECORD,INSERT_ALLOWED, PROPERTY_ON);
    set_item_instance_property(itemid, CURRENT_RECORD,UPDATEABLE, PROPERTY_ON);
    set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);
    set_item_property(itemid, UPDATEABLE, PROPERTY_ON);

    ALTERABLE_PLUS

    app_item_property.set_property(itemid, ALTERABLE_PLUS,PROPERTY_ON);
    等价于:
    set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);
    set_item_property(itemid, UPDATEABLE, PROPERTY_ON);
    如果item是隐藏的无效

    ENTERABLE

    app_item_property.set_property(itemid, ENTERABLE,PROPERTY_ON);
    等价于:
    set_item_instance_property(itemid, CURRENT_RECORD,INSERT_ALLOWED, PROPERTY_ON);
    set_item_instance_property(itemid, CURRENT_RECORD,UPDATEABLE, PROPERTY_ON);
    set_item_instance_property(itemid, CURRENT_RECORD,NAVIGABLE, PROPERTY_ON);
    set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);
    set_item_property(itemid, UPDATEABLE, PROPERTY_ON);
    set_item_property(itemid, NAVIGABLE, PROPERTY_ON);
    如果item是隐藏的无效

    ENABLED

    app_item_property.set_property(itemid, ENABLED,PROPERTY_ON);
    例如:
    set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);
    set_item_property(itemid, UPDATEABLE, PROPERTY_ON);
    set_item_property(itemid, NAVIGABLE, PROPERTY_ON);

    如果是按钮 APP_ITEM_PROPERTY.SET_PROPERTY  等价于: set_item_property(itemid, ENABLED, PROPERTY_ON);

    If the item is not a text item, list, or button, then the
    APP_ITEM_PROPERTY.SET_PROPERTY call 等价于:
    set_item_property(itemid, ENABLED, PROPERTY_ON);
    set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);
    set_item_property(itemid, UPDATEABLE, PROPERTY_ON);

    DISPLAYED

    app_item_property.set_property(itemid, DISPLAYED,PROPERTY_ON);
    等价于:
    set_item_property(itemid, DISPLAYED, PROPERTY_ON);
    如果项目不是一个显示项目设置:
    set_item_property(itemid, ENABLED, PROPERTY_ON);
    set_item_property(itemid, NAVIGABLE, PROPERTY_ON);
    If the item is neither a display item nor a button then also set:
    set_item_property(itemid, QUERYABLE, PROPERTY_ON);
    set_item_property(itemid, INSERT_ALLOWED, PROPERTY_ON);
    set_item_property(itemid, UPDATEABLE, PROPERTY_ON);

    REQUIRED

    app_item_property.set_property(itemid, REQUIRED,PROPERTY_ON);
    等价于:
    set_item_property(itemid, REQUIRED, PROPERTY_ON);
    如果item是隐藏的无效

  • 相关阅读:
    react注意事项
    小程序的页面滚动
    calc
    写好的vue项目怎么打包成uniapp形式
    处理其他系统过来的token.
    解析token
    iframe接受不同域名的token
    tree懒加载的使用,
    js防抖节流
    vue2.0和vue3.0的区别
  • 原文地址:https://www.cnblogs.com/Bigbirdblog/p/4817038.html
Copyright © 2011-2022 走看看