SetCurrentVersion

(Recipe Book module)

Description:

Sets the version of the current recipe

Returns: Nothing
Usage: Script Only.
Function Groups: Recipe Book
Related to: GetRecipes | GetVersions | GetCurrentRecipe | GetCurrentVersion | SetCurrentRecipe |
Format: RecipeBook.SetCurrentVersion(NewVal)
Parameters:  
NewVal
Required numeric. The version to set.
Comments:

"RecipeBook" must be a reference to a Recipe Book tag object, not the name of the tag.

The ingredient tags will be updated automatically for the newly set version of the current recipe.