Hello,
So the question is: how to add Reference Data Source in Form using Form class.
Code looks something like this:
static void createForm() { Form form; FormBuildDataSource formBuildDataSource; ... form = new Form(); dictTable = new DictTable(tablenum(CustTable)); formBuildDataSource = form.addDataSource(dictTable.name()); formBuildDataSource.table(dictTable.id()); ...
}
And I would love to add a Reference Data Source for example with HcmWorker table.
Any ideas how to do that?