{"id":21352,"date":"2026-08-04T12:02:18","date_gmt":"2026-08-04T12:02:18","guid":{"rendered":"https:\/\/tenthplanet.in\/idempiere\/?p=21352"},"modified":"2026-08-20T08:37:09","modified_gmt":"2026-08-20T08:37:09","slug":"how-to-create-sales-orders-from-expense-in-idempiere","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/idempiere\/how-to-create-sales-orders-from-expense-in-idempiere\/","title":{"rendered":"How to Create Sales Orders from Expense in iDempiere"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Create Sales Orders from Expense is an iDempiere process that converts approved, billable Expense Report lines into customer Sales Orders. Retailers running installation, POS rollout, or field-service projects use it to recover travel and material costs from customers. It groups eligible expense lines by Business Partner and Project, then generates ready-to-invoice orders, keeping billing accurate and reducing manual data entry in retail project accounting.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Process Flow<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"335\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/08\/TenthPlanet-iDempiere-CreateSOFromExpense-ProcessFlow.png\" alt=\"TenthPlanet-iDempiere-CreateSOFromExpense-ProcessFlow\" class=\"wp-image-27847\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/08\/TenthPlanet-iDempiere-CreateSOFromExpense-ProcessFlow.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/08\/TenthPlanet-iDempiere-CreateSOFromExpense-ProcessFlow-300x98.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/08\/TenthPlanet-iDempiere-CreateSOFromExpense-ProcessFlow-768x251.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Business Rules<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Only expense lines marked as billable (Invoiced ) are converted into Sales Orders.<\/li>\n\n\n\n<li>Expense lines already linked to a Sales Order Line are skipped, preventing duplicate billing.<\/li>\n\n\n\n<li>Expense lines must belong to a processed (completed) Expense Report to qualify.<\/li>\n\n\n\n<li>Lines are grouped by Business Partner and Project.<\/li>\n\n\n\n<li>The customer must have at least one configured location, or the order cannot be created.<\/li>\n\n\n\n<li>Generated Sales Orders are left in Prepared status, ready for review and completion.<\/li>\n\n\n\n<li>The Business Partner and Date Range parameters are optional and narrow the selection scope.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Prerequisites<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Business Partner (customer) configured with a valid Business Partner Location.<\/li>\n\n\n\n<li>Expense Report entered, approved, and processed with billable lines (Invoiced).<\/li>\n\n\n\n<li>Project configured, if expenses are tracked and billed against a Project.<\/li>\n\n\n\n<li>Sales Document Type (On Credit Order) configured for the Organization.<\/li>\n\n\n\n<li>Price List and Warehouse configured for the customer or project.<\/li>\n\n\n\n<li>Sales Representative and Organization assigned to the transaction.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Navigation<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Menu \u2192 Partner Relation \u2192 Service \u2192 Create Sales Orders from Expense<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Configuration Steps<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1: Confirm Expense Reports Are Processed<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Open the Expense Report window, confirm the report status is Completed and each billable line has a Business Partner assigned.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"320\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/08\/TenthPlanet-iDempiere-PartnerRelation-CreatesalesOrderfromExpense-1.png\" alt=\"TenthPlanet-iDempiere-PartnerRelation-CreatesalesOrderfromExpense-1\" class=\"wp-image-27848\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/08\/TenthPlanet-iDempiere-PartnerRelation-CreatesalesOrderfromExpense-1.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/08\/TenthPlanet-iDempiere-PartnerRelation-CreatesalesOrderfromExpense-1-300x94.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/08\/TenthPlanet-iDempiere-PartnerRelation-CreatesalesOrderfromExpense-1-768x240.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: Open the Create Sales Orders from Expense Window<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to Business Partner Relations \u2192 Service \u2192 Create Sales Orders from Expense to open the parameter screen.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3: Set Selection Parameters<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Enter a Business Partner to restrict the run to one customer, or leave it blank to process all customers. Set the Expense Date From and To range.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Field Reference Table<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Field<\/strong><\/td><td><strong>Sample Value<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Business Partner<\/td><td>CHENNAI SUPPLIERS<\/td><td>Optional filter; limits the run to one customer&#8217;s expense lines.<\/td><\/tr><tr><td>Expense Date (From)<\/td><td>07\/01\/2026<\/td><td>Start of the expense date range to include.<\/td><\/tr><tr><td>Expense Date (To)<\/td><td>07\/21\/2026<\/td><td>End of the expense date range to include.<\/td><\/tr><tr><td>Run as Job<\/td><td>Unchecked<\/td><td>When checked, runs the process in the background instead of immediately.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 4: Run the Process<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Click Start. The process log shows the number of orders created, along with the date, amount, and a link to each new Sales Order.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 5: Review and Complete the Generated Sales Order<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Click the order link in the log (for example, 60003), verify the lines and pricing, then complete the order and proceed to invoicing.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"320\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/08\/TenthPlanet-iDempiere-PartnerRelation-CreatesalesOrderfromExpense-2.png\" alt=\"TenthPlanet-iDempiere-PartnerRelation-CreatesalesOrderfromExpense-2\" class=\"wp-image-27852\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/08\/TenthPlanet-iDempiere-PartnerRelation-CreatesalesOrderfromExpense-2.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/08\/TenthPlanet-iDempiere-PartnerRelation-CreatesalesOrderfromExpense-2-300x94.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/08\/TenthPlanet-iDempiere-PartnerRelation-CreatesalesOrderfromExpense-2-768x240.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Common Issues and Resolutions<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Issue<\/strong><\/td><td><strong>Cause<\/strong><\/td><td><strong>Resolution<\/strong><\/td><\/tr><\/thead><tbody><tr><td>No Sales Orders created<\/td><td>Expense lines not marked billable or report not processed<\/td><td>Mark lines Invoiced = Y and complete the Expense Report<\/td><\/tr><tr><td>Process error on order creation<\/td><td>Customer has no Business Partner Location<\/td><td>Add a valid location to the customer record<\/td><\/tr><tr><td>Orders split more than expected<\/td><td>Expense lines span multiple projects<\/td><td>Confirm project assignment on each expense line<\/td><\/tr><tr><td>Wrong price on order line<\/td><td>Price List not aligned with Project or Customer<\/td><td>Verify the Price List configured for the project or customer<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Next Steps<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Complete and invoice the generated Sales Order.<\/li>\n\n\n\n<li>Review Project Costing or Expense reports for reconciliation.<\/li>\n\n\n\n<li>Configure Sales Order to Invoice document flow if not already set up.<\/li>\n\n\n\n<li>Set up recurring Business Partner and Project filters for repeat billing cycles.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Create Sales Orders from Expense is an iDempiere process that converts approved, billable Expense Report lines into customer Sales Orders. [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,87,78],"tags":[],"class_list":["post-21352","post","type-post","status-publish","format-standard","hentry","category-idempiere-product","category-idempiere-partner-relations","category-idempiere-sales"],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/21352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/comments?post=21352"}],"version-history":[{"count":3,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/21352\/revisions"}],"predecessor-version":[{"id":27853,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/21352\/revisions\/27853"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/media?parent=21352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/categories?post=21352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/tags?post=21352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}