...
- Browse to the location of the applications folder for the Aptify scripts. For example: C:\inetpub\wwwroot\Aptify\script\Aptify\applications
- Open the Aptify.applications.batches.batchWizard.UI.js file for editing.
Search for the exportFileUsingOtherExportSystem method.
Code Block language js title 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); } }
- 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.
Update the calling method, exportGLEntries, to call the exportFileUsingOtherExportSystem method.
Code Block language js title 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); } }
- Save and close the Aptify.applications.batches.batchWizard.UI.js file.
- Return to your Aptify session and generate metadata for the Batches entity. See Understanding Entity Metadata Generation for more information.