"localhost:/firebird/data/ILICHEVSK2.FDB". Триггеры Previous topic Chapter index Next topic

IT_SETRRWREGDATE

 

Описание

(Нет описания для триггера IT_SETRRWREGDATE)

 

Определение

CREATE TRIGGER IT_SETRRWREGDATE FOR IT
ACTIVE BEFORE INSERT OR UPDATE POSITION 0
as
Declare OperationSubTypeID integer;
Declare TransportTypeID integer;
begin
/*select TransportTypeID
    from ittransport
    where InventoryID = NEW.inventoryid
  into :TransportTypeID;
  If (TransportTypeID = 2) Then
  begin
    select OperationSubType from Operation where operationID = new.OperationID
    into OperationSubTypeID;
-    if (OperationSubTypeID = 0) then New.RegDate = new.TareTime;
--        when 5 then new.GrossTime
  end
*/
end

 

     Previous topic Chapter index Next topic