车间任务移动完工时检验倒冲子库

应用

Oracle Work in   Progress

Level

Function

函数名

Funcgtion Name

WIP_WIPTXSFM

表单名

Form Name

WIPTXSFM

说明

Description

车间任务移动完工时检验倒冲子库

条件

Condition

触发器事件

Tirgger Event

WHEN-VALIDATE-RECORD

触发器对象

Tirgger Object

MOVE_TRANSACTIONS

条件

Condition

( select count(*)

    from wip.wip_entities   we

        ,wip.wip_discrete_jobs wdj

        ,wip.WIP_REQUIREMENT_OPERATIONS wro

    where we.wip_entity_id =   wdj.wip_entity_id

     and    we.organization_id = wdj.organization_id

     and    we.organization_id = wro.organization_id

     and    we.wip_entity_id   =   wro.wip_entity_id

     and    we.organization_id = *** (REMARK: 组织ID)

     and we.wip_entity_name =   :MOVE_TRANSACTIONS.WIP_ENTITY_NAME

     and wro.wip_supply_type in (2,3)

     and (wro.supply_subinventory = '***' (REMARK:倒冲子库)

          and class_code <> '***'(REMARK:   任务类型)

     or wro.supply_subinventory like 'M%'))   >0

处理模式

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  阅读(317)  评论(0编辑  收藏  举报

导航