Wednesday, 8 June 2016

To append string using computed column in View

public static server str POConfirmationJournal()

{
TableName viewName = tableStr(DESPurchOpenLines);
return SysComputedColumn::add(SysComputedColumn::returnField(viewName,identifierStr(PurchTable),fieldStr(PurchTable,PurchId)),
SysComputedColumn::cast(SysComputedColumn::returnLiteral('-1'), 'VARCHAR'));
 
}
 
 
 


 

No comments:

Post a Comment