/*==============================================================*/
/* Table: VENFACTURA                                            */
/*==============================================================*/
CREATE TABLE VENFACTURAIMP  (
   CIA                  CHAR(3)                         NOT NULL,
   SUCURSAL             CHAR(3)                         NOT NULL,
   DOCUMENTO            NUMBER(10)                      NOT NULL,
   CONSTRAINT VENFACTURAIMP_PK PRIMARY KEY (CIA, SUCURSAL, DOCUMENTO)
)
INITRANS 1
STORAGE
(
    INITIAL 200K
    NEXT 400K
);


define owner="MAYOR"
set verify off
cREATE PUBLIC SYNONYM VENFACTURAIMP FOR &OWNER..VENFACTURAIMP;  

define role="LLOBET_GENERAL"
set verify off

GRANT ALL ON VENFACTURAIMP TO &ROLE; 