Hello Guys,
it’s possible to enable a specific button even in closed invoice?
Hello Guys,
it’s possible to enable a specific button even in closed invoice?
It is possible.
There are several ways to do this.
hi
In continuation to
syntax
protected virtual void DACName_RowSelected(PXCache cache, PXRowSelectedEventArgs e, PXRowSelected baseEvent)
{
condition and logic
}
note: here Base Event parameter is required only when we customized the existing screen for new screen customization this parameter is not required
Example
protected virtual void SOOrder_RowSelected(PXCache cache, PXRowSelectedEventArgs e, PXRowSelected baseEvent)
{
if (baseEvent != null)
baseEvent(cache, e);
SOOrder row = (SOOrder)e.Row;
if (row == null) return;
KNCPAlternateItems.SetEnabled(row.Status == "Completed");
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.