I have added a new field in vendpackingslipjour table which should not be editabe when i click on that record, if the status of the purch order is invoiced. In the active of the datasource i have done something like this, but it does all the column not editable. What should I do to make the field notedditable with this condition?
while select PurchId from vendPackingSlipJour index purchIdDateIdx
exists join purchTable
where vendPackingSlipJour.purchId == purchTable.PurchId
{
VendPackingSlipJour_ds.object(fieldNum(VendPackingSlipJour, RefBcode)).allowEdit(purchTable.PurchStatus == PurchStatus::Invoiced);}
*This post is locked for comments