public display ITMLineStatus lineStatus()
{
ITMLineStatus shipLineStatus;
switch (this.RefTableId)
case tableNum(PurchLine):
shipLineStatus = this.lineStatusByPurchLine();
break;
case tableNum(InventTransferLine):
shipLineStatus = this.lineStatusInventTransferLine();
default:
exceptionTextFallThrough();
}
return shipLineStatus;
Note that you can often implement some parts of the logic as views that you'll use in the computed column, rather then generating everything as T-SQL from your code.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
We are honored to recognize Mansi Soni as our August 2025 Community…
A new season of Super Users has arrived, and we are so grateful for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Kumar_Sat 32
MF-16081018-0 24
Karam Baazab 23