# Partial ASN Line Close

## **Partial ASN Line Close in XoroERP**

In modern warehouse operations, managing incoming shipments efficiently is critical to maintaining inventory accuracy, ensuring timely order fulfillment, and optimizing warehouse workflows. The **Partial ASN Line Close** feature in XoroERP is designed specifically to address the complexities of handling **partial receipts of shipments** at the line level.

***

### **What is Partial ASN Line Close?**

The **Partial ASN Line Close** functionality allows warehouse users to **selectively close individual lines** of an **Advanced Shipping Notice (ASN)** while generating **Item Receipts (IRs)**. Unlike traditional ASN processing, which often requires the full receipt of all lines before closure, this feature provides **granular control** over which ASN lines are closed, enabling **partial receipts and flexible inventory management**.

This feature is particularly useful in scenarios where shipments are received in **multiple batches**, or when certain items from an ASN are delayed, damaged, or require inspection before full acceptance.

<figure><img src="/files/HI4N3OfhXIH6aDMjr0wb" alt=""><figcaption></figcaption></figure>

***

### **Key Requirements**

Before using Partial ASN Line Close, the following conditions must be met:

1. **App Configuration:**

   * Navigate to **App Config > Warehouse > Line-Level ASN Closing** and ensure it is **enabled**.

   <figure><img src="/files/OvTGTQveB148lFtIyEL0" alt=""><figcaption></figcaption></figure>
2. **Access Permissions:**
   * Users must have the appropriate permissions in the **Access Manager** to perform line-level ASN closures.

***

### **How It Works in XoroERP**

The feature provides a **user-friendly workflow** for partial ASN handling:

1. **Selecting ASN Lines:**
   * Open the ASN in the system.
   * Use the line selection checkboxes to choose the specific ASN lines you want to close.
2. **Closing Selected Lines:**
   * Click on the dropdown **Close ASN → Closed Selected Lines**.
   * The system will close only the selected lines, leaving the remaining lines **open for future receipt**.
3. **Generating Item Receipts (IRs):**
   * For each closed line, XoroERP generates a corresponding **Item Receipt**, ensuring inventory is updated correctly for the items physically received.
   * Multiple IRs can be created for the same ASN number if the shipment is received in **batches**.
4. **Partial and Over-Receiving Support:**
   * Users can record **partial quantities** for a line or even **over-receive** items if more than the expected quantity is delivered.
   * The system adjusts inventory and purchase order (PO) status accordingly, marking POs as **Partially Received** when applicable.
5. **Handling Special ASNs:**
   * The feature fully supports ASNs generated from **Credit Memos** or **Return Material Authorizations (RMAs)**, ensuring flexibility for various supply chain scenarios.
6. **Status Tracking and Locks:**
   * Once a line is closed, it is **locked** from further closure or modification.
   * ASNs with at least one closed line remain in a **Partially Closed** status until all lines are closed, providing **accurate tracking** of receipts and inventory.

<figure><img src="/files/X19D9zpbURYCHHpu5c5S" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/gWWGQVEs8lTJcPmrCTFi" alt=""><figcaption></figcaption></figure>

***

### **Use Cases for Partial ASN Line Close**

1. **Staggered Shipments:**
   * When suppliers ship items in multiple batches, warehouse users can close and receipt lines as they arrive, without waiting for the full shipment.
2. **Quality Inspection:**
   * Certain items may need inspection before being added to inventory. The warehouse can close only the approved lines and keep others open.
3. **Return or Credit-Based Shipments:**
   * For ASNs generated from **Credit Memos** or **RMAs**, specific lines can be closed and recorded in inventory without affecting other open lines.
4. **Partial Receipt with Over-Delivery:**
   * When received quantities differ from the ASN, the system allows **partial or over-receipts**, updating the inventory and PO status accurately.
5. **Batch Processing Efficiency:**
   * Users can **batch receive multiple lines** from different ASNs simultaneously, while still closing selected lines individually for proper tracking.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xorosoft.com/xoroerp-1/warehouse/receiving/receive-asn/partial-asn-line-close.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
