CREATE TYPE APURA_NEGOC_ULTCOMP_TYPE AS
OBJECT( CDFORNITMAP VARCHAR2(21),
        NMFANTFORN  VARCHAR2(250),
        NRSEQITMAP  VARCHAR2(10),
        CDCENTITMAP VARCHAR2(4),
        CDREGITMAP  VARCHAR2(3),
        NRCOLEITMAP VARCHAR2(10),
        CDPRODITMAP VARCHAR2(10),
        CDARVPROD   VARCHAR2(20),
        CDMARCITMAP VARCHAR2(5),
        NMMARCA     VARCHAR2(20),
        IDITMSELAPUR VARCHAR2(1),
        SGUNIDADE   VARCHAR2(10),
        IDQTMINFORN VARCHAR2(1),
        IDVRMINFORN VARCHAR2(1),
        VRPRECUNIAP FLOAT,
        PRECOECON   FLOAT,
        PRECOECONPI FLOAT,
        QTACOMP     FLOAT,
        ORDENA      FLOAT,
        QTMINAUTFOT FLOAT,
        VRMINAUTFOR FLOAT,
        VRFATOCONV  FLOAT,
        PRODUNDIVFATCO FLOAT,
        VRULTCOTA   FLOAT,
        VRULTVENDA  FLOAT,
        VRPRECTOTAP FLOAT)
/