Remove button disabled in Tax registration for legal entity

Dear Experts,

I am using AX 2012 R2

In organisation administration >Legal entities > Taxes > Tax registration

on what basis we are disabling this button.

Please advice.

Thanks,

Sreenu

The deletion is allowed or delete button is enabled for for few countries.

Have a look at \Forms\LogisticsPostalAddress\Methods

if (SysCountryRegionCode::isLegalEntityInCountryRegion([#isoRU]) || TaxRegistration::useTAXIDRegNum_W())
{
taxRegistration_ds.allowDelete(true);
}

Hi Kranthi,

Thanks for reply.

Can you please suggest how to Bypass this logic, i need to enable this Remove button .

Thanks,

Sreenu