Here I need create a sales credit memo using copy document manually through Al code in Business Central
Is this possible that we can create and post please help very important
Thankyou.
Copy Document functionality is already available in the standard BC.
Please provide more details if you are looking for different functionality than the standard copy document functionality.
Yes know that but wanted to run through Al code.
what do you mean by run through AL Code?
As we can create directly from business Central but from code how can we create sales credit memo what functionality can be used to call copy document in Al code?
You need to go to page and action and check the underlying code that executes in OnAction trigger.
Major code will be in CopySalesDoc function in codeunit 6620 "Copy Document Mgt."
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,791
YUN ZHU 2,091 Super User 2025 Season 2
Sumit Singh 2,090