Hello,
I have to create new table with relation newTable.TransRefId == ProdCalcTrans.TransRefId
And after inserting in ProdCalcTrans ( after ending production order) my table should be populated.
Now I have my new table with all needed fields and i have method initFromProdCalcTrans(ProdCalcTrans _prodCalcTrans)
in which I am using this.FieldName to fill the table and calling the method in insert of ProdCalcTrans like this:
…
MyTable myTable;
super();
ttsbegin;
myTable.initFromProdCalcTrans(this);
myTable.insert();
ttscommit;
Is it correct to fill new table like this?
Thank you.