Creating the Data Service Class

To create the data service class:

  1. In the Projects panel located on the left of the screen, highlight the Model project,

  2. Select AIS Client Class Generator from the Tools menu.

  3. Enter the following information:

    Service Type: Data Service

    Target Type: Table

    Target Name: F4801

    Return Control Ids: F4801.NUMB|F4801.ANPA|F4801.ANP|F4801.HRSO|F4801.HRSA|F4801.PC

    FindOnEntry: <checked>

    DemoMode: <checked>

    Generate for Mobile: <unchecked>

    Preview JSON Data: <checked>

    Keep JSON Files: <unchecked>

  4. Click the Generate button to execute the data service request and then click Continue to create the data service classes.

  5. Enter the following information:

    • Service Type: Form Service

    • Application Name: E137001

    • Form Name: W137001A

    • Version: <blank>

    • FormInputs: <blank>

    • FormServiceAction: R

    • ReturnControlIDs: <blank>

    • FindOnEntry: <checked>

    • DemoMode: <checked>

    • Generate for Mobile: <unchecked>

    • Preview JSON Data: <checked>

    • Keep JSON Files: <unchecked>

  6. Click the Generate button to execute the form service request and then click Continue to create the form service classes.

  7. Refresh the Model project to view the newly generated classes.

    These classes will be used to deserialize the data service response from AIS, so the application data control can access the aggregated values returned from EnterpriseOne.