create or replace package facven is

   procedure IniciaFac(pcia in varchar2, psuc in varchar2, pdoc in number);

   procedure DatosFac(pcia in varchar2, psuc in varchar2, pdoc in number,
                      pcaja out varchar2, pdia out date, pest out varchar2);

   Procedure ActVentas(psec in number, pmonbase in varchar2, pbod in varchar2,
                       part in varchar2, pcosto in number, pcantidad in number);

   Function ActLinea(pcia in varchar2, psuc in varchar2, pdoc in number, plinea in number,
                     pbod in varchar2, part in varchar2, plot in varchar2,
                     pcantidad in number) return number;

end;
/

start facvenbod.plb