--ABS-6127

------------------------------------------------INVOICELINETYPE_DESC---------------------------------

insert into invoicelinetype_desc
          (invoicelinetype_id,
           language_id,
           description,
           systemuser_id,
           timestamp)
          select x.invoicelinetype_id,
                 l.language_id,
                 x.factorydescription,
                 x.systemuser_id,
                 x.timestamp
            from invoicelinetype x, languages l
            where x.invoicelinetype_id = 32;
commit;


------------------------------------------------INVOICELINESUBTYPE_DESC---------------------------------

     
insert into invoicelinesubtype_desc
      (invoicelinesubtype_id,
       language_id,
       description,
       systemuser_id,
       timestamp)
      select i.invoicelinesubtype_id,
             l.language_id,
             i.factorydescription,
             1,
             sysdate
        from invoicelinesubtype i, languages l
       where l.translatedescription = 'Y' and i.invoicelinetype_id = 32;
commit; 