I created some custom code on the PurchReqLine table to empty the Requisitioner field on creation.
I coded something like this :
[ExtensionOf(tableStr(PurchReqLine))]
final class PurchReqLine_Table_Custom_Extension
{
public void initFromPurchReqTable(PurchReqTable _purchReqTable)
{
next initFromPurchReqTable(_purchReqTable);
this.Requisitioner = 0;
}
}
The problem is that the field in the form PurchReqTable still shows a value for this field although it really is empty (I checked the record values).
I tried to search for a way to empty a form control but it seems that the text() method is not recommended (and it doesn't work anyway).
Does anyone have an idea for this problem ?
Thanks