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
86 stars 52 forks source link

How do I load the latest version into BC? #110

Closed quadfin closed 5 years ago

quadfin commented 6 years ago

The latest rev of COL contains codeunits not present in the latest available release of BC -- e.g., COD30XX.txt (XX > 27). I am trying to prepare a submission to the COL but I need to develop against the latest COL version. I pulled the latest BC on-prem image (13.0.24623) and the latest BC docker image (13.0.24630.25789) neither of which contain the latest COL. I am not able to import the .txt files due to license / object range restrictions. How should I proceed? (please don't say wait until next month) Thanks in advance.

JesperSchulz commented 6 years ago

It is correct, that you will not find the latest open library codeunits in the released version of BC. The library is based on the upcoming (now spring) release of BC and you will hence only find the objects in the developer preview docker images. Now that you mention it, that might actually not be the best development model for contributions due to the mentioned license restrictions! What happens if you grab the latest developer preview? Can you complete your development there, or do you run into the same blockers? Another solution would of course be to open the license for the new codeunits already now, which would unblock you. However, we're currently looking into alternative solutions to the .NET wrappers, which is why I'm hesitant to take this step right now. Please try with the developer preview and let me know how that went! Thanks!

quadfin commented 6 years ago

Can you post a link for the developer preview? I can't find it on docker hub. (can only find bcsandbox) Another (not optimal approach) might be to make available a .fob with skeletal versions of the codeunits in the library. Then we could import that .fob and overwrite with the .txt from the library. Is there any public info on the alternate approach that you mention? Thanks.

quadfin commented 6 years ago

For development I decided to just create copies of the required codeunits in the 50K range. I've completed development of my submission and now need to push -- but branching has been disabled for this repo. How can I submit?

JesperSchulz commented 6 years ago

Developer previews are obtainable through our Ready to Go program (http://aka.ms/readytogo)! Here you will find the latest and greatest developments. Highly recommended :-) I'm afraid I don't yet have any public info on alternate approaches quite yet. We're currently only spiking into those to see, if there are other ways to this. It is new to me that branching is disabled for this repo! I need to dig into that. Worked just fine for me a couple of days ago!

JesperSchulz commented 6 years ago

I just tried once more on a clean machine without any problems: image What error do you get?

quadfin commented 6 years ago

Not sure what happened -- something weird when I forked. I deleted the fork and started over -- seems ok now. I just issued a pull request for the changes. Hope it passes.