> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/purchase/purchase-inward-workflow-process/gate-pass-entry-against-l.r..md).

# Gate Pass Entry Against L.R.

## How to record goods arriving at the gate against an L.R.?

When a truck reaches the gate with goods booked on an **L.R.** in **Enter L.R. Details**, the gate staff record what actually arrived in **Gate Pass Entry Against L.R.** One party often sends **several invoices on one L.R.**, and the goods may arrive **in part**. You can tick **several invoices** of the L.R. in one save, enter the number of boxes that came, and list the boxes, one line per box.

A gate pass records what arrived. It does **not** check amounts or invoices. Its number is what the Purchase Challan or Purchase Voucher later quotes as its **GPN Number**.

***

### **Before you start**

* The L.R. must already be saved in **Purchase\Enter L.R. Details**, linked to a **Purchase Order** or a **PI Category Basis** document, with its invoices and number of boxes.
* To save a gate pass you need the **modify** right on this screen. To delete one, you need the **delete** right.
* The **Configuration** button works only for users with the configuration right. See **Gate Pass Entry Against L.R. - Configuration**.

***

### **Step 1: Open the screen and choose the mode**

* Go to **Purchase\Gate Pass Entry Against L.R.** **Document Date**, **Challan Date** and the date beside **Manual G.P No & Date** default to today.
* The selector at the top has two options:
  * **L.R Selection** (the default): the gate pass is made against the invoices of an L.R. Steps 2 to 6 describe this mode.
  * **P.O Selection**: the gate pass is made directly against approved Purchase Orders. See **Gate pass against Purchase Orders** below.
* Once you tick the selection box, the selector is locked. To change the mode, untick the selection box (this clears the screen) or click **New**.

***

### **Step 2: Pick the L.R.**

* Tick **LR Selection**. The **L.R. Selection** window opens. Only one L.R. can be picked.
* The list shows L.R.s of the **current branch**, linked to a **Purchase Order** or **PI Category Basis**, that still have **at least one invoice not yet received** on a gate pass. An L.R. that has an Additional Expense Entry against Purchase, or was used in Gate Pass Manager, is not offered.
* After you pick, the screen shows:
  * **LR No.**, **Party Name**, **Document No.** (the linked Purchase Order or PI Category Basis numbers) and **Invoices** (how many invoices are still open).
  * The invoice list with **Invoice No.**, **Invoice Date**, **Total Box** and **Amount**. **Total Box** is the invoice's **QUANTITY** (its number of boxes) as entered on the L.R. Invoices already received on an earlier gate pass are not listed.
  * **L.R Box Count**: the boxes of the L.R. not yet received.
  * **Vehicle No.** from the L.R., and **Manual G.P No & Date** filled with the L.R. number (for example LR-25). You can change both.

***

### **Step 3: Tick the invoices and set Quantity Recevied**

* Tick **every invoice whose goods are on this truck**. You can tick one or several.
* **Quantity Recevied** is filled with the total **Total Box** of the ticked invoices. If that is more than the **L.R Box Count**, the L.R Box Count is used instead.
* If only part of the goods has arrived, lower **Quantity Recevied** to the number of boxes that came. Tick the invoices first: ticking or unticking an invoice works the figure out again.
* **Quantity Recevied** cannot be more than the **L.R Box Count**. A larger figure is brought back to the L.R Box Count with a message.

***

### **Step 4: Fill in the document and gate details**

* **Document No.**: choose the prefix. The number is filled in automatically and cannot be typed. The prefixes come from the ones already used on gate passes and from the configuration setting **Document Prefixes As**.
* **Packing Units**, **Gate/Dock** and **Gate Keeper Name**: pick from the lists. A new gate keeper name can be typed.
* **Challan Date**: today by default. You can change it.
* **Challan No.**: you do not need to fill it in. When you save, each gate pass gets the **invoice number** it is saved for as its Challan No. (see Step 6), whatever is typed here.

***

### **Step 5: Enter the boxes in the grid**

The grid under **Goods Received - Grouped By Invoice** has one line per box received. You cannot type in it until an invoice is ticked ("Please select Invoice to proceed..").

| Column            | What to enter                                                                                             |
| ----------------- | --------------------------------------------------------------------------------------------------------- |
| **SNO.**          | Filled in automatically.                                                                                  |
| **ITEM CATEGORY** | What is in the box, in capitals (for example FOOTWEAR). A new line copies the category of the line above. |
| **BOX NUMBER**    | The number marked on the box.                                                                             |
| **BOX COUNT**     | Always 1 on a new gate pass, because each line is one box.                                                |
| **BOX QUANTITY**  | How many pieces are in the box. It must be more than 0.                                                   |
| **BOX AMOUNT**    | Optional value of the box.                                                                                |

* **Total Quantity** below the grid shows the number of box lines, and **Total Amount** the total of BOX AMOUNT.
* **The number of box lines must equal Quantity Recevied**, or the gate pass cannot be saved.
* To remove a line, delete it and answer Yes to "Are You Sure You Want To Delete Row\..?".

***

### **Step 6: Save**

* Click **Save** and answer **Yes** to "Are you sure want to save..".
* **One save makes one gate pass for each ticked invoice**, numbered one after the other (for example G145 and G146 when two invoices are ticked). The gate passes of one save are linked together. Each of them:
  * has the **invoice number** of its own invoice as its **Challan No.**, and the Challan Date entered,
  * carries the **whole** Quantity Recevied and **all** the box lines of the save,
  * carries the total amount of all the invoices ticked in the save. This amount is not shown on the screen.
* The message "Gate Pass Entry No.: ... Saved Successfully" lists every gate pass number, one per line, **exactly as it is typed in GPN Number** on the purchase, for example **G145**.
* After saving:
  * the **L.R Box Count** goes down by Quantity Recevied,
  * **every ticked invoice counts as received**, even if only part of its boxes came. It is no longer listed for this L.R.,
  * once all the invoices of an L.R. are received, the L.R. is no longer offered, even if some of its boxes did not come. The rest of the goods comes on **another L.R.** (see the example below).

***

### **Step 7: Modify or delete a gate pass**

* Click **Modify**. The list shows **only the gate passes made on this screen** (in either mode) **of the current branch**. Gate passes made in Gate Pass Manager are not listed here, and the passes made here are not listed there.
* When a gate pass is opened, the prefix, number, Document Date, invoice and **Quantity Recevied** are locked. The gate details, Challan Date and the box details can be corrected. Box lines cannot be deleted. On saving, the Challan No. is again set to the invoice number.
* To delete it, open it with **Modify**, click **Delete** and answer Yes to "Are you sure want to delete..".
  * Its invoice is listed again for the L.R., so it can be received on a new gate pass.
  * Its boxes are given back to the **L.R Box Count** when the **last** gate pass of that save is deleted. For a gate pass that was saved alone, that is straight away.

***

### **Locks to know about**

* **Once a Purchase Challan or Purchase Voucher of the same branch quotes the gate pass number** as its GPN Number, the gate pass can no longer be changed or deleted.
* **Once a gate pass exists against an L.R.**, the L.R. cannot be modified or deleted in Enter L.R. Details. The lock is lifted when all its gate passes are deleted.

***

### **Gate pass against Purchase Orders**

Use this mode when goods arrive against Purchase Orders and there is no L.R.

1. In the selector, choose **P.O Selection**. The selection box now reads **PO Selection**. The invoice list and L.R Box Count are not used.
2. Tick **PO Selection**. The Purchase Order search opens with **pending, approved** Purchase Orders. You can pick several, but **all must be for the same party**.
3. The screen shows **Party Name** and **PO No.**
4. Type **Quantity Recevied** and enter one grid line per box, as in Step 5. The number of lines must equal Quantity Recevied.
5. Save. One gate pass is made for the party of the Purchase Orders. It carries no amount, and its **Challan No.** is saved as typed.

A new gate pass in this mode needs Purchase Orders to be picked, or Save stops with "P.O Selection mandatory..". **New** clears the Purchase Orders picked for the previous gate pass.

***

### **Shared with Gate Pass Manager**

Gate passes from this screen share the number series and the configuration of **Inventory\Gate Pass Manager\Issue Against New Gate Pass**, and a purchase can quote a gate pass from either screen.

***

### **Messages you may see**

| Message                                                                                           | When                                                                                                            | What to do                                            |
| ------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| Please select Invoice to proceed.. / Please select Invoice first..                                | You started the grid or Quantity Recevied before ticking an invoice.                                            | Tick the invoices first.                              |
| Quantity Recevied can't be greater than L.R Box Count.                                            | Quantity Recevied is more than the boxes not yet received on the L.R.                                           | The figure is set back to the L.R Box Count.          |
| Invalid Item Category.. / Invalid Box Number.. / Invalid Quantity.. / Invalid Box Count..         | A box line has no item category, no box number or a box quantity of 0, or (when modifying) a box count below 0. | Complete the line.                                    |
| BOX COUNT cannot be greater than Quantity Recevied..                                              | Quantity Recevied is blank or 0 when you finish a box line, or a box count is more than Quantity Recevied.      | Fill in Quantity Recevied, or correct the box count.  |
| Modification Rights Not Available.                                                                | You do not have the right to save on this screen.                                                               | Ask your administrator for the right.                 |
| Invalid Document Date..                                                                           | The Document Date is not a valid date.                                                                          | Enter a valid date.                                   |
| LR Selection mandatory..                                                                          | No L.R. has been picked.                                                                                        | Tick LR Selection and pick the L.R.                   |
| P.O Selection mandatory..                                                                         | In P.O Selection mode, no Purchase Order has been picked.                                                       | Tick PO Selection and pick the Purchase Orders.       |
| PO Selection is allowed for only one party at a time..                                            | The picked Purchase Orders belong to different parties.                                                         | Pick Purchase Orders of one party only.               |
| Selected Gate Pass already used against purchase document, cannot modify..                        | A purchase has already quoted this gate pass number.                                                            | The gate pass cannot be changed.                      |
| Invalid Document No...                                                                            | No prefix has been chosen.                                                                                      | Choose a prefix.                                      |
| Nothing to save..                                                                                 | The grid has no box lines.                                                                                      | Enter the boxes.                                      |
| Good Received should be equal to Quantity Recevied..                                              | The number of box lines differs from Quantity Recevied.                                                         | Add or remove lines, or correct Quantity Recevied.    |
| Invoice partially processed in another Gate Pass.. (the title shows "Box Available In L.R : ...") | Another gate pass has received some of the L.R.'s boxes since you picked it.                                    | Lower Quantity Recevied to the boxes still available. |
| Deletion Rights Not Available.                                                                    | You do not have the right to delete on this screen.                                                             | Ask your administrator for the right.                 |
| Selected Gate Pass already used against purchase document, cannot delete..                        | A purchase has already quoted this gate pass number.                                                            | The gate pass cannot be deleted.                      |

If your captions have been renamed, messages that name a field (for example Quantity Recevied or Document No.) show your caption instead.

***

> **Example - two invoices, goods arriving in two lots**
>
> Sunrise Footwear sends two invoices on L.R. **LR-25**: **SF-101** (10 boxes) and **SF-102** (8 boxes). No. Of Boxes is 18.
>
> **First lot - 12 boxes arrive on LR-25 (6 of SF-101 and 6 of SF-102).**
>
> Pick LR-25. The L.R Box Count shows 18. Tick SF-101 and SF-102. Quantity Recevied becomes 18. Change it to 12, choose prefix G and enter 12 box lines. Save. The message lists **G145** and **G146**: G145 has Challan No. SF-101, G146 has Challan No. SF-102, and both hold the 12 boxes. LR-25's L.R Box Count is now 6, but both its invoices are received, so LR-25 is no longer offered.
>
> **Second lot - the other 6 boxes come later on a new L.R.**
>
> The transporter's new G.R. is entered in **Purchase\Enter L.R. Details** as **LR-31** for Sunrise Footwear, linked to the Purchase Order, with invoice lines SF-101 (4 boxes) and SF-102 (2 boxes) and No. Of Boxes 6. At the gate, pick LR-31, tick both invoices (Quantity Recevied 6), enter 6 box lines and save as **G147** and **G148**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/purchase/purchase-inward-workflow-process/gate-pass-entry-against-l.r..md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
