If you have a comment on this topic, contact Aptify Documentation. If you want to return to the Aptify Community Site, please click here.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Aptify 5.5.4 supports the ability to export general ledger (GL) account data in formats other than the four default formats found in the Generic GL Export Drivers plug-in. In this topic, the developer configures the exportFileUsingOtherExportSystem method to use a customer-defined GL data export format.

  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.

    exportFileUsingOtherExportSystem
    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 more information on process flows.
       
  5. Update the calling method, exportGLEntries, to call the exportFileUsingOtherExportSystem method.

    exportGLEntries
    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.
  • No labels