How to Create Return to Vendor with Material Receipt in iDempiere for Retail

In iDempiere, creating a Return to Vendor (RTV) from a Material Receipt requires a mandatory intermediate step: creating a Vendor RMA (Return Material Authorization) document first. The RMA serves as the bridge between the Material Receipt and the Return to Vendor, ensuring proper linkage and maintaining complete audit trail.

The Material Receipt defines the receipt of product from a Vendor. When items need to be returned, you create a Vendor RMA linked to that Material Receipt, add the return lines, and then create a Return to Vendor document from the completed RMA. This three-tier structure ensures data integrity and vendor accountability.

This process is essential for retail operations managing product returns due to defects, overstock, or quality issues.

Process Flow Diagram

ReturntoVendor1

Business Rules

The following business rules apply to Return to Vendor processing with Material Receipt in iDempiere:

  • Vendor RMA MUST be created first and linked to Material Receipt
  • RMA lines are populated from Material Receipt lines using the ‘Create lines from’ button in the Vendor RMA window
  • Vendor RMA must be completed/processed before creating a Return to Vendor
  • Return to Vendor is created second, linked to the completed Vendor RMA
  • RTV lines are created from RMA lines (via ‘Create lines from’ button that only accepts RMA as source)
  • Return to Vendor Line tab has ‘RMA Line’ field which links each RTV line to its corresponding RMA line
  • Return Quantity cannot exceed Material Receipt received quantity
  • Return to Vendor status flows: Draft → Completed
  • Process Shipment button moves products out of inventory
  • Optional Confirmations can verify actual returned quantities

Prerequisites

Before creating a Return to Vendor linked to a Material Receipt:

  • Purchase Order must be created and completed
  • Material Receipt must be created from Purchase Order and completed
  • Products must be defined with valid Units of Measure
  • Vendor must be configured as Business Partner
  • Warehouse locations must be configured
  • User must have access to Organization
  • Vendor RMA document type must be configured
  • Return to Vendor document type must be configured

Navigation

For Vendor RMA:

Menu → Returns → Vendor RMA

For Return to Vendor:

Menu → Returns → Return to Vendor
TenthPlanet-iDempiere-Transaction-ReturnToVendor-1

For Material Receipt:

Menu → Requisition-to-Invoice (Purchasing) → Material Receipt
TenthPlanet-iDempiere-Transaction-ReturnToVendor-2

The Return to Vendor Workflow

1. Purchase Order Created

2. Material Receipt Completed

3. CREATE VENDOR RMA (Mandatory)

[ Link to Material Receipt – Use ‘Create lines from’ button to add MR lines – Complete RMA ]

4. CREATE RETURN TO VENDOR

[ Link to Completed RMA – Use ‘Create lines from’ button to add RMA lines – Process Return to Vendor ]

5. Vendor Credit Memo Generated

6. Accounts Payable Reconciliation


Step 1: Access the Returning Product Transaction

Navigate to:

Menu → Material Management and Pricing → Material Management Rules → Product

Select the specific Product and go to the Transaction Tab to view all movement transactions.

Locate the completed Material Receipt transaction (Movement Type = “Vendor Receipts”) and record:

  • Receipt Document Number (from Transaction)
  • Vendor name (Business Partner)
  • Received quantity (Movement Quantity – shown as positive for receipts)
  • Storage locator (Warehouse location)
  • Related Purchase Order number
  • Movement Date (date of receipt)
TenthPlanet-iDempiere-Transaction-ReturnToVendor-3

Step 2: Create Vendor RMA

This step is NOT optional. Vendor RMA MUST be created before creating Return to Vendor.

Instructions:

  1. Navigate to Menu → Returns → Vendor RMA
  2. Click New Record
  3. Fill in RMA header:
    • Select Business Partner (the vendor)
    • Select Receipt (the Material Receipt from Step 1) – MANDATORY
    • Enter optional Description
    • RMA Type – Select from predefined types (Defective, Overstock, Wrong Item, etc.)
  4. Save the RMA header
  5. Click Create lines from button
  6. Select Receipt as source
  7. Select specific Material Receipt line items to return
  8. Click Create
  9. Verify quantities in RMA Line tab
  10. Click Document Action button -> Complete
  11. Document Status changes to ‘Completed’

Vendor RMA Header Fields

FieldDescriptionSample Value
Business PartnerThe vendorCHENNAI SUPPLIERS
ReceiptMaterial Receipt being returned1000021_06/16/2026
Document NoAuto-generated RMA ID990001
NameRMA name/identifierDamaged Goods Return
DescriptionNotes about returnDefective items
RMA TypeCategory of returnDamaged
Document TypeRMA document typeVendor Return Material
Purchase OrderOptional PO referencePO-5432
Company AgentProcurement officerDeepak Anand
AmountTotal RMA amount708.00
OrganizationBusiness unitChennai Store
Document StatusCurrent RMA statusCompleted

Vendor RMA Line Fields

FieldDescriptionSample Value
Line NoUnique line number10
Receipt LineMaterial Receipt line10_100_CIN_Cinthol Soap_1000021_06/16/2026
ProductItem being returnedCIN_Cinthol Soap
QuantityReturn quantity10
DescriptionLine notesDamaged in transit
AmountLine total600.00
ActiveEnable/disable lineYes
TenthPlanet-iDempiere-Transaction-ReturnToVendor-4

Step 3: Create Return to Vendor from Completed RMA

Now that the RMA is completed, create the Return to Vendor document linked to it.

Instructions:

  1. Navigate to Menu → Returns → Return to Vendor
  2. Click New Record
  3. Fill RTV header fields:
    • Select Business Partner (vendor) & Select Organization
    • Select RMA (the completed RMA from Step 2) – Mandatory
    • Select Warehouse (source warehouse)
    • Enter Movement Date (return date)
    • Enter Account Date (GL date)
  4. Save the RTV header

Return to Vendor Header Fields

FieldDescriptionSample Value
TenantCompany/legal entityPOTS
OrganizationBusiness unit or branchChennai Store
Document NoAuto-generated RTV identifier590001
RMAAssociated Vendor RMA if applicable990001
Order ReferenceUse: Original purchase order referencePO-01020
DescriptionNotes about the returnDefective units return
Document TypeRTV document typeMM Vendor Return
Movement DateDate return is being processed06/16/2026
Account DateDate for GL posting06/16/2026
Business PartnerThe vendorCHENNAI SUPPLIERS
Partner LocationVendor location/addressChennai
User/ContactVendor contact personMurugan
WarehouseSource warehouse for returnChennai Selling Floor
PriorityReturn priorityMedium
Delivery RuleDelivery timing rulesAvailability
Pick DateDate items were picked for return2024-06-14
Company AgentProcurement officerDeepak Anand
Delivery ViaDelivery method (pickup/ship)Pickup
Freight Cost RuleFreight charge methodFreight included
Create lines fromButton to generate lines from source(Button)
Generate Invoice from ReceiptButton to create credit memo (in toolbar)(Button)
Movement TypeType of movement (read-only)Vendor Returns
Create ConfirmationButton to create confirmations [present in the tool bar settings button](Button)
In TransitIs movement in transit?No
Date ReceivedDate goods were received back(Not yet)
Document StatusCurrent RTV statusDraft
Document ActionButton to complete RTV(Button)
In DisputeIs document disputed?No
PostedGL posting statusNo
TenthPlanet-iDempiere-Transaction-ReturnToVendor-5

Step 4: Create Return to Vendor Lines from RMA

Now populate the Return to Vendor with lines from the RMA. This is where the RMA-RTV link is finalized.

Purpose: Specify which products and quantities are being returned.

You can add lines in two ways:

  • Option 1: Use Create lines from button (automatic) – recommended
  • Option 2: Manually add lines one by one

Instructions:

  1. In the saved RTV header, click Create lines from button
  2. The pop-up dialog appears showing available RMA records
  3. The RMA you referenced in the RTV header is already filtered/shown
  4. Select the RMA Lines and click OK
  5. All selected RMA lines are automatically added to Return to Vendor Line tab
  6. Each RTV line now has:
    • RMA Line reference
    • Product
    • Quantity
    • Locator
    • UOM
  7. Verify all line items
  8. Save the Return to Vendor

Return to Vendor Line Fields

FieldDescriptionSample Value
TenantCompany/legal entityPOTS
OrganizationBusiness unitChennai Store
Return to VendorParent RTV document590001_06/16/2026
RMA LineAssociated RMA line (if applicable)990001_10_100_CIN_Cinthol Soap_1000021_06/16/2026
Line NoUnique line sequence number10
ProductItem being returnedCIN_Cinthol Soap
Attribute Set InstanceProduct attributes (serialized items)(None)
LocatorWarehouse storage locationSelling Locator
ChargeAdditional charge type(None)
DescriptionLine notes/return reasonDefective units
Quantity (QtyEntered)Quantity being returned10
UOMUnit of MeasureEACH
Movement QuantityQty to move out of inventory (auto)10
Picked QuantityQty picked for shipment0
Target QuantityTarget quantity for return0
Confirmed QuantityConfirmed qty after verification0
Scrapped QuantityQty marked as scrap0
TenthPlanet-iDempiere-Transaction-ReturnToVendor-6

Step 5: Create Confirmations (Optional)

If your QA or warehouse process requires verification of returned quantities before shipment:

  1. Click Create Confirmation button in RTV header
  2. Navigate to Confirmations tab
  3. Enter Confirmed Quantity for each line
  4. Save confirmation records

Step 6: Complete Return to Vendor

Complete the Return to Vendor document and execute inventory movements.

Instructions:

  1. Verify all RTV lines are complete
  2. Click Document Action button -> Complete
  3. System validates and processes:
    • Updates inventory, reducing stock by returned quantities
    • Changes Document Status to ‘Completed’
    • Records Movement Date
  4. RTV is now ready for shipment to vendor

Step 7: Generate Vendor Credit Memo

Create an AP credit memo for the returned goods.

Instructions:

  1. Open the completed RTV record
  2. Click Generate Invoice from Receipt button
  3. A Purchase Invoice (Credit Memo) is created
  4. Review and post to Accounts Payable
  5. Reconcile with vendor’s credit memo when received

Common Issues and Resolutions

IssueCauseResolution
Cannot create RTV lines – Create lines from button not workingRMA field in RTV header is emptyReference the completed RMA in the RTV header ‘RMA’ field first
Create lines from pop-up shows no RMA recordsNo RMA exists, or RMA is not Completed statusGo back and create/complete a Vendor RMA first
In RTV Line, RMA Line field is emptyLines were not created using Create lines from buttonDelete lines and use Create lines from button instead
Return Quantity exceeds Material Receipt quantityInvalid quantity in RMA or RTVReduce quantity to match Material Receipt Movement Quantity
Cannot save RTV headerMandatory field missingEnsure Mandatory fields are filled
Inventory not reducing after Completing ShipmentRTV still in Draft statusCheck Document Status; click Docment Action button -> Complete Shipment again
Cannot reference Material Receipt directly in RTVUser trying to use non-existent featureUse Vendor RMA as intermediate document; create RMA first from MR