帐套零成本控制

应用

Oracle Inventory

Level

Function

函数名

Funcgtion Name

INV_INVTTMTX_MISC

表单名

Form Name

INVTTMTX

说明

Description

帐套零成本控制

条件

Condition

触发器事件

Tirgger Event

WHEN-VALIDATE-RECORD

触发器对象

Tirgger Object

MTL_TRX_LINE

条件

Condition

(select count(*)

from bom.cst_item_costs cic

     ,inv.mtl_system_items_b msi

 where cic.cost_type_id =1

   and nvl(cic.item_cost,0) <> 0

   and cic.organization_id =   msi.organization_id

   and cic.inventory_item_id =   msi.inventory_item_id

   and msi.organization_id =   :MTL_TRX_LINE.ORGANIZATION_ID

   and msi.segment1 = :MTL_TRX_LINE.ITEM) =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

处理模式

讯息提醒模式

作业

讯息型态:显示

讯息内容: 此物料没有成本,不能做事务处理,请先确认是否已维护成本!

原文地址:https://www.cnblogs.com/st-sun/p/3179814.html