Showing posts with label File. Show all posts
Showing posts with label File. Show all posts

Tuesday, January 2, 2024

Mastering Data Control: Locking and Unlocking Editing Fields in Business Central

 Hello Readers, welcome to my blog and a very Happy New Year 2024!

I'm thrilled to have you here. Whether you're a first-time visitor or a returning reader, I appreciate your time and interest.

Microsoft Dynamics 365Business Central is renowned for its robust capabilities in enterprise resource planning (ERP). One pivotal aspect of data management within the system is the ability to lock and unlock editing fields. This feature provides organizations with a strategic tool to control data integrity, prevent unintentional modifications, and enhance overall security. In this blog post, we will delve into the significance of locking and unlocking editing fields in Business Central and explore how businesses can effectively utilize this functionality.

Understanding Locking and Unlocking Editing Fields:

1.Locking Fields for Data Integrity: Locking specific fields in Business Central is a proactive measure to maintain data integrity. Critical information that should not be altered, such as financial data or unique identifiers, can be safeguarded by setting these fields to a locked state.

2.Unlocking Fields for Flexibility: On the other hand, unlocking fields provides flexibility for authorized users to modify and update information. This is particularly beneficial in scenarios where adjustments are necessary, but organizations still want to maintain control over which users can make changes.

Key Benefits of Locking Fields:

1. Preventing Unintended Changes: By locking the fields that should not be altered, businesses can reduce the risk of unintentional modifications that may lead to data inaccuracies.

2. Ensuring Data Compliance: Locking fields related to compliance and regulatory requirements ensures that the information remains consistent and in line with industry standards.

3. Enhancing Security: Increased field locking contributes to a more secure system by restricting access to sensitive or critical data points, protecting the organization from unauthorized alterations.

Key Benefits of Unlocking Fields:

1. Adapting to Business Changes: Unlocking the fields empowers organizations to adapt swiftly to changing business needs by allowing authorized users to make necessary modifications.

2. Facilitating User Autonomy: Authorized users gain autonomy to update information without reliance on IT support, contributing to improved efficiency and streamlined processes.

How to Lock and Unlock Fields in Business Central:

1. Navigate to Page Customization: Access the desired page in Business Central and enter customization mode.
In fact it also works through Profile (Role) 'Customise pages'.



2. Identify the Field: Identify the field you want to lock or unlock within the customization view.

3. Adjust Field Properties:
Right-click on the field and select "Lock Editing" or a similar option.
Adjust the "Locked" property to either lock or unlock the field.













4. Save and Publish Changes: Save your customization and publish the changes to make them effective for all users.




5. Review Permissions: Ensure that users requiring access to locked fields have the necessary permissions, and restrict access to unauthorized users.


Conclusion:
Effectively managing data is paramount in today's dynamic business environment, and Microsoft Dynamics 365 Business Central equips organizations with the tools to strike the right balance between control and flexibility. Locking and unlocking editing fields in Business Central provides businesses with the ability to safeguard critical data, comply with industry regulations, and adapt to evolving business needs. By understanding and leveraging these features, organizations can optimize their ERP system for enhanced security, efficiency, and data integrity.


Thank you,
Anish Agrawal
MS Dynamics Business Central /NAV Principal Consultant Contact No : +91 9770757595
Email : anish.agrawal004@gmail.com
LinkedIn : Anish Agrawal

Wednesday, June 2, 2021

Report Extension in Business Central 2021Wave 1 (BC 18)

 Hello Readers, 


I hope everyone is safe in this pandemic, as year is not going good, but technology is growing fast and helping people in this crucial time. 

Microsoft has released a new Business Central version 2021 Wave 1 (BC 18), with many new features.

One of the interesting feature out of them is Report Extension, this features helps developers to modify the standard reports.So now onward no need to copy the standard report and then doing the modification in the same.

This feature extend an standard/existing report by making additive changes to the report dataset and request page.

 

Lets see how to create the report extension in Business Central.

Step 1. Open the VS Code and create a new AL project using the below highlighted target platform or the later version.

 

Step 2. Check the App.json  Application ID must be 18 or above.


Step 3. Now create a new .al file and give the name. 

and type treport and select the below one.

 

 

Step 4. In below example I am adding a "Document Date" column into the Customer Statement  Report. 

For that I have added the below code. 

Modify the "Detailed Cust. Ledg. Entry" Data Set to write the code to get the "Document Date" from the "Customer Ledger Entry" Table.

And the same has been added into "Detailed Cust. Ledg. Entry" Data Set as a "DocumentDateExt".


Step 5. Next publish the code and navigate to Custom Report Layout and create new custom report layout for Customer statement report. 

 

Step 6. Now export the Standard layout and add a "Document Date" column as show below.

 

 



Step 7. Save the modified layout and navigate back to Custom Report Layout and import the rdl file and update the same layout.


 

 Step 8. Time to test the report, run the report and check the column values. 

 

 

I hope you liked the blog, stay tuned for more updates. 


 

Thank you,

Anish Agrawal

NAV/Business Central Developer

Connect me on : +91-9770757595

Linkedin :Anish Agrawal

 

Busines Central Developer

Mastering Financial Harmony: Bank Reconciliation with Copilot in Business Central

   Hello Readers, welcome to my blog! Fasten your virtual seatbelts and prepare to delve into the realm where code meets creativity. The fut...

Report Substituting