The Sterling Selling and Fulfillment Foundation UI uses JavaScript functions to perform client-side operations such as opening pop-up windows, switching views, validating user input, and so forth. Most of the JavaScripts used in the UI are provided by the UI infrastructure layer. You can use the same functions while performing your UI extensions. This section describes the JavaScript functions supplied by the application's UI layer.
Note that the application also uses JavaScript functions that are not supplied by the UI infrastructure. These functions usually perform some specific action for some specific screen and are not required to be used during your UI extensions.
In addition, if you require additional logic for your screen for which the UI infrastructure does not provide JavaScript functions, you can write and use your own as needed.
Lookup
callLookup. Uses [GET]
invokeCalendar. Uses [GET]
yfcShowSearchPopup. Uses [GET]
Control Name
ignoreChangeNames
yfcDoNotPromptForChanges
yfcDoNotPromptForChangesForActions
yfcHasControlChanged
yfcSetControlAsUnchanged
yfcSpecialChangeNames
Event Handler
validateControlValues
yfcBodyOnLoad
yfcGetSaveSearchHandle
yfcGetSearchHandle
yfcValidateMandatoryNodes
Show Detail
showDetailFor. Uses [GET]
showPopupDetailFor. Uses [GET]
yfcChangeDetailView. Uses [POST]
yfcShowDefaultDetailPopupForEntity. Uses [GET]
yfcShowDetailPopupWithDynamicKey
yfcShowDetailPopupWithKeys. Uses [GET]
yfcShowDetailPopupWithParams
Show List Pop-up
yfcShowListPopupWithParams. Uses [GET]
Other
doCheckAll
doCheckFirstLevel
expandCollapseDetails
getAttributeNameFromBinding
getCurrentSearchViewId
getCurrentViewId
getObjectByAttrName
goToURL
yfcAllowSingleSelection
yfcDisplayOnlySelectedLines
setRetrievedRecordCount