microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
770 stars 610 forks source link

Table 99000764 & 99000772 #630

Closed LFlamme closed 5 years ago

LFlamme commented 5 years ago

Hi,

In https://github.com/Microsoft/AL/issues/3045 I requested the function TestStatus in tables 99000764 & 99000772 should be global/external, and a check of IsTemporary at the beginning of those functions. In the Current BC Version (CU2) I see that they are set to External, but there is no check of IsTemporary. If we can´t get the check of IsTemporary, can we get an events with handler pattern instead so we can check for ourselves?

Thanks in advance

IhorHandziuk commented 5 years ago

Thank you for your request @LFlamme . Can you, please, explain in more details why it's desirable to skip execution of this function on temporary records?

LFlamme commented 5 years ago

Hi, we use these records temporary, change the status but still need to be able to use Validate. Since the status is not "certified" when validating, the TestStatus would fail and the validate would end with an error. So we skip the Teststatus if our record is temporary

IhorHandziuk commented 5 years ago

Thank you for explanation, you can expect the change in future update.