D Appendix: MFPCS Specific Custom Functions, Procedures, and Special Expressions

MFP Cloud Service uses the RPAS Batch Framework to set up the batch process. For more details about understanding batch_control files and its uses in the batch process, see the Oracle Retail Predictive Application Server Cloud Edition Implementation Guide. Any application-specific custom functions are packaged in RASL libraries and those are available to use in the batch_exec_list.txt control file with the service name as ra_custom to trigger to those functions and parameter as the function name. The following list of predefined custom functions are available RASL libraries installed as part of RPAS that are used by MFP.

Custom Function: ap_set_datr

The Platform UI feature allows product/location attributes to be used as filters. In order to use them as filters in the UI, those attributes needs to be registered as dimension attributes. This application-level function registers all the loaded product/location attributes as dimension attributes. It needs to be called each time a new set of product/location attributes is loaded.

It takes two parameters in addition to the function name, attribute measure and attribute hierarchy.

Example:

batch_datr | ra_custom | ap_set_datr~addvlocattt~satr