Migration Project: Dynamics AX 2012 to D365 F&O Sarulla Operations Ltd
Served as a Technical Consultant migrating highly customized legacy Dynamics AX 2012 to extension-based Dynamics 365 Finance & Operations.
Tech Stack
- ERP
- Dynamics 365
Project Gallery

Technical Consultant supporting the modernization of ERP operations at Sarulla Operations Ltd. (SOL), one of Indonesia's major geothermal power producers.
The project involved upgrading a highly customized Microsoft Dynamics AX 2012 environment to Dynamics 365 Finance & Operations, with a focus on X++ development, customization migration, data migration, and cloud readiness.
Project Overview
The project focused on migrating existing AX 2012 customizations and business processes to Dynamics 365 Finance & Operations while maintaining the functionality required by SOL's geothermal operations.
A significant part of the work involved reviewing legacy customizations, replacing overlayering with the D365 extension model, preparing custom data structures for migration, and resolving issues discovered during the upgrade process.
Key Responsibilities
- Migrated complex X++ customizations from AX 2012 to the D365 extension model.
- Refactored legacy overlayering using Chain of Command (CoC) and class extensions.
- Reviewed customizations for compatibility with the Dynamics 365 cloud environment.
- Designed and developed custom data entities to support data migration.
- Worked with highly customized business tables and legacy business logic.
- Investigated and resolved runtime exceptions and data mapping issues.
- Supported data preparation and validation prior to migration.
- Used Lifecycle Services (LCS) tools to analyze customizations and upgrade impact.
- Worked with Azure DevOps / TFVC for source control and development management.
Technical Environment
| Area | Technology |
|---|---|
| ERP | Microsoft Dynamics 365 Finance & Operations |
| Legacy ERP | Microsoft Dynamics AX 2012 |
| Development | X++ |
| Database | Microsoft SQL Server / Azure SQL |
| Deployment & Diagnostics | Lifecycle Services (LCS) |
| Source Control | Azure DevOps / TFVC |
Technical Highlights
X++ Customization Migration
One of the main challenges was migrating customizations that had previously been implemented through AX 2012 overlayering.
These customizations were reviewed and refactored into the D365 extension model using Chain of Command, event handlers, and class extensions, allowing the custom logic to remain isolated from the standard application.
Custom Data Entities
Custom data entities were developed to support the migration of business data from highly customized AX 2012 tables.
Some of the data structures involved parent-child relationships and operational records used for geothermal asset and activity tracking.
LCS Upgrade Analysis
Lifecycle Services (LCS) was used to analyze the existing AX 2012 customizations and identify potential upgrade issues.
The analysis helped identify customized objects, code conflicts, and areas that required redesign before moving to the D365 extension model.
Challenges
Highly Customized Standard Tables
Several standard AX 2012 tables contained significant customizations and embedded business logic.
Instead of carrying the legacy implementation directly into D365, the custom logic was reviewed and moved into appropriate extension points, including table events such as:
OnInsertingOnUpdatingOnValidatedWrite
Where appropriate, business logic was also separated into dedicated classes to make the implementation easier to maintain.
Data Volume and Data Mapping
The project also involved a large volume of operational and transactional data.
Differences between the AX 2012 and D365 data structures resulted in data type and mapping issues during migration.
A custom staging process was used in AX 2012 to clean and prepare the data before export, reducing inconsistencies during the migration process.
Project Outcome
The project successfully moved Sarulla Operations Ltd.'s ERP environment from Dynamics AX 2012 to Dynamics 365 Finance & Operations, while retaining key custom functionality required by the business.
The implementation provided SOL with a modern ERP platform that is better aligned with Microsoft's cloud architecture and provides a more maintainable foundation for future enhancements.
About Sarulla Operations Ltd.
Sarulla Operations Ltd. operates the Sarulla Geothermal Power Plant in North Tapanuli, North Sumatra.
The project consists of three generating units with a combined capacity of 330 MW.
The project was developed by a consortium involving Medco, Itochu, Kyushu Electric Power, INPEX, and Ormat and represents one of the largest geothermal power projects in Indonesia.
The first unit began commercial operation in March 2017, followed by the second unit in October 2017 and the third unit in May 2018.
The successful D365 Finance & Operations implementation marked an important milestone in modernizing the ERP platform supporting SOL's business operations.