【EBS FORM】键弹性域在FORM中的定义

官方文档:Oracle E-Business Suite Developer’s Guide:20-20

完整定义:

点击(此处)折叠或打开

  1. fnd_key_flex.define(
  2.                     /* Arguments that specify flexfield location */
  3.                     BLOCK => 'block_name',
  4.                     field => 'concatenated_segments_field_name',
  5.                     description => 'description_field_name',
  6.                     id => 'Unique_ID_field',
  7.                     data_field => 'concatenated_hidden_IDs_field',
  8.                     /* Arguments that specify the flexfield */
  9.                     appl_short_name => 'application_short_name',
  10.                     code => 'key_flexfield_code',
  11.                     num => 'structure_number',
  12.                     /* Other optional parameters */
  13.                     validate => '{FOR_INSERT|FULL|PARTIAL|NONE|PARTIAL_IF_POSSIBLE}',
  14.                     vdate => 'date',
  15.                     displayable => '{ALL | flexfield_qualifier | segment_number}\\0{ALL | flexfield_qualifier | segment_number}',
  16.                     insertable => '{ALL | flexfield_qualifier | segment_number}\\0{ALL | flexfield_qualifier | segment_number}',
  17.                     updateable => '{ALL | flexfield_qualifier | segment_number}\\0{ALL | flexfield_qualifier | segment_number}',
  18.                     vrule => 'flexfield qualifier\\n
  19.                                          segment qualifier\\n
  20.                                          {Include|Exclude}\\n
  21.                                          APPL=application_short_name;
  22.                                          NAME=Message Dictionary message name\\n
  23.                                          validation value1\\n
  24.                                          validation value2...
  25.                                          \\0flexfield qualifier\\n
  26.                                          segment qualifier\\n
  27.                                          {Include|Exclude}\\n
  28.                                          APPL=application_short_name;
  29.                                          NAME=Message Dictionary message name\\n
  30.                                          validation value1\\n
  31.                                          validation value2...',
  32.                     copy => 'block.field\\n{ALL | flexfield qualifier | segment_number}\\0block.field\\n{ALL | flexfield qualifier | segment_number}',
  33.                     derived => 'block.field\\nSegment qualifier',
  34.                     derive_always => '{Y|N}',
  35.                     dinsert => '{Y|N}',
  36.                     valatt => 'block.field\\nflexfield qualifier\\nsegment qualifier',
  37.                     title => 'Title',
  38.                     required => '{Y|N}',
  39.                     autopick => '{Y|N}',
  40.                     usedbflds => '{Y|N}',
  41.                     allownulls => '{Y|N}',
  42.                     data_set => 'set number',
  43.                     column => '{column1(n) | column1alias(n) , column2(n),... INTO block.field}',
  44.                     where_clause => 'where clause',
  45.                     combqp_where => '{where clause|NONE}',
  46.                     where_clause_msg => 'APPL=application_short_name;NAME=message_name',
  47.                     query_security => '{Y|N|}',
  48.                     qbe_in => '{Y|N}',
  49.                     read_only => '{Y|N}',
  50.                     longlist => '{Y|N}',
  51.                     no_combmsg => 'APPL=application_short_name;NAME=message_name',
  52.                     autocombpick => '{Y|N}',
  53.                     lock_flag => '{Y|N}',
  54.                     help => 'APPL=application_short_name;TARGET=target_name');
项目中用到了WHERE_CLAUSE,查了一下官方文档,以下是官方解释,
官方文档描述使用了WHERE_CLAUSE以后,可以设置一个错误信息,但我设置了以后,依然不能第一时间展示,需要点错误的详细信息才能看到自定义的消息。

WHERE_CLAUSE:
  1. Key flexfields only. Specify a WHERE clause to restrict which code combinations to display in the list of values
  2. window. This argument also prevents a user from entering a combination that does not fit the WHERE clause. This
  3. argument should not normally be used for a flexfield on the combinations form, since you would usually want to
  4. display all combinations on the combinations form. Do not specify the word “WHERE” in this WHERE clause argument.
  5. You should use this token with flexfields that do not allow dynamic inserts, either using DINSERTS as N or preventing
  6. dynamic inserts at the structure level. You should not use the WHERE_CLAUSE argument for a flexfield that allows dynamic inserts.
  7. Use the WHERE_CLAUSE_MSG argument to specify an appropriate message to display to the user when a
  8. combination violates your WHERE clause.




来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29599494/viewspace-2112422/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29599494/viewspace-2112422/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值