i need to add checkbox on Batches

I need to add a new checkbox for Inventory and warehouse management /Inquiries/Dimensions/Batches

as the blow screen, copy combo box and method From Custtable for customer on Hold

as the blow, i create New Blocked on Form and InventBatch and copy and edit 2 method

1-

boolean checkBlockedAll()
{
boolean ret = true;

if (this.Blocked == BatchVendorBlock::All)
{
ret = checkFailed(strFmt("@SYS18389", this.inventBatchId, BatchVendorBlock::All));
}
return ret;
}

2-

boolean checkAccountBlocked(AmountCur _amountCur)
{
boolean ret = true;

if (this.Blocked == BatchVendorBlock::All ||
(this.Blocked == BatchVendorBlock::All && _amountCur > 0))
{
ret = checkFailed(strFmt("@SYS7987", this.inventBatchId));
}
return ret;
}

and I can’t edit this method

static CustVendorBlocked blocked(InventBatchId inventBatchId)
{
return InventBatch::find(InventBatchId
,ItemId_).Blocked;
}

any help to complete this.