Technical‎ > ‎MSCA‎ > ‎

Oracle MSCA - Changing Prompts & DFI for out of order scanning



All information related to Oracle MSCA(Mobile Supply Chain Applications) prompts is stored in the AK Dictionary. AK Dictionary is an active data dictionary that enables you to define inquiry applications for the web, and generate any of the application's characteristics at runtime.

MSCA/MWA Framework uses AK Repository mainly for two purpose:
1) Defining Labels
2) Defining DFIs
 
1) Defining Labels:
When we create a new custom page using MSCA/MWA Framework, we use setPrompt() set the labels to the fields.
In order to support MLS(Multi Language Support), we need to define these labels as Items in AK Repository and link into custom page.
2)DFI(Data Field Identifier):
DFI functionality in Oracle Mobile Applications (MSCA and WMS) allows identification of the type of data that is embedded within
a barcode when it is scanned by the mobile device. DFI usually consists of one to three characters that precede the
value of the data that is encoded in the barcode.
We will see each of them in detail now.
Setting up labels/DFI's in AK Repository:

1: Setup the Attribute
AK Developer ->Define Attributes
Create a record necessary information like Attribute ID,Attribute Name,Label etc

2: Setup a Controller
Before creating a region in AK Repository, we need to have a controller to associate to the AK Region.
Following is a sample controller class for an AK Region
package xxgil.oracle.apps.inv.utilities;
import oracle.apps.fnd.common.VersionInfo;
public class XxgilInvResourceTable 
{

      
    public static final String XXGIL_FAIL_BTN = "XXGIL_FAIL_BTN";
    ..............
//Code to retrieve the prompt of the button.
mField.setPrompt(MWALib.getAKPrompt(ses, "xxgil.oracle.apps.inv.utilities.XxgilInvResourceTable", "XXGIL_FAIL_BTN"));
mField.retrieveAttributes("XXGIL_FAIL_BTN");

}
3: Setup the AK Region:
AK Developer -> Define Regions

Step 4: Reference AK Attributes for the AK Regions
AK Developer ->Define Regions
Click on Region Items
Create new record and link the attribute(s) which we created previously.

You can now change the label on the attribute directly or in region items (long label) to change the prompt.
If you plan to use the field as DFI in your Oracle MSCA(Mobile Supply Chain Applications) implementation please read on.

DFI's:

DFI functionality in Oracle Mobile Applications (MSCA and WMS) allows identification of the type of data that is embedded within a barcode. DFI usually consists of one to three characters that precede the value of the data that is encoded in the barcode. For instance, a DFI for Part Number might be P+. If the part number that were encoded in a given barcode were AS54888 then the barcode would encode the value P+AS54888 to indicate that the barcode is for a Part Number and that Part Number is AS54888.

DFIs offer the following advantages:

Out of order scanning: Operator need not place the cursor in the field where data is being entered. For example, the cursor could be on PO field while the item barcode is being scanned. The DFI ensures that correct field is populated.
Data Accuracy. DFIs are useful in reducing error caused by scanning the wrong barcode into a field on a mobile device.

DFI Scanner Configuration

In order to use the DFI functionality in Oracle, the scanning device must be setup to always prefix the Data Stream Indicator on every scan. Oracle certified scanning devices must allow this configuration.

DFI Oracle COnfiguration:

DFI attributes in "Default Varchar2 Value" Column. For example, a value like 
"DFI=P+ REQ=N" means that when a barcode is scanned on that field using the hand held mobile device



Free Hit Counters
Comments