i want to find the baseentry of the current Invoice. I am using the following code:
datasourece = oForm.datasources.dbdatasources.item("inv1") strBaseEntry = datasource.getValue("BaseEntry",0)
always returns a null, even its base is a sales order. i can get it from UI if i make the column visible...but this wouldn't be a solution.
but first of all, why isn't the baseentry getting returned from the datasource?