SET TERM ^ ;

CREATE trigger ttbpdv_mfe_b01d for tbpdv_mfe
active before delete position 0
AS
BEGIN
    DELETE FROM TBPDV_MFE_CAIXA WHERE PDV_MFE_ID = OLD.ID;
END
^

SET TERM ; ^

