Сообщение от
gl00mie
Приложение AX 2012 R2 CU7 (6.2.1000.4051), интересно, при каком параде планет здесь должен будет отработать бразильский функционал?..
\Data Dictionary\Tables\InventTransferTable\Methods\Update
X++:
// <GEERU>
public void update()
{
#ISOCountryRegionCodes
if (SysCountryRegionCode::isLegalEntityInCountryRegion([#isoRU]))
{
ttsbegin;
this.setInventProfileId_RU();
this.setInventProfileIdTo_RU();
this.updateLinesInventProfile_RU();
super();
// <GBR>
if (BrazilParameters::isEnabled())
{
this.SysExtensionSerializerMap::postUpdate();
}
// </GBR>
ttscommit;
}
else
{
super();
}
}
// </GEERU>
\Data Dictionary\Tables\BrazilParameters\Methods\isEnabled
X++:
public static boolean isEnabled()
{
#ISOCountryRegionCodes
return SysCountryRegionCode::isLegalEntityInCountryRegion([#isoBR]);
}