# LOP Settings

### Previous Month LOP Credit

The objective of this module is to Credit Loss of Pay (LOP) for the previous month, in case you deducted the same last month mistakenly.&#x20;

#### Creating LOP Credit Setting

For creating a LOP credit setting, one has to follow the path given below.&#x20;

**Step 1:** Follow the **Path: Setting> Payroll>Salary Component>Earnings**

**Step 2:** Click on the ‘+’ icon to add a component.

**Step 3:** Create all LOP credit components (Ex- LOP Cr Basic, LOP Cr HRA, LOP Cr Special, LOP Cr LTA, and more)

**Step 4:** Fill in ‘Field Name’, and ‘Label Name’, and select ‘Behaviour’ as shown in the snapshot below.

<figure><img src="https://4282324958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXep_PEmh8mDPVWj49x%2Fuploads%2FLP94FbsbKR7OX6scj3ng%2FSetting1.png?alt=media&#x26;token=94d8b9d7-6d0e-4710-842f-15d03578c040" alt=""><figcaption></figcaption></figure>

**Step 5:** Create component LOP Credit Days, don’t select any ‘Behaviour’ as shown in the snapshot below.

<figure><img src="https://4282324958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXep_PEmh8mDPVWj49x%2Fuploads%2FHllgYAtpbAO6A77PzsjX%2FSetting2.png?alt=media&#x26;token=4107a8c4-15e7-43aa-a270-228c67540c11" alt=""><figcaption></figcaption></figure>

**Step 6:** After the creation of All components, go to ‘Salary Structure’ and set the formula for all components.&#x20;

**Path: Setting> Payroll>Salary Structure**&#x20;

Select ‘Direct’ from the dropdown for ‘Direct or Percent’

<figure><img src="https://4282324958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXep_PEmh8mDPVWj49x%2Fuploads%2FTDxoDm9bZTjaVr2izUAY%2FSettings3.png?alt=media&#x26;token=07427194-0399-4839-9a3f-56ac2db85522" alt=""><figcaption></figcaption></figure>

**Step 7:** Add the formula to all the LOP components as given below.&#x20;

Formula- (FB/MD) \*LOPCD&#x20;

(Repeat the same for all other Components)

<figure><img src="https://4282324958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXep_PEmh8mDPVWj49x%2Fuploads%2Fdk8MdqckdyjsX7hz1NtQ%2FSetting4.png?alt=media&#x26;token=2c7bbd18-d1be-4cb6-8e70-dacd7c3a28c7" alt=""><figcaption></figcaption></figure>

**Step 8:** After that follow the path below&#x20;

**Path: Settings > Payroll> Pay settings> LOP Days Matching**

<figure><img src="https://4282324958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXep_PEmh8mDPVWj49x%2Fuploads%2Fh6cNIANSsYBtgZlopjXv%2FSettings5.png?alt=media&#x26;token=95bbd8d8-26b9-46a4-97c6-0413e384d869" alt=""><figcaption></figcaption></figure>

**Step9:** Go to LOP - Components Matching&#x20;

**Path: Setting>Payroll>Pay Setting> LOP - Components Matching>Select Category>Select Lop Credit Component >Save**

Do the setting as shown in the snapshot below

<figure><img src="https://4282324958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXep_PEmh8mDPVWj49x%2Fuploads%2FVr10YPCLhd94QRMRidXZ%2FSetting6.png?alt=media&#x26;token=d0e0d1d8-0ad3-4519-9c0a-05876220dc05" alt=""><figcaption></figcaption></figure>

**Step 10:** To Credit the LOP for the previous month, please follow the below path.&#x20;

**Path: Employee Account>Payroll>LOP Credit>Month>view>LOP Credit Days-Put days>Action- Add**

<figure><img src="https://4282324958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXep_PEmh8mDPVWj49x%2Fuploads%2FZVeDfrPrakRZhTHCcot0%2FSetting7.png?alt=media&#x26;token=8111c385-f314-42e0-9550-a3f90c76fd35" alt=""><figcaption></figcaption></figure>

In this way, you can credit the loss of pay of last month to the employee account in the current month’s salary.
