📄 ad_printformatitem_btrg.sql
字号:
CREATE OR REPLACE TRIGGER AD_PrintFormatItem_BTrg
BEFORE INSERT OR UPDATE
ON AD_PrintFormatItem
FOR EACH ROW
BEGIN
/*************************************************************************
* The contents of this file are subject to the Compiere License. You may
* obtain a copy of the License at http://www.compiere.org/license.html
* Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
* express or implied. See the License for details. Code: Compiere ERP+CRM
* Copyright (C) 1999-2002 Jorg Janke, ComPiere, Inc. All Rights Reserved.
*************************************************************************
* $Id: AD_PrintFormatItem_BTrg.sql,v 1.2 2002/08/26 05:23:32 jjanke Exp $
***
* Title: AD_PrintFormatItem
* Description:
* - DeSelect Group By when not Sort Order
* - Absolute/Relative Setting
************************************************************************/
-- If Order By is de-selected de-select Group by too
IF (:new.IsOrderBy = 'N') THEN
:new.SortNo := 0;
:new.IsGroupBy := 'N';
:new.IsPageBreak := 'N';
END IF;
IF (:new.IsRelativePosition = 'Y') THEN
:new.XPosition := 0;
:new.YPosition := 0;
ELSE
:new.XSpace := 0;
:new.YSpace := 0;
END IF;
END AD_PrintFormatItem_BTrg;
/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -