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.
Search for the exportFileUsingOtherExportSystem method.
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); } } |
Update the calling method, exportGLEntries, to call the exportFileUsingOtherExportSystem method.
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); } } |