Help Articles For ERPNext Part 7

Synchronize DocTypes with Events Calendar

 

To make Sales Order or Sales Invoice a calendar view or any other DocType, you have to follow the following steps (ERPNext v16):

 

1. Click on Calendar View List.

 

 

2. New Calendar View.

 

 

3. Select Reference DocType

 

 

4. Set up Start Date and End Date Fields.

 

 

For example:

 

 

5. Other Field Mapping (where necessary)

 

You can define:

 

 

6. Save the Configuration

 

 

7. Verify Calendar Display

 

Help Articles For ERPNext Part 7

 

 

User Permission based on Hierarchy

Question:

 

What to set up in User Permissions to allow an Employee to see his Expense Claims, and those of those who report to him/her?

 

Answer:

 

Hierarchical access in ERPNext v16 is handled with the Employee Master and the Reports To field, creating the reporting hierarchy that is utilized in HR records.

 

1. Define Reporting structure in Employee Master

 

 

 

Example:

 

 

This forms a hierarchical hierarchy of employees as employed by ERPNext in access control and approvals.

 

2. Employee Hierarchy Formation

 

 

 

3. User Interconnecting Employee

 

 

The system automatically implements the Employee-based User Permissions without the need to create the rules manually once connected.

 

4. User Permission Behavior that is automatic

 

ERPNext automatically provides access to: when the User is associated with an Employee.

 

 

 

5. Example Scenario

 

In case Kenneth is configured as the manager in the Reports To field of a number of employees:

 

 

This is true to other HR documents such as:

 

 

6. Important Configuration Check

 

Ensure that:

 

 

When set up properly, managers can automatically access documents of their subordinates without having to add further custom rules to the User Permission list.

 

Add/Remove Fields from Print Format

To illustrate, I wish to add the Supplier Name column and remove the column of “Stock UOM” under the item in the table, but adding Supplier Contact Name under Supplier Name to the Print Format with the following fields to a Purchase Order.

 

 

 

Step 1: Go to Print Format Customization.

 

 

 

ERPNext v16 opens the Print Format Builder, allowing you to visually edit the layout without writing code.

 

Step 2: New or Revise Fields in the Main Section.

 

 

 

You can also:

 

 

This enables restructuring of header and section-levels fields in the print format flexibly.

 

Step 3: Add/Remove Fields of Child Table (Item Table)

 

To change columns in a table (e.g. delete Stock UOM):

 

 

 

From here:

 

 

This immediately updates the item row display of the printed documents.

 

Step 4: Save and Preview Changes.

 

 

Check with Print Preview:

 

 

 

The result:

 

A Purchase Order Print Format with just the fields needed, enhanced visibility and fewer unnecessary columns, completely edited with the Print Format Builder in ERPNext v16.

 

Create your own tables in your Print Format Builder

 

To customize the Items table you have in your Print Format Builder, do the following (ERPNext v16):

 

1. Create a Print Format

 

 

This will open the Print Format Builder in ERPNext v16 where you can make a full editable copy of the standard format. Give the new customized Print Format a meaningful name to be easily recognized in future.

 

2. Click Items Table Configuration

 

 

This displays a configuration panel with all the fields of the Items child table.

 

3. Choose and Arrange Columns

 

A list of standard columns of the Items table will be shown.

 

From here you can:

 

 

The final printed document will only contain the chosen columns.

 

4. Save Changes and Apply

 

Once set of columns has been chosen and positioned:

 

 

This is so your setup is saved to make use of later on.

 

5. Preview the Customized Print Format

 

 

The Items table is now updated to contain only the selected columns and altered layout.

 

6. Compare to Standard Print Format

 

To verify differences, alternate:

 

 

This is to check the way your selected columns, settings on order and width relate to the default layout. Final product is a fully customized Items table in your Print Format, based on your business needs, without other ERPNext standard format.

 

Printing Field Visibility

 

ERPNext v16 offers a Standard Print Format in every transaction with default display of all the fields. Should a user want to enable a certain field to be visible (e.g. Shipping Address in Sales Order), it can be controlled using Customize Form tool.

 

Step 1: Click on Customize Form

 

Navigate through:

 

Home > Customization > Form Customization > Customize Form

 

This tool enables you to manage field-level properties of any DocType, such as the print forms.

 

Step 2: Choose Document Type

 

 

 

Upon selection, any fields associated with Sales Order will be shown to be configured.

 

Step 3: Turn Off “Print Hide” Feature

 

 

 

Locate the option:

 

 

Step 4: Save and update Changes

 

To save your changes, Click Update in the Customize Form.

 

After saving:

 

 

After doing this, the Shipping Address (or any field that is selected) will be automatically displayed in the Standard Print Format without the need of developing a custom print template.

 

Print “Centavo” in Words for USD

 

ERPNext v16 allows the currency fraction to be used in Amount in Words to be configured in the Currency DocType settings (e.g., Cent, Centavo, Paisa).

 

First, you have to configure Currency Settings (USD).

 

Go to:

 

Accounting → Setup → Currency

 

Open USD (or make it in case it is not there), set:

 

 

This is what determines the expression of the decimal element of USD in words.

 

2. Have Currency Enabled in System

 

In case USD is added or edited:

 

 

3. Usage of this in Print Format

 

ERPNext uses the currency configuration while generating:

 

 

Therefore when the Currency DocType is updated, the system will automatically convert:

 

Example:

 

123.45 USD = One Hundred and twenty-three dollars and forty five cents.

 

4. Use in Print (No Change of Code Required)

 

In your Print Format:

 

 

5. Refresh and Verify

 

 

Result:

 

UK Fractional USD will now automatically replace Cent with Centavo in all Print Formats.

Visit Us Here