Good Morning,
In inventory management there is counting journal
The form name is inventjournalcount
In that form there are 2 form datasources
1.Inventjournaltrans
2.Inventdim
I have a requirement like whenever the user changes Site,Warehouse,Batch number in this form "inventjournalcount"
I must update cost price (which is in Inventjournaltrans.Costprice)
new cost price should be taken from Item Onhand (based on site,Warehouse,Batch id Selection in Jornal)
Logic is written.
Where should i write code.
Either in form Datasource (Inventdim) fields - InventLocationId modified Field ?
The form should refresh with new data whenever (Site,Warehouse,Batch) fields are modified.
Please show some light on this.
Regards.
Have a great day.