[ExtensionOf(formStr(InventJournalMovement))]
internal final class DaxInventJournalMovementForm_Extension
{
public void initDatasourceAllow()
{
InventJournalTable inventJournalTableloc = inventJournalTable_ds.cursor();
next initDatasourceAllow();
if(inventJournalTableloc.Posted == NoYes::Yes)
{
inventJournalTable_ds.allowDelete(false);
}
else
{
inventJournalTable_ds.allowDelete(true);
}
}
}
Output :
No comments:
Post a Comment