ITPub博客

首页 > 数据库 > Oracle > 【EBS FORM】键弹性域在FORM中的定义

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

原创 Oracle 作者:J_Force 时间:2016-06-01 17:33:48 0 删除 编辑
官方文档: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博客 ” ,链接:https://blog.itpub.net/29599494/viewspace-2112422/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-04-10

  • 博文量
    19
  • 访问量
    37203