有库存不能停用子库存

应用

Oracle Inventory

Level

Function

函数名

Funcgtion Name

INV_INVSDSUB

表单名

Form Name

INVSDSUB

说明

Description

有库存不能停用子库存

条件

Condition

触发器事件

Tirgger Event

WHEN-VALIDATE-RECORD

触发器对象

Tirgger Object

SUBINV

条件

Condition

${item.subinv.DISABLE_DATE.value}   is not null and exists (select 1 from apps.org_organization_definitions ood   where ood.organization_name like '36%' and ood.organization_id =   ${item.subinv.organization_id.value})

and exists ( select 1

  from inv.mtl_onhand_quantities_detail moq

 where moq.organization_id =   ${item.subinv.organization_id.value}

   and moq.subinventory_code =   ${item.subinv.secondary_inventory_name.value})

处理模式

Processing Mode

Not in   Enter-Query Mode

上下文 层/值

Contest   Level/Value

Responsibility/***职责

活动

Actions

序号

seq

特性

Type

说明

Description

语言

Language

消息类型

Message   Type

Error

10

Message

/

ALL

消息文本

Message   Type

子库存有现有量,不能停用!

20

Builtin

/

ALL

内置类型

Builtin   Type

RAISE FORM_TIRGGER_FAILURE

处理模式

讯息提醒模式

作业

讯息型态:显示

讯息内容: 子库存有现有量,不能停用!

posted on 2013-07-10 13:16  st.sun  阅读(279)  评论(0编辑  收藏  举报

导航