Skip to main content

Notifications

Community site session details

Community site session details

Session Id :

How to populate Tmp (inMemory) table on form in D365. #ax #dynamics

Krishna Bhardwaj Profile Picture Krishna Bhardwaj 97
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();
}
 

Comments

*This post is locked for comments