Hi everybody,
I want to copy from table1 to table 2 by insert_recordset but how can i make PhysicalInvent to negative value?
my code.
//--------------------------------
TransDate = systemdateget();
CountingID = "TEST";
ttsbegin;
insert_recordset _EXT16_InventCountingByDim (CountingID,itemId,inventDimId,qty,DiffQTY,TransDate )
select CountingID,itemid,InventDimId,PhysicalInvent,negative(PhysicalInvent),TransDate from _inventSum ;
ttscommit;
//--------------------------------
Help me please,
Thank you.