I have from with a datasource. I need the active record once the form is loaded to be empty. The form has worker field which is a HCMWorkerRecId, once certain worker is selected I need to return the last transaction of the selected worker if it is not posted yet, if all transactions of selected worker are posted or there is no transaction for him the active record should be empty except that worker field allowing to insert new transaction. How can I do this and using which datasource method ?
↧