RowUpdate

Enables the script to call the same RowUpdate logic that the system user interface utilizes for a given detail row. This command is optional. It is useful, especially for the Formula Ingredient detail because the Quantity % column is calculated for the new row.

Only use RowUpdate for symbols or details that support RowUpdate events in hook scripts. For example, ingrpre(and post)rowupdate on formula Item lines, tppre(and post)rowupdate on Spec Parameters.

Syntax


Public Function RowUpdate(ByVal objSymbol As String, ByVal objKey As String, ByVal 
DetailCode As String, ByVal updateRow As DataRow, Optional ByVal 
originalRow As DataRow = Nothing, Optional ByVal flags As Integer = 0)
As DataSet

Arguments

Argument Description
objSymbol The data object type or the current object type if blank.
objKey The data object key or the current object key if blank.
DetailCode The system detail code that has the RowUpdate logic to execute.
updateRow The ADO.Net DataRow object that has the current row values.
originalRow Optional. The ADO.Net DataRow object that has the old row values.
Flags Reserved for future use.

Return

ADO.Net DataSet object. See http://msdn.microsoft.com.