-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BC Idea]: Number Series Copilot #659
Comments
@DmitryKatson , @JesperSchulz approving, but let's have a short discussion on this before we dive in. Want to understand if we'll be able ask for generation for master data documents posted documents (that may need year in no series and or not allow gaps) separately and apply no series in various setup pages, updating existing number series, generating new no series lines on top of your existing ones to make this an E2E story. |
Setting up meeting to discuss. |
@ikoletic great questions, basically defining a possible set of questions that LLM should cover in the AI implementation is the right way to start |
PG Review conducted today. Discussed the need to follow Microsoft's responsible AI practices and agreed upon feature set. As agreed, I tried to run Unfortunately it deletes the Business Foundation and System Application in the end, which leaves an environment without any apps, but @mazhelez has agreed to look into this right away and you should soon be good to take your first steps into the world of code contributions 🥳 Again, if you have any questions, don't ever hesitate to reach out to me! We'll be in touch 😊 |
@JesperSchulz @DmitryKatson, earlier I tried running:
And it worked as expected. Unfortunately, after some recent changes, it is painfully slow, it took a bit more than 30 minutes, but once set up, the container is ready with all the apps installed. If something fails on your side, can you check if apps are created in an Let me know if there is more I can help out with! |
Great. I will write down here steps I did to proceed with the development (so to make a full blog about the process at the end).
|
@mazhelez I have weird error Seems that container was created, but i can't open it. |
Which BCContainerHelper version are you using? You'd need the latest one. |
Seems the fix for this error is this commit and it's been deployed to the version To get this i had to run |
@JesperSchulz how should I create app.json file for "Number Series Copilot" ?
|
@mazhelez with the latest (preview) bc container helper the script was executed successfully. However for some reason I can't access container from the browser. This is the status
but when i open When I run download symbols i get
|
Your app.json looks about right! You should indeed just use the ID range between 1 - 9.999. Try to find available IDs close to the IDs already in the module. E.g. codeunit 326 and up seem to be free. We want to use ID Ninja going forward, but not everyone is using it yet, which sometimes leads to ID conflicts when using it. |
@mazhelez there was probably something with my VM. I made a new one and everything worked as expected. Thanks. |
Happy to hear everything works for you now! |
@JesperSchulz sorry for stupid questions :)
So, there are no base app, system app, foundation app etc. |
@JesperSchulz also if i need to add, let's say, action to the Number Series page, should I change the Number Series page directly, or make pageextention ? |
This is something what should be improved :) |
Since you're now working directly on the application platform, you should just change the No. Series module to your liking. As a matter of fact... why are you even creating a separate module? Would it maybe make sense that you just add your capabilities to the "No. Series" module? 🤔 I actually think it would! Or would one maybe want to have No. Series without AI wizards? I'm a little torn here - but this can be adjusted as we go along. With regards to the environment, I just discussed the same matter with @mazhelez last week. I was expecting a container with at least the System App and Business Foundation pre-installed, but she told me I have to compile and publish those myself. @freddydk, I seem to recall "in the old days" (say half a year ago), my containers came with everything pre-installed. Have we changed that? |
I try to follow the other copilots pattern, which are separate apps. Also, having in mind that some localizations (like Canada), and, probably India, according o the latest news, have separate AI regulations and rules, I think it make sense to make it as separate app, that can be uninstalled. |
If you're putting the module in the Business Foundation, it will get compiled into one app (just as it happens in the System Application) and you will not have a possibility to uninstall the app. If you want it to be a separate app, you would have to create it as a first party app. In that case, we need to move this issue to the ALAppExtensions repository though. |
I'd be in favor of keeping it within Business Foundation as well. |
Ok, got it. |
Getting there. We usually put our code into a src folder (see NoSeries module). Also, even though everything gets compiled into a single app, the modules must be able to compile individually. You will hence need a dependency to the No. Series module. |
The work started DmitryKatson@44ac608 |
Now that is exciting! I'll tag along 💪 |
Ok. I compiled and published
The Business Cdntral UI didn't change (still empty) |
First draft version (for start from blank scenarios) is ready! It uses:
Should i continue on the next scenario, or should i push draft PR for early preview? |
Those are amazing news! You're truly on 🔥! I tend to suggest to do a DRAFT PR - better to get eyes on your work early. It's also easier to review code in smaller chunks. Large PRs tend to lead to "review fatigue". But in the end it's up to you how you prefer to work. Personally, I cannot wait to see your code 😎 |
And here we go #764 ;) |
#716) Add new Json module to provide tools for working with JSON data, including reading, writing, and parsing JSON. Introduces codeunit for initializing JSON array and object, retrieving element counts, fetching objects by index, and getting values for specified record fields. Implements methods to interact with JSON data using .NET types. This is partial implementation of the`Base Application` `codeunit 5459 "Json management"` <!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary This PR is required for the [Number Series Copilot](#659) implementation as we agreed [here](#659 (comment)) #### Work Item(s) Fixes #715 Fixes [AB#506714](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/506714) --------- Co-authored-by: Jesper Schulz-Wedde <[email protected]> Co-authored-by: Darrick <[email protected]>
Hi gents, i bumped into this branch from a LinkedIn post. From a use-case perspective: is the Co-Pilot functionality designed to support the yearly No. Series agony, aka the process of re-iussing new No series Lines for posted documents, containing new lines for eachmonth/year/Q ... If so, very happy to join the discussion. |
We have this scenario in mind, however deeper investigation will be required. Can you provide examples of no series lines that you need to update every year? |
Hi Dmitry, Bottom line for this use case is the fact that companies update their No Series Lines in order to be able to
At first glance: the NoSeries that are referred to in Sales & Receivalbles Setup / Purchase and Payables Setup / Manufacturing Setup / ... %MODULE NAME% Setup are the most common No Series to undergo this treatment. Please allow me the time to prepare a full scenario. |
A few more corrections are coming prior to release. |
<!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary **Enhanced NoSeries Generation** This PR resolves bugs and refactors the NoSeries generation process, improving accuracy, efficiency, and reliability of the generated NoSeries. #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes #659 Fixes [AB#503148](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/503148) --------- Co-authored-by: Jesper Schulz-Wedde <[email protected]>
Backport to 25.x and 25.0 pending. |
…m MAIN branch. (#2060) <!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> Backporting all changes from the MAIN version and enabling the feature. #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes #659 Fixes [AB#503148](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/503148)
…on from MAIN branch. (#2069) <!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> Backporting all changes from the MAIN version and enabling the feature. #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes #659 Fixes [AB#503148](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/503148)
This one is done and is shipping with 25.0 🥳 |
BC Idea Link
https://experience.dynamics.com/ideas/idea/?ideaid=ae4b0c3a-30d6-ee11-92bd-000d3adb9365
Description
Introducing the concept of a "Number Series Copilot" for Business Central, an innovative feature designed to simplify the creation of number series through natural language commands. This idea allows users to effortlessly set up number series for specific entities like customers, vendors, or even across all entities, by simply describing their needs or specifying a format example.
Idea Highlights:
Natural Language Processing: Users can interact with Business Central in everyday language to request the creation of number series, making the system more intuitive and user-friendly.
Customizable Formats: By providing examples or masks, users can define how their number series should be structured, offering flexibility and control over their data organization.
Efficiency and Time-Saving: Eliminates the complexity and manual effort involved in setting up number series, streamlining administrative tasks.
Accessibility: Makes the process of creating number series accessible to users with varying levels of technical expertise, democratizing the use of Business Central features.
This concept envisions a more interactive and intelligent Business Central, where routine tasks are automated and simplified through AI, enhancing the user experience and operational efficiency.
Linked ideas - Document numeration series templates
Number of Votes - 47
I will provide the implementation for this BC Idea
Fixes AB#503148
Internal work item: AB#503148
The text was updated successfully, but these errors were encountered: