How to create a standard sales order in iDempiere

Introduction

A Standard Order is the most commonly used sales document in iDempiere, recording a customer’s request to purchase products and serving as the foundation for inventory allocation, shipment, invoicing, and payment collection.

It captures customer details, products, pricing, taxes, delivery preferences, and payment conditions for each transaction.

Once completed, the Standard Order enables the downstream fulfillment cycle: shipment creation, customer invoicing, and payment receipt — directly impacting inventory and accounts receivable.

Business Rules

  • Business Partner must be configured as a Customer before creating a Standard Order.
  • At least one Order Line with a valid Product is required.
  • Warehouse must be selected on the header and is carried to each Order Line.
  • Price List determines product pricing automatically on each Order Line.
  • Delivery Rule controls when shipment can be generated.
  • Invoice Rule controls when the Customer Invoice is generated.
  • Payment Rule and Payment Term determine how and when the customer settles the bill.
  • The order must be Completed before shipment or invoice Processing can begin.
  • Tax is derived automatically from the product Tax Category on each Order Line.
  • Discount % reduces the Unit Price to calculate the Line Amount.

Configuration Steps

Step 1: Create the Standard Order Header

The header captures the customer, document type, dates, and invoice addressing details that apply to the entire order.

  • Open the Sales Order window and click New Record.
  • Set Target Document Type to Standard Order, enter Date Ordered, Date Promised, Business Partner, Partner Location, and User/Contact, then save.
FieldSample ValueMandatoryDescription
OrganizationCDCYesOrganization Processing the sales transaction
Document No<50017>AutoAuto-generated document number
Target Document TypeStandard OrderYesDefines this as a Standard Sales Order
Date Ordered26/06/2026YesDate the customer placed the order
Date Promised26/06/2026YesDelivery date committed to the customer
Business PartnerASWIN ASSOCIATESYesCustomer placing the order
Invoice PartnerASWIN ASSOCIATESAutoBilling party, derived from Business Partner
Partner LocationChennaiYesCustomer delivery address
Invoice LocationChennaiAutoBilling address, derived from Partner Location
User/ContactRajeshNoCustomer contact for the order
Invoice ContactRajeshAutoContact for invoice, derived from User/Contact
DescriptionAashirvaad Atta Distribution OrderNoFree-text description for the order

Step 2: Configure Delivery Settings

Delivery settings control how and when products are shipped, which warehouse supplies the inventory, and how freight is handled.

Set Delivery Rule, Warehouse, Delivery Via, Freight Cost Rule, and Priority in the Delivery section of the header.

FieldSample ValueMandatoryDescription
Delivery RuleAvailabilityYesControls when shipment can be created
WarehouseCDC GodownYesSource warehouse supplying inventory for this order
PriorityMediumYesProcessing urgency for the order
Delivery ViaPickupYesDelivery method for this order
Freight Cost RuleFreight includedYesHow freight cost is handled on this order
Drop ShipmentUncheckedNoEnable only when vendor ships directly to customer

Delivery Rule Options

Delivery RuleWhen Shipment is Allowed
After PaymentShipment created only after payment is received
AvailabilityDeliver available inventory immediately
Complete LineDeliver only when full line quantity is available
Complete OrderDeliver only when all lines are fully available
ForceIgnore availability and force shipment creation
ManualUser manually controls shipment quantities

Delivery Via Options

Delivery ViaDescription
DeliveryCompany delivers products to the customer
PickupCustomer collects products from the warehouse
ShipperThird-party transporter delivers the products

Freight Cost Rule Options

Freight Cost RuleDescription
CalculatedFreight calculated automatically based on weight or volume
Customer AccountFreight charged through the customer’s transporter account
Fix priceFixed freight charge applied to the order
Freight includedFreight cost included in the product price

Step 3: Configure Invoicing and Payment Settings

Invoicing settings determine when the customer receives their invoice, which price list applies, and how payment is collected.

Set Invoice Rule, Price List, Sales Representative, Payment Rule, Payment Term, and Currency in the Invoicing section.

FieldSample ValueMandatoryDescription
Invoice RuleAfter DeliveryYesControls when the Customer Invoice is generated
Price ListStandard Sales Price ListYesDetermines unit pricing for each Order Line
CurrencyINRYesTransaction currency for the order
Sales RepresentativeGanesh PrabhuNoSalesperson responsible for the order
Payment RuleOn CreditYesCustomer payment method
Payment TermImmediateYesWhen payment is due
Promotion CodeBlankNoApplicable promotion code if any

Invoice Rule Options

Invoice RuleWhen Invoice is Generated
After DeliveryInvoice created after shipment is completed
After Order deliveredInvoice created after the full order is delivered
Customer Schedule after DeliveryInvoice follows the customer’s agreed billing schedule
ImmediateInvoice created immediately when the order is completed

Payment Rule Options

Payment RuleDescription
CashImmediate cash payment at point of sale
CheckPayment through cheque
Credit CardPayment through debit or credit card
Direct DebitAutomatic bank debit
Mixed POS PaymentMultiple payment methods in one transaction
On CreditPayment collected later per agreed payment terms

Payment Term Options

Payment TermDescription
ImmediatePayment due immediately
Net 15 DaysPayment due within 15 days
Net 30 DaysPayment due within 30 days
Net 45 DaysPayment due within 45 days
Weekly SettlementWeekly payment cycle
Monthly SettlementMonthly payment cycle
Yearly SettlementAnnual settlement
45 days end of monthPayment due 45 days after month-end

Step 4: Add Order Lines

Order Lines define the products, quantities, pricing, discounts, and taxes that make up the customer order.

  • Open the Order Line tab and click New Record. Select the Product; Price, List Price, and Tax are derived automatically.
  • Enter Quantity, verify Discount %, and confirm Line Amount.
FieldSample ValueMandatoryDescription
Line No10AutoSequence number for the order line
ProductAASH-ATTA-5KG_Aashirvaad Atta – 5kgYesProduct being sold to the customer
WarehouseCDC GodownAutoDerived from the order header
Quantity2YesNumber of units ordered
UOMEachAutoUnit of measure for the product
Price280.00AutoSelling price from the Price List
Unit Price280.00AutoEffective price per unit after discount
List Price285.00AutoOriginal product price before discount
TaxCGST/SGST 18%AutoTax derived from the product Tax Category
Discount %1.75NoDiscount applied to reduce the unit price
Line Amount560.00AutoQuantity multiplied by Unit Price
Delivered Quantity0AutoQuantity shipped so far
Reserved Quantity0AutoQuantity reserved in the warehouse
Quantity Invoiced0AutoQuantity already billed

Step 5: Execute Document Action

Document Action controls the lifecycle of the Standard Order. The three primary actions are Prepare, Complete, and Void.

  • Click the Document Action button to open the action dialog.
  • Select the required action from the dropdown and click the confirm button to apply it.
FieldSample ValueMandatoryDescription
Document ActionCompleteYesAction selected in the Document Action dialog

Document Action Options

Document ActionResulting Document StatusWhen to Use
PrepareIn ProgressValidates the order and reserves inventory without finalizing; use to check for errors before committing
CompleteCompletedFinalizes the order and makes it available for shipment and invoicing; this is the standard action for confirmed customer orders
VoidVoidedPermanently cancels the order; no shipment or invoice can be generated; use when the order is no longer required

Common Issues and Resolutions

IssueCauseResolution
Business Partner not availableCustomer Master not configuredCreate the Business Partner and enable the Customer flag.
Price not populating on Order LinePrice List not assignedVerify Price List on the order header and ensure the product has a price entry.
Tax not derived on Order LineProduct Tax Category not configuredAssign a Tax Category to the product in Product Master.
Unable to complete the orderNo Order Lines addedAdd at least one valid product line before completing.
Incorrect Grand TotalDiscount or pricing error on Order LineReview Unit Price, Discount %, and Tax on each line.
Delivery Rule blocking shipmentAvailability rule with no stockVerify warehouse stock using the Storage Detail report.
Invoice not generated after deliveryInvoice Rule set to Immediate instead of After DeliveryUpdate Invoice Rule on the order to match the billing requirement.
Order cannot be edited after PrepareDocument is In ProgressReactivate or Void and recreate if changes are needed.

Next Steps

  • Generate Shipment or Material Delivery once inventory is confirmed.
  • Generate Customer Invoice after delivery based on the Invoice Rule.
  • Record Customer Payment against the invoice.
  • Review order status using Sales Order reports.
  • Track Delivered Quantity and Quantity Invoiced on each Order Line.

Leave a Reply

Your email address will not be published. Required fields are marked *