Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Browse to the location of the applications folder for the Aptify scripts. For example: C:\inetpub\wwwroot\Aptify\script\Aptify\applications
  2. Open the Aptify.applications.batches.batchWizard.UI.js file for editing.
  3. Search for the exportFileUsingOtherExportSystem method.

    Code Block
    languagejs
    titleexportFileUsingOtherExportSystem
    this.exportFileUsingOtherExportSystem = function (jq, batchId) {
       try {
           console.log("Please update 'Aptify.applications.batches.batchwizard.UI.exportFilesUsingOtherExportSystem' method with your implementation.")
       } catch (ex) {
           Aptify.framework.exceptionManager.publish(ex);
       }
    }



  4. Update this method to support the customer-defined GL data export format.
    • This method needs to execute a related process flow.
    • File should be generated using the related process component.
    • See the Aptify 5.5 Process Pipeline Guide for Managing Process Pipelines for more information on process flows.
       
  5. Update the calling method, exportGLEntries, to call the exportFileUsingOtherExportSystem method.

    Code Block
    languagejs
    titleexportGLEntries
    this.exportGLEntries = function (jq, batchId) {
        //Show Export Batch dialog
        try {
     
            var exportSystemType = Aptify.framework.metaData.entities.getAttribute("Batches", "exportSystemType");
            if (exportSystemType) {
                switch (exportSystemType.toLowerCase()) {
                    case 'solomonexport': case 'navisionexport': case 'greatplainsexport': //GreatPlainsExport
                        Aptify.applications.batches.batchWizard.UI.exportFileUsingSolomanNavisioneAndGreatPlainsSystem(jq, batchId);
                        break;
                    case 'rossfinancialsexport': 
                        Aptify.applications.batches.batchWizard.UI.exportFileUsingRossFinancialSystem(jq, batchId);
                        break;
                    default:
                        Aptify.applications.batches.batchWizard.UI.exportFileUsingOtherExportSystem(jq, batchId);
                        break;
                }
            }
        } catch (ex) {
            Aptify.framework.exceptionManager.publish(ex);
        }
    }



  6. Save and close the Aptify.applications.batches.batchWizard.UI.js file.
  7. Return to your Aptify session and generate metadata for the Batches entity. See Understanding Entity Metadata Generation for more information.