microsoft / cal-open-library

C/AL Open Library is a repository for .NET Interop wrappers that will be included into Dynamics 365 for Financials and usable from Extensions V2
MIT License
85 stars 52 forks source link

!!! C/AL Open Library is getting archived !!!

After the move to al, there is no use for the C/AL Open Library any longer. Any code contributions to Business Central should be delivered through the AlAppExtensions repository instead. Please also register any issues with extensibility you may have in the new repository. Thank you for your contributions to the C/AL Open Library throughout its existance. We're looking forward to seeing your contributions in the AlAppExtensions repository going forward.







C/AL Open Library

The purpose of this repository is to build a C/AL library based on community contributions that will serve as an accelerator for adoption of the Extensions V2 technology. The source code from this library will be included in the base application of 'Dynamics 365 Business Central' on a monthly basis.

The primary goal is to enable creation of .NET type wrappers written in C/AL that can then be subsequently used from Extensions V2. DotNet types must not be part of the definition of public functions in the submitted code to be callable by Extensions V2.

All contributions will be reviewed by Microsoft and assessed for the overall fit into the product, for reusability and for following the general coding style that is present in the other base application objects.

Process

  1. Make the Pull Requests granular. Don't bundle together many different requests.
  2. Code for this library should be written using the existing development environment (C/SIDE).
  3. Object IDs should be created within the range 50K-99K.
  4. In general we only accept codeunit objects. If you have a strong reason for another object type it is recommended to discuss it with Microsoft through an Issue first, before submitting the code.
  5. All code needs to be submitted with accompanying unit tests.
  6. Microsoft will review the contribution and decide whether it wants to make it part of the product.
  7. If the contribution is accepted Microsoft will modify the object IDs to fit within the base Microsoft range and apply any code fixes resulting from internal best practice checks.
  8. The code will be included in the next monthly update that is shipped after the contribution was accepted.

Guidelines

Range: 3000..3999 Name: DotNet_(dotnet assemblyname)

Best practices:

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.