Virtual Structure Component
Fnd_VS_Info
Fnd_VS_Info (info requested) -> Text
Parameters
| Parameter | Type | Description |
|---|---|---|
| info requested | Text | Info desired |
| Function Result | Text | Response Returns the requested information about the component. $version_t:=Fnd_VS_Info ("version") |
Description
The Fnd_VS_Info method will respond to these requests: Request Response Example name The component’s full name Foundation Virtual Structure version The component’s version number 4.0.5 beta 2
This routine can also be called using the Fnd_Gen_ComponentInfo method without first testing to see if the component is installed:
$version_t:=Fnd_Gen_ComponentInfo ("Fnd_VS";"version")
See the Fnd_Gen_ComponentInfo method for more information.
Fnd_VS_ReplaceString
Fnd_VS_ReplaceString (old string; new string)
Parameter Type Description old string Text String to replace new string Text String to replace old string
Fnd_VS_ReplaceString does a find and replace in all of the virtual table titles and field titles.
This routine was designed specifically to quickly replace underscores with spaces, but could also be used for other global changes. For example, after this call:
Fnd_VS_ReplaceString ("_";" ")
A field named “First_Name” would appear to the user as “First Name.”
Fnd_VS_SetFieldTitle
Fnd_VS_SetFieldTitle (->field; title)
Parameter Type Description field Pointer Field to rename title Text Virtual field title
Fnd_VS_SetFieldTitle allows the developer to set a virtual field title for a single field.
Fnd_VS_SetFieldTitle (->[Contact]Addr1;"Address Line 1")
Extracted source text
Fnd_VS_Info (info requested) ➜ Text
Parameter Type Description
info requested Text Info desired
Function Result Text Response
Returns the requested information about the component.
$version_t:=Fnd_VS_Info ("version")
The Fnd_VS_Info method will respond to these requests:
Request Response Example
name The component’s full name Foundation Virtual Structure
version The component’s version number 4.0.5 beta 2
This routine can also be called using the Fnd_Gen_ComponentInfo method without first testing to see
if the component is installed:
$version_t:=Fnd_Gen_ComponentInfo ("Fnd_VS";"version")
See the Fnd_Gen_ComponentInfo method for more information.
Fnd_VS_ReplaceString
Fnd_VS_ReplaceString (old string; new string)
Parameter Type Description
old string Text String to replace
new string Text String to replace old string
Fnd_VS_ReplaceString does a find and replace in all of the virtual table titles and field titles.
This routine was designed specifically to quickly replace underscores with spaces, but could also be used
for other global changes. For example, after this call:
Fnd_VS_ReplaceString ("_";" ")
A field named “First_Name” would appear to the user as “First Name.”
Fnd_VS_SetFieldTitle
Fnd_VS_SetFieldTitle (->field; title)
Parameter Type Description
field Pointer Field to rename
title Text Virtual field title
Fnd_VS_SetFieldTitle allows the developer to set a virtual field title for a single field.
Fnd_VS_SetFieldTitle (->[Contact]Addr1;"Address Line 1")