Hi All,
Is there a way to added custom fields enabled in any status on the Transfers screen(IN304000) in Acumatica 24.R1? I want specially after releasing the transfers.
Any insights would be greatly appreciated.
Regards,
Lalith
Hi All,
Is there a way to added custom fields enabled in any status on the Transfers screen(IN304000) in Acumatica 24.R1? I want specially after releasing the transfers.
Any insights would be greatly appreciated.
Regards,
Lalith
Best answer by svwk05
Can you try below code, it works for me.
protected virtual void INTran_RowSelected(PXCache cache, PXRowSelectedEventArgs e, PXRowSelected InvokeBaseHandler)
{
InvokeBaseHandler?.Invoke(cache, e);
var row = (INTran)e.Row;
if (row == null)
{
return;
}
if (Base.transfer.Current.Status == INDocStatus.Released)
{
Base.transfer.Cache.AllowUpdate = true;
Base.transactions.Cache.AllowUpdate = true;
// Enable the custom field
PXUIFieldAttribute.SetEnabled<INTranExt.usrDebitAccount>(cache, row, true);
}
}Thanks,
SaiKrishna
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.