Показать сообщение отдельно
Старый 28.07.2004, 14:32   #9  
mazzy is offline
mazzy
Участник
Аватар для mazzy
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
29,472 / 4494 (208) ++++++++++
Регистрация: 29.11.2001
Адрес: Москва
Записей в блоге: 10
Цитата:
Изначально опубликовано linney
хотя вопреки Маззи новый InventDim я создаю руками...
как-то так:
Зря
Код:
newInventDim.clear();
newInventDim.initValue();
newInventDim.InventLocationId = xxxxxxxxxxxx.InventLocationId;
newInventDim.InventSerialId = xxxxxxxxxxxx..inventSerialId;
newInventDim.InventGTDId_RU = xxxxxxxxxxxx..InventGtdId_RU;

newInventDim = inventDim::findOrCreate(newInventDim);