Все это выглядит приблизительно так
Никаких других действий я не делаю
ttsbegin;
inventTable.ItemGroupId = #ITEM_GROUP;
inventTable.ItemId = itemId;
inventTable.itemName = itemName;
inventTable.insert();
purch.itemId = itemId;
purch.ModuleType = ModuleInventPurchSales::Invent;
purch.insert();
purch.itemId = itemId;
purch.ModuleType = ModuleInventPurchSales::Purch;
purch.insert();
purch.itemId = itemId;
purch.ModuleType = ModuleInventPurchSales::Sales;
purch.insert();
inventitemLocation.itemId = itemId;
inventitemLocation.inventDimId = InventDim::inventDimIdBlank();
inventItemLocation.insert();
ttscommit;
__________________
Жизнь меняется тогда, когда меняемся мы...
|