Here, I'll demonstrate how to add data to Tmp tables that are in-memory. I'm using this table in my fact box(form), and I need to update the data in accordance with the selection of the parent form record.
public void fillTmpData(Common _common)
{
AvailableTagsProducedTmp tmp;
If (Condition…)
{
tmp.initValue();
tmp.TagNumber = inventDim.inventBatchId;
tmp.LicensePlateId = inventDim.LicensePlateId;
tmp.LocationId = inventSum.wMSLocationId;
tmp.Quantity = inventSum.AvailPhysical;
tmp.insert();
}
AvailableTagsProducedTmp.setTmpData(tmp);
AvailableTagsProducedTmp_ds.executeQuery();
}
public void fillTmpData(Common _common)
{
AvailableTagsProducedTmp tmp;
If (Condition…)
{
tmp.initValue();
tmp.TagNumber = inventDim.inventBatchId;
tmp.LicensePlateId = inventDim.LicensePlateId;
tmp.LocationId = inventSum.wMSLocationId;
tmp.Quantity = inventSum.AvailPhysical;
tmp.insert();
}
AvailableTagsProducedTmp.setTmpData(tmp);
AvailableTagsProducedTmp_ds.executeQuery();
}
*This post is locked for comments