hello all,
Can anyone guide me on how can I make the header level description field on AP301000 screen to remain as editable for all the statuses?
Thanks.
hello all,
Can anyone guide me on how can I make the header level description field on AP301000 screen to remain as editable for all the statuses?
Thanks.
Best answer by svwk05
Hi
You can make the header-level Description field editable for all statuses by overriding its Enabled state in the RowSelected event of a graph extension.
Try using the sample code below:
protected virtual void APInvoice_RowSelected(PXCache sender, PXRowSelectedEventArgs e, PXRowSelected baseMethod)
{
baseMethod.Invoke(sender, e);
var row = e.Row as APInvoice;
if (row == null) return;
PXUIFieldAttribute.SetEnabled<APInvoice.docDesc>(sender, row, true);
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.