<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Walking Tree</title>
	<atom:link href="http://wtcindia.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://wtcindia.wordpress.com</link>
	<description>Official Blog</description>
	<lastBuildDate>Fri, 27 Jan 2012 13:07:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='wtcindia.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/eff494af6a82c774a60bc0e9c3277fdc?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Walking Tree</title>
		<link>http://wtcindia.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://wtcindia.wordpress.com/osd.xml" title="Walking Tree" />
	<atom:link rel='hub' href='http://wtcindia.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Managing Customer Return in Adempiere</title>
		<link>http://wtcindia.wordpress.com/2012/01/14/managing-customer-return-in-adempiere/</link>
		<comments>http://wtcindia.wordpress.com/2012/01/14/managing-customer-return-in-adempiere/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 15:43:32 +0000</pubDate>
		<dc:creator>Walking Tree</dc:creator>
				<category><![CDATA[Adempiere]]></category>
		<category><![CDATA[Adempiere Consulting]]></category>
		<category><![CDATA[Adempiere Training]]></category>
		<category><![CDATA[Customer Return]]></category>
		<category><![CDATA[ERP]]></category>
		<category><![CDATA[ERP India]]></category>
		<category><![CDATA[Sales Process]]></category>

		<guid isPermaLink="false">http://wtcindia.wordpress.com/?p=1100</guid>
		<description><![CDATA[After reading this blog you will be able to understand the common business need related to customerreturn. This article talks about a specific case (where business accepts material returned by customer and in lieu of that they issue credit notes to the customer) of customer return using Adempiere. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=1100&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Problem Statement</h3>
<p>In the previous article on “<a title="Vendor Return" href="http://wtcindia.wordpress.com/2012/01/13/managing-vendor-return-in-adempiere/" target="_blank">Managing Vendor Returns</a>”, I have mentioned various reasons for material return by the business. Almost all the reasons are applicable for customer return as well. The only difference is that the earlier business was returning material to vendor and now customer is returning material to the business.</p>
<p>Following diagram depicts overall workflow involved during customer return:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/customerreturn2.png"><img class="aligncenter size-full wp-image-1122" title="CustomerReturn" src="http://wtcindia.files.wordpress.com/2012/01/customerreturn2.png?w=620&#038;h=413" alt="Customer Return Workflow" width="620" height="413" /></a></p>
<h3>Scope</h3>
<p>As part of this article, I have assumed that you are familiar with sales order and shipment part of the sales process. After receiving the material the customer may decide to return certain material. This article helps you to understand customer return process using Adempiere.</p>
<p>For this example – I have created following sales order</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/salesorder.png"><img class="aligncenter size-full wp-image-1102" title="SalesOrder" src="http://wtcindia.files.wordpress.com/2012/01/salesorder.png?w=620&#038;h=489" alt="Sales Order" width="620" height="489" /></a></p>
<p>And generated shipment / invoice with following details using <strong>Generate Shipments &amp; Invoices</strong> process:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/generateshipment.png"><img class="aligncenter size-full wp-image-1103" title="GenerateShipment" src="http://wtcindia.files.wordpress.com/2012/01/generateshipment.png?w=620&#038;h=620" alt="Generate Shipment" width="620" height="620" /></a></p>
<p>Ensure that you have got appropriate shipment and invoice generated:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/shipmentandinvoice.png"><img class="aligncenter size-full wp-image-1104" title="ShipmentAndInvoice" src="http://wtcindia.files.wordpress.com/2012/01/shipmentandinvoice.png?w=620" alt="Shipment And Invoice"   /></a></p>
<p>Verified Inventory level of the involved product:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/productinfo.png"><img class="aligncenter size-full wp-image-1106" title="ProductInfo" src="http://wtcindia.files.wordpress.com/2012/01/productinfo.png?w=620&#038;h=336" alt="Product Info" width="620" height="336" /></a></p>
<h3>How do we do this in Adempiere?</h3>
<p>Adempiere allows you to configure various types of returns using the RMA Type window:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/rmatype.png"><img class="aligncenter size-full wp-image-1105" title="RMAType" src="http://wtcindia.files.wordpress.com/2012/01/rmatype.png?w=620&#038;h=234" alt="RMA Type" width="620" height="234" /></a></p>
<p>Using the suitable RMA Type and Shipment record for the return, create Customer Return RMA:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/customerrma.png"><img class="aligncenter size-full wp-image-1107" title="CustomerRMA" src="http://wtcindia.files.wordpress.com/2012/01/customerrma.png?w=620&#038;h=367" alt="Customer RMA" width="620" height="367" /></a></p>
<p>Select shipment line corresponding to returned items and create RMA Lines</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/rmaline.png"><img class="aligncenter size-full wp-image-1108" title="RMALine" src="http://wtcindia.files.wordpress.com/2012/01/rmaline.png?w=620&#038;h=367" alt="RMA Line" width="620" height="367" /></a></p>
<p>Complete RMA document</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/rmacomplete.png"><img class="aligncenter size-full wp-image-1109" title="RMAComplete" src="http://wtcindia.files.wordpress.com/2012/01/rmacomplete.png?w=620&#038;h=368" alt="RMA Completed" width="620" height="368" /></a></p>
<p>Create Customer Return</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/customerreturnovercreditlimit.png"><img class="aligncenter size-full wp-image-1110" title="CustomerReturnOverCreditLimit" src="http://wtcindia.files.wordpress.com/2012/01/customerreturnovercreditlimit.png?w=620&#038;h=488" alt="Customer Return - Over Credit Limit" width="620" height="488" /></a></p>
<p>In case the customer has not paid the original invoice then at the time of return creation, the system automatically checks the credit used by customer and prevents business from issuing the credit notes to the customer. The Customer tab on Business Partner window shows the credit used by the customer.</p>
<p>In such case, you may like to create AP Receipt for the customer to settle the due. Once the due is settled, you can go ahead and create customer return. The valid customer return record looks like below image:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/customerreturn1.png"><img class="aligncenter size-full wp-image-1112" title="CustomerReturn" src="http://wtcindia.files.wordpress.com/2012/01/customerreturn1.png?w=620&#038;h=485" alt="Customer Return" width="620" height="485" /></a></p>
<p>Create related receipt line</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/customerreturnreceipt.png"><img class="aligncenter size-full wp-image-1113" title="CustomerReturnReceipt" src="http://wtcindia.files.wordpress.com/2012/01/customerreturnreceipt.png?w=620&#038;h=322" alt="Customer Return Receipt" width="620" height="322" /></a></p>
<p>Create and complete Receipt Confirmation record</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/receiptconfirmation.png"><img class="aligncenter size-full wp-image-1114" title="ReceiptConfirmation" src="http://wtcindia.files.wordpress.com/2012/01/receiptconfirmation.png?w=620&#038;h=354" alt="Receipt Confirmation" width="620" height="354" /></a></p>
<p>Create invoice for the receipt by clicking on &#8220;Generate Invoice from Receipt&#8221; button and complete the invoice:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/arcreditmemo.png"><img class="aligncenter size-full wp-image-1116" title="ARCreditMemo" src="http://wtcindia.files.wordpress.com/2012/01/arcreditmemo.png?w=620&#038;h=485" alt="AR Credit Memo" width="620" height="485" /></a></p>
<p>Review account posting information</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/arcreditmemoaccounts.png"><img class="aligncenter size-full wp-image-1117" title="ARCreditMemoAccounts" src="http://wtcindia.files.wordpress.com/2012/01/arcreditmemoaccounts.png?w=620&#038;h=487" alt="AR Credit Memo - Accounts Posting" width="620" height="487" /></a></p>
<p>Issue a receipt for negative amount, which indicates that the business has paid corresponding amount to the customer:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/arcreditmemoreceipe.png"><img class="aligncenter size-full wp-image-1118" title="AR Credit Memo Receipt" src="http://wtcindia.files.wordpress.com/2012/01/arcreditmemoreceipe.png?w=620&#038;h=474" alt="" width="620" height="474" /></a></p>
<p>Review stock details and you will see that the item count has increased by equivalent amount</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/productinfocustomerreturn.png"><img class="aligncenter size-full wp-image-1119" title="ProductInfoCustomerReturn" src="http://wtcindia.files.wordpress.com/2012/01/productinfocustomerreturn.png?w=620&#038;h=345" alt="Product Info After Customer Return" width="620" height="345" /></a></p>
<p>So, the sold material is back into the store! Well, now you know step-by-step process of creating customer return. This example again demonstrate the capability of Adempiere to meet your standard business process need.</p>
<h3>Reference</h3>
<ul>
<li><a href="http://www.adempiere.com/Sales_Processes">http://www.adempiere.com/Sales_Processes</a></li>
<li><a href="../2012/01/13/managing-vendor-return-in-adempiere/">http://wtcindia.wordpress.com/2012/01/13/managing-vendor-return-in-adempiere/</a></li>
<li><a href="http://en.wikipedia.org/wiki/Returning">http://en.wikipedia.org/wiki/Returning</a></li>
<li><a href="http://www.adempiere.com/RMA">http://www.adempiere.com/RMA</a></li>
<li><a href="http://www.adempiere.com/ManPageW_RMA">http://www.adempiere.com/ManPageW_RMA</a></li>
</ul>
<h3><strong>Summary</strong></h3>
<p>As part of this blog I have documented one specific aspect of customer return, which is accepting returned material from a customer and issue a credit note.</p>
<p>I hope you have enjoyed reading this blog and it helps you in making better use of Adempiere ERP.  In case you need professional assistance to be able to achieve your business need, you can always reach us by visiting our <a href="http://www.walkingtree.in/index.php?option=com_contact&amp;view=contact&amp;id=1&amp;Itemid=57">Contact Us</a> page. If you have any specific question then feel free to post the same on our <a href="http://www.walkingtree.in/forums/" target="_blank">forum </a>or the <a href="../2012/01/13/2012/01/06/category/services/technology-consulting/open-source/adempiere/" target="_blank">blog </a>related to your topic of concern.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtcindia.wordpress.com/1100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtcindia.wordpress.com/1100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtcindia.wordpress.com/1100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtcindia.wordpress.com/1100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtcindia.wordpress.com/1100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtcindia.wordpress.com/1100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtcindia.wordpress.com/1100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtcindia.wordpress.com/1100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtcindia.wordpress.com/1100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtcindia.wordpress.com/1100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtcindia.wordpress.com/1100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtcindia.wordpress.com/1100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtcindia.wordpress.com/1100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtcindia.wordpress.com/1100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=1100&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtcindia.wordpress.com/2012/01/14/managing-customer-return-in-adempiere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a41f5cbbcc06ac29942d3da2f8e083ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtcindia</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/customerreturn2.png" medium="image">
			<media:title type="html">CustomerReturn</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/salesorder.png" medium="image">
			<media:title type="html">SalesOrder</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/generateshipment.png" medium="image">
			<media:title type="html">GenerateShipment</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/shipmentandinvoice.png" medium="image">
			<media:title type="html">ShipmentAndInvoice</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/productinfo.png" medium="image">
			<media:title type="html">ProductInfo</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/rmatype.png" medium="image">
			<media:title type="html">RMAType</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/customerrma.png" medium="image">
			<media:title type="html">CustomerRMA</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/rmaline.png" medium="image">
			<media:title type="html">RMALine</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/rmacomplete.png" medium="image">
			<media:title type="html">RMAComplete</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/customerreturnovercreditlimit.png" medium="image">
			<media:title type="html">CustomerReturnOverCreditLimit</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/customerreturn1.png" medium="image">
			<media:title type="html">CustomerReturn</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/customerreturnreceipt.png" medium="image">
			<media:title type="html">CustomerReturnReceipt</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/receiptconfirmation.png" medium="image">
			<media:title type="html">ReceiptConfirmation</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/arcreditmemo.png" medium="image">
			<media:title type="html">ARCreditMemo</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/arcreditmemoaccounts.png" medium="image">
			<media:title type="html">ARCreditMemoAccounts</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/arcreditmemoreceipe.png" medium="image">
			<media:title type="html">AR Credit Memo Receipt</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/productinfocustomerreturn.png" medium="image">
			<media:title type="html">ProductInfoCustomerReturn</media:title>
		</media:content>
	</item>
		<item>
		<title>Managing Vendor Return in Adempiere</title>
		<link>http://wtcindia.wordpress.com/2012/01/13/managing-vendor-return-in-adempiere/</link>
		<comments>http://wtcindia.wordpress.com/2012/01/13/managing-vendor-return-in-adempiere/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 07:07:05 +0000</pubDate>
		<dc:creator>Walking Tree</dc:creator>
				<category><![CDATA[Adempiere]]></category>
		<category><![CDATA[Adempiere Consulting]]></category>
		<category><![CDATA[Adempiere Training]]></category>
		<category><![CDATA[Credit Notes]]></category>
		<category><![CDATA[material authorization]]></category>
		<category><![CDATA[RMA]]></category>
		<category><![CDATA[vendor issues]]></category>
		<category><![CDATA[Vendor Return]]></category>

		<guid isPermaLink="false">http://wtcindia.wordpress.com/?p=1080</guid>
		<description><![CDATA[After reading this blog you will be able to understand the common business need related to vendor return. This article talks about a specific case (where business returns material to vendor and vendor gives credit notes to business) of vendor return using Adempiere. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=1080&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Problem Statement</h3>
<p>Whenever the business is purchasing items from a supplier, there is a possibility that the business may like to return the material to the supplier. Some of the common reason for returning material are</p>
<p>-          (<strong>Rejected Supply</strong>) Defective piece being supplied by Supplier or the supplied items falling short of agreed quality</p>
<p>-          (<strong>Return for Disposal</strong>) Material being purchased for reselling purpose by a reseller crosses its use by date (e.g. medicines and other consumable items)</p>
<p>-          (<strong>Partial Cancellation of Order or Order Adjustment</strong>) The business changes its decision to purchase certain item or certain quantity of a given item</p>
<p>-          (<strong>Replacement Order</strong>) The business expect supplier to replace an item which is in warranty period</p>
<p>-          (<strong>Shipping Error</strong>) Wrong item being shipped by the supplier</p>
<p>-          (<strong>Upgrade Request</strong>) The business wants supplier to upgrade the product (possibly by adding more value) and return the upgraded product</p>
<p>Following diagram shows typical workflow involved during a vendor return</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/vendorreturnflow1.png"><img class="aligncenter size-full wp-image-1096" title="VendorReturnFlow" src="http://wtcindia.files.wordpress.com/2012/01/vendorreturnflow1.png?w=620&#038;h=413" alt="Vendor Return Flow" width="620" height="413" /></a></p>
<p><strong>Scope of this Article</strong></p>
<p>As part of this article we have covered the scenario where the business returns material to vendor and in turn the vendor issues a credit notes. Also, I have assumed that you have already completed Purchase Order process and received material into your warehouse. I have excluded inventory part in this article as all you need to do is review product info window at various stage of the process.</p>
<h3>How do we do this in Adempiere?</h3>
<p><strong><span style="text-decoration:underline;">Create RMA (Return Material Authorization)</span></strong></p>
<p>The Vendor RMA window allows you to create Return Material Authorization, which the vendor shall accept before you can expect a credit memo. You need to make sure that you have appropriate RMA Type (managed through <strong>RMA Type</strong> window) available for selection.</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/vendorrma.png"><img class="aligncenter size-full wp-image-1082" title="VendorRMA" src="http://wtcindia.files.wordpress.com/2012/01/vendorrma.png?w=620&#038;h=233" alt="Vendor RMA" width="620" height="233" /></a></p>
<p>You shall be able to enter one or more products (part of the receipt selected at RMA level) on the RMA line.</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/vendorrmaline.png"><img class="aligncenter size-full wp-image-1083" title="VendorRMALine" src="http://wtcindia.files.wordpress.com/2012/01/vendorrmaline.png?w=620&#038;h=145" alt="Vendor RMA Line" width="620" height="145" /></a></p>
<p>Once you are done with the entry of all the products, complete the Vendor Return Material document. In case you receive written authorization, you can attach the scanned copy using the standard attachment interface.</p>
<p>Also, if you have a need to reorder the returned items then all you need to do is</p>
<ul>
<li>Click on “Create Order From RMA”</li>
<li>Review the generated order and</li>
<li>Complete the order</li>
</ul>
<p><strong><span style="text-decoration:underline;">Return to Vendor</span></strong></p>
<p>Now that you have received authorization from the vendor, the next step is to create <strong><em>MM Vendor Return</em></strong> document by selecting the authorized (completed) Vendor RMA record.</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/returntovendor.png"><img class="aligncenter size-full wp-image-1084" title="ReturntoVendor" src="http://wtcindia.files.wordpress.com/2012/01/returntovendor.png?w=620&#038;h=314" alt="Return to a Vendor" width="620" height="314" /></a></p>
<p>Once you have created this document, you can create shipment confirmation record. Note that you will not be able to complete the return document if you have an open shipment confirmation document.</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/openshipment.png"><img class="aligncenter size-full wp-image-1085" title="OpenShipment" src="http://wtcindia.files.wordpress.com/2012/01/openshipment.png?w=620&#038;h=464" alt="Open Shipment" width="620" height="464" /></a></p>
<p><strong><span style="text-decoration:underline;">Create Shipment Confirmation</span></strong></p>
<p>Create shipment confirmation and complete shipment document.</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/createshipment.png"><img class="aligncenter size-full wp-image-1086" title="CreateShipment" src="http://wtcindia.files.wordpress.com/2012/01/createshipment.png?w=620&#038;h=330" alt="Create Shipment Confirmation" width="620" height="330" /></a></p>
<p>Complete shipment document:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/createshipmentcomplete.png"><img class="aligncenter size-full wp-image-1087" title="CreateShipmentComplete" src="http://wtcindia.files.wordpress.com/2012/01/createshipmentcomplete.png?w=620&#038;h=243" alt="Complete Shipment Document" width="620" height="243" /></a></p>
<p>Optionally create Package for shipment</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/createpackage.png"><img class="aligncenter size-full wp-image-1088" title="CreatePackage" src="http://wtcindia.files.wordpress.com/2012/01/createpackage.png?w=620&#038;h=353" alt="Create Package" width="620" height="353" /></a></p>
<p>Complete Vendor Return Document and verify account posting:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/returntovendoraccounts.png"><img class="aligncenter size-full wp-image-1089" title="ReturntoVendorAccounts" src="http://wtcindia.files.wordpress.com/2012/01/returntovendoraccounts.png?w=620&#038;h=457" alt="Return to Vendor - Accounts Posting" width="620" height="457" /></a></p>
<p>Now that you have returned material, the vendor would have sent you credit notes. Enter the Create Credit Notes (AP Credit Memo) in your system using “Generate Invoice from Receipt” process:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/invoicefromreceipt.png"><img class="aligncenter size-full wp-image-1090" title="InvoiceFromReceipt" src="http://wtcindia.files.wordpress.com/2012/01/invoicefromreceipt.png?w=620&#038;h=447" alt="Invoice From Receipt" width="620" height="447" /></a></p>
<p>Review and Complete AP Credit Memo</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/creditmemo.png"><img class="aligncenter size-full wp-image-1091" title="CreditMemo" src="http://wtcindia.files.wordpress.com/2012/01/creditmemo.png?w=620&#038;h=423" alt="AP Credit Memo" width="620" height="423" /></a></p>
<p>Check Account Postings related to credit memo</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/creditmemoposting.png"><img class="aligncenter size-full wp-image-1092" title="CreditMemoPosting" src="http://wtcindia.files.wordpress.com/2012/01/creditmemoposting.png?w=620&#038;h=433" alt="Credit Memo - Accounts Posting" width="620" height="433" /></a></p>
<p>Review the invoices associated with the business partner. Note that Adempiere shows “AP Credit Memo” as negative entry.</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/vendorinvoice.png"><img class="aligncenter size-full wp-image-1093" title="VendorInvoice" src="http://wtcindia.files.wordpress.com/2012/01/vendorinvoice.png?w=620&#038;h=198" alt="Vendor Invoice" width="620" height="198" /></a></p>
<p><strong>References</strong></p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Returning">http://en.wikipedia.org/wiki/Returning</a></li>
<li><a href="http://www.adempiere.com/RMA">http://www.adempiere.com/RMA</a></li>
<li><a href="../2011/12/15/managing-material-receipt-in-adempiere/">http://wtcindia.wordpress.com/2011/12/15/managing-material-receipt-in-adempiere/</a></li>
<li><a href="http://www.adempiere.com/ManPageW_RMA">http://www.adempiere.com/ManPageW_RMA</a></li>
<li><a href="../2011/08/27/managing-your-inventory-using-adempiere/">http://wtcindia.wordpress.com/2011/08/27/managing-your-inventory-using-adempiere/</a></li>
</ul>
<p><strong>Summary</strong></p>
<p>As part of this blog I have documented one specific aspect of vendor return, which is returning material to a vendor and receiving credit notes.</p>
<p>I hope you have enjoyed reading this blog and it helps you in making better use of Adempiere ERP.  In case you need professional assistance to be able to achieve your business need, you can always reach us by visiting our <a href="http://www.walkingtree.in/index.php?option=com_contact&amp;view=contact&amp;id=1&amp;Itemid=57">Contact Us</a> page. If you have any specific question then feel free to post the same on our <a href="http://www.walkingtree.in/forums/" target="_blank">forum </a>or the <a href="../2012/01/06/category/services/technology-consulting/open-source/adempiere/" target="_blank">blog </a>related to your topic of concern.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtcindia.wordpress.com/1080/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtcindia.wordpress.com/1080/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtcindia.wordpress.com/1080/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtcindia.wordpress.com/1080/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtcindia.wordpress.com/1080/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtcindia.wordpress.com/1080/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtcindia.wordpress.com/1080/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtcindia.wordpress.com/1080/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtcindia.wordpress.com/1080/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtcindia.wordpress.com/1080/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtcindia.wordpress.com/1080/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtcindia.wordpress.com/1080/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtcindia.wordpress.com/1080/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtcindia.wordpress.com/1080/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=1080&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtcindia.wordpress.com/2012/01/13/managing-vendor-return-in-adempiere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a41f5cbbcc06ac29942d3da2f8e083ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtcindia</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/vendorreturnflow1.png" medium="image">
			<media:title type="html">VendorReturnFlow</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/vendorrma.png" medium="image">
			<media:title type="html">VendorRMA</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/vendorrmaline.png" medium="image">
			<media:title type="html">VendorRMALine</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/returntovendor.png" medium="image">
			<media:title type="html">ReturntoVendor</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/openshipment.png" medium="image">
			<media:title type="html">OpenShipment</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/createshipment.png" medium="image">
			<media:title type="html">CreateShipment</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/createshipmentcomplete.png" medium="image">
			<media:title type="html">CreateShipmentComplete</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/createpackage.png" medium="image">
			<media:title type="html">CreatePackage</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/returntovendoraccounts.png" medium="image">
			<media:title type="html">ReturntoVendorAccounts</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/invoicefromreceipt.png" medium="image">
			<media:title type="html">InvoiceFromReceipt</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/creditmemo.png" medium="image">
			<media:title type="html">CreditMemo</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/creditmemoposting.png" medium="image">
			<media:title type="html">CreditMemoPosting</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/vendorinvoice.png" medium="image">
			<media:title type="html">VendorInvoice</media:title>
		</media:content>
	</item>
		<item>
		<title>Managing Workflow in Adempiere</title>
		<link>http://wtcindia.wordpress.com/2012/01/06/managing-workflow-in-adempiere/</link>
		<comments>http://wtcindia.wordpress.com/2012/01/06/managing-workflow-in-adempiere/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 13:16:19 +0000</pubDate>
		<dc:creator>Walking Tree</dc:creator>
				<category><![CDATA[Adempiere]]></category>
		<category><![CDATA[ERP]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://wtcindia.wordpress.com/?p=1044</guid>
		<description><![CDATA[As part of this article I have provided overall Workflow management in Adempiere. The workflow engine in Adempiere is one of the most powerful and important functionality that almost every business need. And, interestingly it doesn’t expect you to be technical expert to be able to define workflow for your business. This article also talks about some of the common business need and how these needs have been handled in Adempiere. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=1044&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Problem Statement</h3>
<p>In a business environment, we often see following situations where some sort of workflow is involved</p>
<ol>
<li>(<strong>Manager’s Approval</strong>) The document is prepared by sub-ordinates or specialists and the final authorization is given by higher management (as per the business process).
<ol>
<li>In nutshell, there is a need that a document move from one table (or person) to another table (or person) until it reaches the last table (or person) in the workflow, where it finally gets completed and overall work is considered completed. During this process there may be possibility of content of that document being modified, while it is being actioned.</li>
</ol>
</li>
<li>(<strong>Across Department</strong>) One part of the work is done by one department (e.g. Packing of material by Packaging department) and  the other part of the work is done by the other department (e.g. verification of package by delivery department)</li>
<li>(<strong>Document Status Transition</strong>) The document is kept in the draft status for a period and once all the entries are made and verified, the user completes the document
<ol>
<li>Occasionally they would like to void or reverse the completed document or</li>
<li>Delete the document in draft status</li>
</ol>
</li>
<li>(<strong>Approval Based on Amount</strong>) The expense (or any transaction) crossing a limit amount may need approval from specific person / designation</li>
<li>(<strong>Forwarding and Sharing Responsibility</strong>) The business may like to avoid delay in action due to someone being overloaded or being on vacation. In such cases, they may like to
<ol>
<li>either provide a capability to forward the action request or</li>
<li>send the action request to group of people so that action by any of them will complete that particular activity and generate next action request (if there is one) in the work flow.</li>
</ol>
</li>
<li><strong>(General Guideline)</strong> The business may want to help staff with standard data flow, which provides overall picture of the related processes and eliminates training need of the business</li>
</ol>
<p>As part of this article, I intend to cover how you can make use of Adempiere to manage various Workflow need mentioned above.</p>
<p><strong>Prerequisites</strong></p>
<ol>
<li>Ensure that the Adempiere table has following columns (not required for general workflow)
<ol>
<li><strong>DocAction</strong> – Select “<strong><em>Reference”</em></strong> as “<strong>Button</strong>” and default this value to Complete by setting <strong>“Default Logic”</strong> a value of ‘<strong>CO</strong>’. Specify the process associated with the workflow (not required for general workflow).</li>
<li><strong>DocStatus</strong> – The Document Status indicates the status of a document at this time.  If you want to change the document status, use the Document Action field. Select “<strong><em>Reference”</em></strong> as “<strong>List</strong>” (and select “<strong><em>_Document Status”</em></strong> as Reference Key or use your own “<strong><em>Document Status List</em></strong>”) and default this value to Drafted by setting <strong>“Default Logic”</strong> a value of ‘<strong>DR</strong>’.</li>
<li><strong>IsApproved</strong> – Select “<strong><em>Reference”</em></strong> as “<strong>Yes-No</strong>”.</li>
</ol>
</li>
<li>Ensure that you have Workflow menu available <a href="http://wtcindia.files.wordpress.com/2012/01/workflowmenu2.png"><img class="aligncenter size-full wp-image-1045" title="WorkflowMenu" src="http://wtcindia.files.wordpress.com/2012/01/workflowmenu2.png?w=620" alt="Workflow Menu"   /></a></li>
</ol>
<p><strong>How it works in Adempiere?</strong><strong></strong></p>
<p>Following diagram summarize the overall setup required for using a workflow in Adempiere:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/workflowsetup1.png"><img class="aligncenter size-full wp-image-1067" title="WorkflowSetup" src="http://wtcindia.files.wordpress.com/2012/01/workflowsetup1.png?w=620&#038;h=770" alt="Workflow Setup" width="620" height="770" /></a></p>
<p>Adempiere comes up with following list of interfaces related to Workflow:</p>
<ul>
<li><strong><span style="text-decoration:underline;">Workflow Type</span></strong>
<ul>
<li>The type of workflow determines how the workflow is executed.</li>
<li>The reference list <strong>AD_Workflow Type_L </strong>contains definition for all the workflow types
<ul>
<li><strong>General</strong> workflow provides list of linked nodes which provides step-by-step instruction. It allows you to perform one action after another by clicking on the nodes.</li>
<li><strong>Document Process </strong>workflow allows business to define processes where set of people need to work on a given document.</li>
<li><strong>Document Value</strong> workflow allows business to define workflow which gets invoked when certain predefined business criteria is met. You can specify predefined criteria in “Document Value Logic” field on Workflow window.</li>
<li><strong>Manufacturing</strong> workflow allows business to specify method for manufacturing a particular item. The business can specify different steps,  approvals and other manufacturing parameters (e.g. wait time, cost, etc) involved during a different stages of manufacturing.</li>
</ul>
</li>
</ul>
</li>
<li><strong><span style="text-decoration:underline;">Workflow Responsible</span></strong>
<ul>
<li>Workflow Responsible is the person who is responsible for executing certain activity of the workflow</li>
<li>The system allows you to define ways to find the actual user responsible for the workflow</li>
<li>The off-the-shelf system provides following responsible type (defined using Reference Key “<strong><em>WF_Participant Type</em></strong>”), which allows system to determine “the responsible user(s) for the workflow execution”
<ul>
<li><strong>Human</strong> (H) – The system allows you to specify the specific user/contact who will be responsible for executing the activity of the workflow. If the specific user / contact has not been defined for this responsible type then the invoker of the workflow becomes responsible for executing the activities of the workflow.</li>
<li><strong>Organization</strong> (O) – The supervisor of the organization will be responsible for executing the workflow activity.</li>
<li><strong>Role</strong> (R) – A group of people will be responsible for executing the workflow activity.</li>
<li>Depending on your need, you can add more responsible type. However, we have often seen that above three responsible type is sufficient for most of the business.<strong></strong></li>
</ul>
<p><span style="text-decoration:underline;"><strong>Workflow</strong></span></p>
<ul>
<li><strong></strong>This window allows you to define actual workflow <a href="http://wtcindia.files.wordpress.com/2012/01/workflow1.png"><img class="aligncenter size-full wp-image-1046" title="Workflow" src="http://wtcindia.files.wordpress.com/2012/01/workflow1.png?w=620&#038;h=491" alt="Workflow" width="620" height="491" /></a>
<ul>
<li>As part of the workflow definition you often do following
<ul>
<li>Define various Nodes (also known as activity)</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<ol>
<li><a href="http://wtcindia.files.wordpress.com/2012/01/workflowactivity.png"><img class="aligncenter size-full wp-image-1047" title="WorkflowActivity" src="http://wtcindia.files.wordpress.com/2012/01/workflowactivity.png?w=620&#038;h=454" alt="Workflow Activity" width="620" height="454" /></a></li>
<li>Some of the important points that you would like to note are
<ol>
<li><strong>Start Mode </strong>- allows you to specify if the activity will be triggered automatically or manually</li>
<li><strong>Finish Mode</strong> &#8211; allows you to specify if the activity will be completed automatically or manually</li>
<li><strong>Join Element</strong> – allows you to specify how the incoming transitions shall be handled. If you have used AND then it joins all the concurrent thread and if you have selected XOR (<strong>default</strong>) then it requires one thread.</li>
<li><strong>Split Element</strong> &#8211; allows you to specify how the outgoing transitions shall be handled. AND represents multiple concurrent threads and XOR (<strong>default</strong>) represents the first transition with a true Transition condition.</li>
<li><strong>Action</strong>– allows you to specify the action that you want to take on this node. For example
<ol>
<li>For general workflow (step-by-step instruction) you need to select “<strong><em>User Window</em></strong>” and specify Window Name.</li>
<li>For Sleeping for a certain period, you need to specify “<strong><em>Wait (Sleep)</em></strong>” and specify Wait Time.</li>
<li>For sending Emails – you need to select “<strong><em>EMail</em></strong>” and specify email template &amp; Recipient.</li>
<li>For executing yet another workflow, you need to select “<strong><em>Sub Workflow</em></strong>” and specify the workflow name</li>
<li>For executing a report you need to select “<strong><em>Apps Report</em></strong>” and specify the Report Name</li>
<li>For executing a process you need to select “<strong><em>Apps Process</em></strong>” and specify Process Name</li>
<li>To act on a document, select “Document Action” and specify document action</li>
<li>To change value of any specific field of the record, select “<strong><em>Set Variable</em></strong>” and specify value for the selected field</li>
<li>For Approval like scenario you need to select “<strong><em>User Choice</em></strong>” and specify the column name</li>
</ol>
</li>
</ol>
</li>
</ol>
<ul>
<li>Specify transitions among the workflow nodes <a href="http://wtcindia.files.wordpress.com/2012/01/workflowactivitytransition.png"><img class="aligncenter size-full wp-image-1048" title="WorkflowActivityTransition" src="http://wtcindia.files.wordpress.com/2012/01/workflowactivitytransition.png?w=620&#038;h=192" alt="" width="620" height="192" /></a></li>
</ul>
<ul>
<li>define conditions (using AND / OR logic) on which these transitions will happen <a href="http://wtcindia.files.wordpress.com/2012/01/workflowactivitytransitioncondition.png"><img class="aligncenter size-full wp-image-1049" title="WorkflowActivityTransitionCondition" src="http://wtcindia.files.wordpress.com/2012/01/workflowactivitytransitioncondition.png?w=620&#038;h=201" alt="Workflow Activity Transition Condition" width="620" height="201" /></a></li>
</ul>
<ul>
<li>Workflow Editor
<ul>
<li>The workflow editor allows you to edit an existing workflow. Using right click anywhere, you can create a new node. <a href="http://wtcindia.files.wordpress.com/2012/01/workfloweditor.png"><img class="aligncenter size-full wp-image-1050" title="WorkflowEditor" src="http://wtcindia.files.wordpress.com/2012/01/workfloweditor.png?w=620&#038;h=539" alt="Workflow Editor" width="620" height="539" /></a></li>
<li>By selecting an existing node and using right click, you can manage transitions. <a href="http://wtcindia.files.wordpress.com/2012/01/workfloweditortransitions.png"><img class="aligncenter size-full wp-image-1051" title="WorkflowEditorTransitions" src="http://wtcindia.files.wordpress.com/2012/01/workfloweditortransitions.png?w=620&#038;h=563" alt="Workflow Editor Transitions" width="620" height="563" /></a></li>
</ul>
</li>
<li>Workflow Activities
<ul>
<li>This interface allows you to view currently active activities on which the logged-in user is expected to act.</li>
<li><a href="http://wtcindia.files.wordpress.com/2012/01/workflowactivity_1.png"><img class="aligncenter size-full wp-image-1052" title="WorkflowActivity_1" src="http://wtcindia.files.wordpress.com/2012/01/workflowactivity_1.png?w=620&#038;h=320" alt="" width="620" height="320" /></a></li>
</ul>
</li>
<li>Workflow Process
<ul>
<li>This window allows you to find your workflow processes and the latest status of the workflow (including its events and activities) <a href="http://wtcindia.files.wordpress.com/2012/01/workflowprocess.png"><img class="aligncenter size-full wp-image-1054" title="WorkflowProcess" src="http://wtcindia.files.wordpress.com/2012/01/workflowprocess.png?w=620&#038;h=262" alt="Workflow Process" width="620" height="262" /></a></li>
<li><a href="http://wtcindia.files.wordpress.com/2012/01/workflowmanageprocess1.png"><img class="aligncenter size-full wp-image-1056" title="WorkflowManageProcess" src="http://wtcindia.files.wordpress.com/2012/01/workflowmanageprocess1.png?w=620&#038;h=274" alt="Workflow Manage Process" width="620" height="274" /></a></li>
<li>Manage process allows you to do following</li>
</ul>
</li>
</ul>
<ol>
<li>Assign this workflow responsibility to someone else (new contact or new workflow responsible)</li>
<li>Abort the currently active workflow execution</li>
</ol>
<ul>
<li>Workflow to Client
<ul>
<li>This interface allows you to move the workflow customization to specific client</li>
<li><a href="http://wtcindia.files.wordpress.com/2012/01/workflowtoclient.png"><img class="aligncenter size-full wp-image-1057" title="WorkflowToClient" src="http://wtcindia.files.wordpress.com/2012/01/workflowtoclient.png?w=620&#038;h=256" alt="Workflow To Client" width="620" height="256" /></a></li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<p>Now let’s review the initial problem statements one-by-one:</p>
<ul>
<li><strong>(General Guideline)</strong>The business may want to help staff with standard flow, which provides overall picture of the related processes and eliminates training need of the business. Following link explains step-by-step process for creating general workflow
<ul>
<li><a href="../2012/01/02/developing-a-general-workflow-in-adempiere/">http://wtcindia.wordpress.com/2012/01/02/developing-a-general-workflow-in-adempiere/</a></li>
<li><strong>Manager’s Approval</strong> and <strong>Across Department Approval</strong>- There is a need that a document shall be worked by different set of people before it can be finally completed. The step-by-step documentation on below link will enable you to achieve
<ul>
<li><a href="http://www.adempiere.com/How_to_Configure_Dynamic_Approval_Workflow">http://www.adempiere.com/How_to_Configure_Dynamic_Approval_Workflow</a></li>
<li><strong>Completing a Document</strong>– Often business has a need to keep a document in draft status for a period and once all the entries are created and verified then the user completes the document. Following link explains the document completion workflow:
<ul>
<li><a href="http://www.adempiere.com/images/6/6d/Creation_or_workflow.pdf">http://www.adempiere.com/images/6/6d/Creation_or_workflow.pdf</a>  - initial part of this document talks about how to create basic workflow to create and complete a document.</li>
<li><strong>(Approval Based on Amount)</strong>– Below link explains how to set-up amount based approval
<ul>
<li><a href="http://www.compieresource.com/2008/04/add-approval-to-document-workflow.html#more">http://www.compieresource.com/2008/04/add-approval-to-document-workflow.html#more</a></li>
<li><strong>Forwarding and Sharing Responsibility</strong>
<ul>
<li>The responsibility can be shared by specifying a Role as a workflow responsible.</li>
<li>Also, once the activity has been fired, using Workflow Activities window, you can forward an action request to another user (as shown in below image) <a href="http://wtcindia.files.wordpress.com/2012/01/forwardactivity.png"><img class="aligncenter size-full wp-image-1058" title="ForwardActivity" src="http://wtcindia.files.wordpress.com/2012/01/forwardactivity.png?w=620&#038;h=467" alt="Forward Activity" width="620" height="467" /></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<p><strong>Reference</strong><strong></strong></p>
<ol>
<li><a href="http://www.adempiere.com/How_to_Configure_Dynamic_Approval_Workflow">http://www.adempiere.com/How_to_Configure_Dynamic_Approval_Workflow</a></li>
<li><a href="http://www.compieresource.com/2008/04/add-approval-to-document-workflow.html#more">http://www.compieresource.com/2008/04/add-approval-to-document-workflow.html#more</a></li>
<li><a href="http://www.adempiere.com/images/0/08/WFapproval.pdf">http://www.adempiere.com/images/0/08/WFapproval.pdf</a></li>
<li><a href="http://en.wikiversity.org/wiki/Adempiere_Technical_Training">http://en.wikiversity.org/wiki/Adempiere_Technical_Training</a></li>
<li>Adempiere 3.4 ERP Solutions Book</li>
<li><a href="http://wiki.compiere.com/display/docs/Workflow">http://wiki.compiere.com/display/docs/Workflow</a></li>
<li><a href="../2011/12/21/expense-claim-and-reimbursement-in-adempiere/">http://wtcindia.wordpress.com/2011/12/21/expense-claim-and-reimbursement-in-adempiere/</a></li>
<li><a href="http://www.adempiere.com/How_to_Activate_Document_Approval_Workflow">http://www.adempiere.com/How_to_Activate_Document_Approval_Workflow</a></li>
<li><a href="http://www.adempiere.com/Workflow" target="_blank">http://www.adempiere.com/Workflow</a></li>
</ol>
<p><strong>Summary</strong><strong></strong></p>
<p>As part of this article I have attempted to provide overall Workflow management in Adempiere. The workflow engine in Adempiere is one of the most powerful and important functionality that almost every business need. Interestingly, it doesn’t expect you to be technical expert to be able to define workflow for your business. At times, all you need to know is basic SQLs to be able to retrieve appropriate user ID who will be responsible for executing an active activity.</p>
<p>I hope you have enjoyed reading this blog and it helps you in making better use of Adempiere ERP.  In case you need professional assistance to be able to achieve your business need, you can always reach us by visiting our <a href="http://www.walkingtree.in/index.php?option=com_contact&amp;view=contact&amp;id=1&amp;Itemid=57">Contact Us</a> page. If you have any specific question then feel free to post the same on our <a href="http://www.walkingtree.in/forums/" target="_blank">forum </a>or the <a href="../category/services/technology-consulting/open-source/adempiere/" target="_blank">blog </a>related to your topic of concern.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtcindia.wordpress.com/1044/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtcindia.wordpress.com/1044/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtcindia.wordpress.com/1044/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtcindia.wordpress.com/1044/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtcindia.wordpress.com/1044/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtcindia.wordpress.com/1044/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtcindia.wordpress.com/1044/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtcindia.wordpress.com/1044/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtcindia.wordpress.com/1044/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtcindia.wordpress.com/1044/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtcindia.wordpress.com/1044/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtcindia.wordpress.com/1044/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtcindia.wordpress.com/1044/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtcindia.wordpress.com/1044/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=1044&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtcindia.wordpress.com/2012/01/06/managing-workflow-in-adempiere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a41f5cbbcc06ac29942d3da2f8e083ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtcindia</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflowmenu2.png" medium="image">
			<media:title type="html">WorkflowMenu</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflowsetup1.png" medium="image">
			<media:title type="html">WorkflowSetup</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflow1.png" medium="image">
			<media:title type="html">Workflow</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflowactivity.png" medium="image">
			<media:title type="html">WorkflowActivity</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflowactivitytransition.png" medium="image">
			<media:title type="html">WorkflowActivityTransition</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflowactivitytransitioncondition.png" medium="image">
			<media:title type="html">WorkflowActivityTransitionCondition</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workfloweditor.png" medium="image">
			<media:title type="html">WorkflowEditor</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workfloweditortransitions.png" medium="image">
			<media:title type="html">WorkflowEditorTransitions</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflowactivity_1.png" medium="image">
			<media:title type="html">WorkflowActivity_1</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflowprocess.png" medium="image">
			<media:title type="html">WorkflowProcess</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflowmanageprocess1.png" medium="image">
			<media:title type="html">WorkflowManageProcess</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflowtoclient.png" medium="image">
			<media:title type="html">WorkflowToClient</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/forwardactivity.png" medium="image">
			<media:title type="html">ForwardActivity</media:title>
		</media:content>
	</item>
		<item>
		<title>Developing a General Workflow in Adempiere</title>
		<link>http://wtcindia.wordpress.com/2012/01/02/developing-a-general-workflow-in-adempiere/</link>
		<comments>http://wtcindia.wordpress.com/2012/01/02/developing-a-general-workflow-in-adempiere/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 12:02:47 +0000</pubDate>
		<dc:creator>Walking Tree</dc:creator>
				<category><![CDATA[Adempiere]]></category>
		<category><![CDATA[ERP]]></category>
		<category><![CDATA[Expense Claim]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[Training]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://wtcindia.wordpress.com/?p=1019</guid>
		<description><![CDATA[This article demonstrate the simplicity of Adempiere to enable you to design different business information flow in the easiest possible ways. The flow of information enables people to visualize how the overall system works. In addition, clicking on different nodes enables you to perform specific activity, which in a way enables end user to learn ERP system quickly. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=1019&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h4>Problem Statement</h4>
<p>We often see that people provide list of windows and you are expected to remember the sequence of tasks and corresponding window to be able to do your work. Some of the popular small business software comes up with clickable landing page, which briefs about where to start and what will be the next thing to do. For a powerful ERP like Adempiere, which often comes up with several business processes, the clickable landing page approach will not be sufficient. That is where Adempiere provides you a capability to define process related General Workflow, which reduces overall training need of the business.</p>
<p>For demonstration purpose, I have considered following steps, which is a subset of overall Expense Claim and Reimbursement business process (Refer to <a href="http://wtcindia.files.wordpress.com/2011/12/expenseclaim1.png">http://wtcindia.files.wordpress.com/2011/12/expenseclaim1.png</a> for complete business process flow):</p>
<ol>
<li>Creation of Expense Type</li>
<li>Recording and Completing Expenses</li>
<li>View Expenses (to be invoiced), which will be used for Creating and Completing the Sales Order for Customer</li>
<li>View Expenses (to be reimbursed), which will be used for Creating an Account Payable Invoice for reimbursement to employee</li>
</ol>
<h4>How Do We Do this in Adempiere?</h4>
<p>Adempiere comes up with following set of windows / functionalities to enable you to manage workflow:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/workflowmenu.png"><img class="aligncenter size-full wp-image-1020" title="WorkflowMenu" src="http://wtcindia.files.wordpress.com/2012/01/workflowmenu.png?w=620" alt="Workflow Menu"   /></a>Assuming that you have rest of the system working for you, click on the “Workflow” node and create a workflow called “<strong><em>Expense Claim and Reimbursement” </em></strong>and specify “Workflow Type” as<strong><em> General</em></strong>.</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/workflow.png"><img class="aligncenter size-full wp-image-1021" title="Workflow" src="http://wtcindia.files.wordpress.com/2012/01/workflow.png?w=620&#038;h=296" alt="Workflow" width="620" height="296" /></a></p>
<p><strong>Create Nodes</strong></p>
<p>A general workflow will have one or more node, which will eventually allow you to perform certain operations.</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/workflownode.png"><img class="aligncenter size-full wp-image-1022" title="WorkflowNode" src="http://wtcindia.files.wordpress.com/2012/01/workflownode.png?w=620&#038;h=328" alt="Workflow Node" width="620" height="328" /></a></p>
<p>In order to be able to launch a window, you need to mention the specific window name. For this you need to do following:</p>
<ol>
<li>Select “User Window” as Action</li>
<li>Specify window name</li>
</ol>
<p>Similarly, you shall be able to create other nodes. For example – I have created following nodes:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/allnodes.png"><img class="aligncenter size-full wp-image-1032" title="AllNodes" src="http://wtcindia.files.wordpress.com/2012/01/allnodes.png?w=620&#038;h=100" alt="All Nodes" width="620" height="100" /></a></p>
<p>Now that you have created all the nodes that you need in your workflow, you need to define possible transitions among the nodes.</p>
<p>For example – I have defined following transitions</p>
<ol>
<li>From Expense Type to Expense Report</li>
<li>From Expense Report to Expense (to be invoiced)</li>
<li>From Expense Report to Expense (to be reimbursed)</li>
</ol>
<p><strong>Create a Menu</strong></p>
<p>Create a menu for the Workflow and put this along with the other expense related menu:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/workflowmenu1.png"><img class="aligncenter size-full wp-image-1023" title="Create Workflow Menu" src="http://wtcindia.files.wordpress.com/2012/01/workflowmenu1.png?w=620&#038;h=146" alt="Create Workflow Menu" width="620" height="146" /></a></p>
<p>Position the newly created menu at desired place in the hierarchy:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/workflowwithrelatedfunction.png"><img class="aligncenter size-full wp-image-1024" title="WorkflowWithRelatedFunction" src="http://wtcindia.files.wordpress.com/2012/01/workflowwithrelatedfunction.png?w=620" alt="Workflow With Related Function"   /></a></p>
<p><strong><span style="text-decoration:underline;">Client Movement</span></strong></p>
<p>Use The “Workflow to Client” process to make the workflow customization available to your client. By default the workflow customization at the System level, doesn’t become available to the client. The “Workflow to Client” process moves the customized workflow to the desired client.</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/clientmovement.png"><img class="aligncenter size-full wp-image-1025" title="ClientMovement" src="http://wtcindia.files.wordpress.com/2012/01/clientmovement.png?w=620" alt="Client Movement"   /></a></p>
<p><strong><span style="text-decoration:underline;">Role Assignment</span></strong></p>
<p>Once the workflow becomes available to the desired client, you can make it available for one or more role as shown in below image:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/rolesassignment.png"><img class="aligncenter size-full wp-image-1026" title="RolesAssignment" src="http://wtcindia.files.wordpress.com/2012/01/rolesassignment.png?w=620&#038;h=227" alt="Roles Assignment" width="620" height="227" /></a></p>
<p>Once you give permission for a given role, the workflow becomes available for that role as shown in below image:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/workflowavailabletoclient.png"><img class="aligncenter size-full wp-image-1027" title="WorkflowAvailabletoClient" src="http://wtcindia.files.wordpress.com/2012/01/workflowavailabletoclient.png?w=620" alt="Workflow Available to Client"   /></a></p>
<p><strong><span style="text-decoration:underline;">Accessing the workflow</span></strong></p>
<p>A completed workflow will look like below image:</p>
<p><a href="http://wtcindia.files.wordpress.com/2012/01/generalworkflow.png"><img class="aligncenter size-full wp-image-1028" title="GeneralWorkflow" src="http://wtcindia.files.wordpress.com/2012/01/generalworkflow.png?w=620&#038;h=489" alt="General Workflow" width="620" height="489" /></a></p>
<h4>References</h4>
<ul>
<li><a href="http://www.adempiere.com/How_to_Configure_Dynamic_Approval_Workflow">http://www.adempiere.com/How_to_Configure_Dynamic_Approval_Workflow</a></li>
<li><a href="http://www.adempiere.com/How_to_Activate_Document_Approval_Workflow">http://www.adempiere.com/How_to_Activate_Document_Approval_Workflow</a></li>
<li><a href="http://www.compieresource.com/2008/04/add-approval-to-document-workflow.html#more">http://www.compieresource.com/2008/04/add-approval-to-document-workflow.html#more</a></li>
<li><a href="../2011/12/21/expense-claim-and-reimbursement-in-adempiere/">http://wtcindia.wordpress.com/2011/12/21/expense-claim-and-reimbursement-in-adempiere/</a></li>
</ul>
<h4>Summary</h4>
<p>When the end user see the wholistic view of the business process and they are able to do things as they see, the training cost becomes negligible. The simplicity of Adempiere allows you to design different business data flow in the easiest possible ways and that reduces the overall training effort. After reading this article you know how to create general workflow and empower your end users to make effective use of the system.</p>
<p>I hope you have enjoyed reading this blog. In case you need professional assistance to be able to achieve your business need, you can always reach us by visiting our <a href="http://www.walkingtree.in/index.php?option=com_contact&amp;view=contact&amp;id=1&amp;Itemid=57">Contact Us</a> page. If you have any specific question then feel free to post the same on our <a href="http://www.walkingtree.in/forums/" target="_blank">forum </a>or the <a href="http://wtcindia.wordpress.com/category/services/technology-consulting/open-source/adempiere/" target="_blank">blog </a>related to your topic of concern.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtcindia.wordpress.com/1019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtcindia.wordpress.com/1019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtcindia.wordpress.com/1019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtcindia.wordpress.com/1019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtcindia.wordpress.com/1019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtcindia.wordpress.com/1019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtcindia.wordpress.com/1019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtcindia.wordpress.com/1019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtcindia.wordpress.com/1019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtcindia.wordpress.com/1019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtcindia.wordpress.com/1019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtcindia.wordpress.com/1019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtcindia.wordpress.com/1019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtcindia.wordpress.com/1019/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=1019&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtcindia.wordpress.com/2012/01/02/developing-a-general-workflow-in-adempiere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a41f5cbbcc06ac29942d3da2f8e083ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtcindia</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflowmenu.png" medium="image">
			<media:title type="html">WorkflowMenu</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflow.png" medium="image">
			<media:title type="html">Workflow</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflownode.png" medium="image">
			<media:title type="html">WorkflowNode</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/allnodes.png" medium="image">
			<media:title type="html">AllNodes</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflowmenu1.png" medium="image">
			<media:title type="html">Create Workflow Menu</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflowwithrelatedfunction.png" medium="image">
			<media:title type="html">WorkflowWithRelatedFunction</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/clientmovement.png" medium="image">
			<media:title type="html">ClientMovement</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/rolesassignment.png" medium="image">
			<media:title type="html">RolesAssignment</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/workflowavailabletoclient.png" medium="image">
			<media:title type="html">WorkflowAvailabletoClient</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2012/01/generalworkflow.png" medium="image">
			<media:title type="html">GeneralWorkflow</media:title>
		</media:content>
	</item>
		<item>
		<title>Using SMS Global (Australia) to send SMS from Adempiere based solution</title>
		<link>http://wtcindia.wordpress.com/2011/12/22/using-sms-global-australia-to-send-sms-from-adempiere-based-solution/</link>
		<comments>http://wtcindia.wordpress.com/2011/12/22/using-sms-global-australia-to-send-sms-from-adempiere-based-solution/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 16:19:56 +0000</pubDate>
		<dc:creator>Walking Tree</dc:creator>
				<category><![CDATA[Adempiere]]></category>
		<category><![CDATA[CRM]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[ERP]]></category>
		<category><![CDATA[SMS]]></category>

		<guid isPermaLink="false">http://wtcindia.wordpress.com/?p=1011</guid>
		<description><![CDATA[With increasing demand for accessing information on the mobile phone, one of our customers wanted to use Email-2-SMS service of SMS Global for receiving SMS. As part of this article, we are giving a quick overview of how you can achieve integration between SMS Global and Adempiere to meet such need.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=1011&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Problem Statement</h3>
<p>With increasing demand for accessing information on the mobile phone, one of our customer wanted to use SMS Global&#8217;s service for receiving SMS. SMS Global comes up with a feature called “EMAIL‐2‐SMS”, which allows you to send email using the mobile number of the receipients and then their SMS Gateway takes care of sending the actual SMS.</p>
<h3>How did we implement this in Adempiere?</h3>
<p>Implementing integration with SMS global was one of the easiest thing to achieve. However, if you haven’t done it before then it does look like as if you will have to “INTEGRATE” two separate applications. There few basic things that you need to keep in mind</p>
<ol>
<li>You need to register the email address with SMS Global using which you intend to send email (e.g. admin@yourdomain.com)
<ol>
<li>In case “Email‐2‐SMS service” is turned off then you need to turn this feature on</li>
<li>In case you want everyone using your domain to be able to send SMS then you may like to use wild card</li>
<li>Setup one valid email id and password on the <strong><em>client </em></strong>window of Adempiere and use that email ID for sending emails</li>
<li>Sending SMS
<ol>
<li>Ensure that email address contains complete mobile number (including country code) and use domain as “<strong><em>email.smsglobal.com</em></strong>”. For example an email address will look like “61447100250@email.smsglobal.com”.</li>
</ol>
</li>
</ol>
</li>
</ol>
<p>i.    In your application, if you don’t ask for ISD Code, then you need to append correct ISD code</p>
<p>ii.    The email address must be specified in the TO field as SMS Global ignores email addresses in CC and BCC fields</p>
<p>iii.    In case multiple recepients need to receive same SMS then you can include them in TO list by separating the email IDs using comma (,).</p>
<ol>
<li>In case you wish to send SMS to a group then you need to use <strong><em><a href="mailto:GROUPKEY@groups.smsglobal.com">GROUPKEY@groups.smsglobal.com</a>, </em></strong>where <em>GROUPKEY</em> is the keyword given for your group.</li>
<li>In case you retrieve the mobile number at run time using the context information, then use appropriate keyword processor.
<ol>
<li>We defined SMSClient (“#SMSClient#@email.smsglobal.com”) keyword to get the mobile number of client/customer at run time</li>
<li>Message body
<ol>
<li>It expect body of the SMS to be a plain text message</li>
<li>A single SMS has the limitation of being 160 characters in length. In case your email body contains more than 160 characters then it will get truncated unless you have explicitly indicated about splitting the message large message into multiple message parts if it exceeds this limit. You can make use of MAXSPLIT parameter to define the maximum number of parts.</li>
</ol>
</li>
</ol>
</li>
</ol>
<p>&nbsp;</p>
<p>Following screen shows a sample email being sent using the SMS Global integration</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/emailtosms.png"><img class="aligncenter size-full wp-image-1013" title="EmailToSMS" src="http://wtcindia.files.wordpress.com/2011/12/emailtosms.png?w=620" alt="Email To SMS"   /></a></p>
<p>&nbsp;</p>
<h3>Reference</h3>
<ul>
<li><a href="http://smsglobal.com/docs/Email-2-SMS.pdf">http://smsglobal.com/docs/Email-2-SMS.pdf</a></li>
<li><a href="http://www.smsglobal.com/en-au/support/csv.php">http://www.smsglobal.com/en-au/support/csv.php</a></li>
</ul>
<p>&nbsp;</p>
<h3>Summary</h3>
<p>As part of this article, I have given a quick overview on how to send SMS from Adempiere using SMS Global’s Email-2-SMS service. This is one of the easiest thing to achieve and this definitely enables you to keep all the stakeholders informed. Walking Tree is a leading provider of Adempiere based solution and in case you are looking for ERP implementation then please do contact us by visiting our <a href="http://www.walkingtree.in/index.php?option=com_contact&amp;view=contact&amp;id=1&amp;Itemid=57">Contact Us</a> page.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtcindia.wordpress.com/1011/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtcindia.wordpress.com/1011/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtcindia.wordpress.com/1011/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtcindia.wordpress.com/1011/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtcindia.wordpress.com/1011/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtcindia.wordpress.com/1011/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtcindia.wordpress.com/1011/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtcindia.wordpress.com/1011/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtcindia.wordpress.com/1011/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtcindia.wordpress.com/1011/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtcindia.wordpress.com/1011/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtcindia.wordpress.com/1011/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtcindia.wordpress.com/1011/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtcindia.wordpress.com/1011/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=1011&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtcindia.wordpress.com/2011/12/22/using-sms-global-australia-to-send-sms-from-adempiere-based-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a41f5cbbcc06ac29942d3da2f8e083ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtcindia</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/emailtosms.png" medium="image">
			<media:title type="html">EmailToSMS</media:title>
		</media:content>
	</item>
		<item>
		<title>Managing Expense Claim and Reimbursement in Adempiere</title>
		<link>http://wtcindia.wordpress.com/2011/12/21/expense-claim-and-reimbursement-in-adempiere/</link>
		<comments>http://wtcindia.wordpress.com/2011/12/21/expense-claim-and-reimbursement-in-adempiere/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 12:57:16 +0000</pubDate>
		<dc:creator>Walking Tree</dc:creator>
				<category><![CDATA[Adempiere]]></category>
		<category><![CDATA[Employee Care]]></category>
		<category><![CDATA[ERP]]></category>
		<category><![CDATA[Expense]]></category>
		<category><![CDATA[Expense Claim]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[Reimbursement]]></category>

		<guid isPermaLink="false">http://wtcindia.wordpress.com/?p=997</guid>
		<description><![CDATA[This article will enable you to understand how expense recording, expense reimbursement and expense claim from your customer/vendor can be managed using Adempiere.  Of course there are few things which you need to setup as part of the implementation effort to be able to use it more effectively. But those are minor things as compared to what Adempiere provides off-the-shelf.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=997&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Business Need</h3>
<p>An expense or expenditure is an outflow of money (or asset) to another person or group or company to pay for an item or service. This either eats up the asset or increase liability of the business. There are different types of expenses that business has to account for (Operating Expense, Financial Expense and Capital Expense ). Some of the expenses are prepaid (short term asset – e.g. insurance) and some of the expense are committed expenses (liability – for example bonus announcement, payables), while others are counted as immediate expense. While business often get bills for most of the expenses and by creating vendor invoice they settle the due payments, there will be certain expenses which will be incurred by the employee for which either they can produce the bill or they may not be able to produce any bill. The business often need a way to manage such expnese claim recording and corresponding reimbursement &amp; claim.</p>
<p>Following diagram represents the typical process involved in expense claim management</p>
<div id="attachment_1008" class="wp-caption aligncenter" style="width: 630px"><a href="http://wtcindia.files.wordpress.com/2011/12/expenseclaim1.png"><img class="size-full wp-image-1008" title="ExpenseClaim" src="http://wtcindia.files.wordpress.com/2011/12/expenseclaim1.png?w=620&#038;h=587" alt="" width="620" height="587" /></a><p class="wp-caption-text">Expense Claim</p></div>
<h3>How Do we do this in Adempiere?</h3>
<p>Adempiere allows you to manage expense in general and expense claim in particular by allowing you</p>
<ul>
<li>to define Expense Type and associate corresponding accounting information for posting reasons</li>
<li>record expenses against products as well as expense type</li>
<li>to general account payable invoices for reimbursement to employee and</li>
<li>to generate account receivable invoice to other business partners</li>
</ul>
<p><strong>Define Expense Type</strong></p>
<p>The first thing you need to do is to list out the expense types that you have in your company and create corresponding entry in your ERP System.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/expensetype.png"><img class="aligncenter size-full wp-image-999" title="ExpenseType" src="http://wtcindia.files.wordpress.com/2011/12/expensetype.png?w=620&#038;h=177" alt="Expense Type" width="620" height="177" /></a></p>
<p>The “Invoiced” tickbox allows you to specify if this expense will be invoiced to a customer.</p>
<p><strong><span style="text-decoration:underline;">Important Note</span></strong></p>
<p>-          You will see that creation of expense type has also created a product entry with Product Type as “<strong><em>Expense Type</em></strong>”. The system allows you to keep only one product per expense type and this product will be used at the time of reporting expense against this product type. This often confuse business when they start seeing expense type product getting mixed with their main products. If required, You shall change your product window to ensure that your customer doesn’t get confused.</p>
<p>-          Rest of the properties (e.g. Product Category, Tax Category, UOM, Revenue Recognition Principle, etc.) of this product remains similar to the standard products. Also, like other products</p>
<ul>
<li>the price tab allows you to associate this product with one or more price lists.</li>
<li>The accounting tab allows you to define / override financial account information against which you wish to post the transaction.</li>
</ul>
<h4>Record Expenses</h4>
<p>Since you have already configured Expense Type, now you are all set to use them while recording your expense. Adempiere has “Expense Report” window, which allows you to capture expense detail.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/recordexpense.png"><img class="aligncenter size-full wp-image-1000" title="RecordExpense" src="http://wtcindia.files.wordpress.com/2011/12/recordexpense.png?w=620&#038;h=202" alt="Record Expense" width="620" height="202" /></a></p>
<p><strong><span style="text-decoration:underline;">Important Note</span></strong></p>
<p><em>If you are familiar with Sales Order or Purchase Order then you will notice two important comman things</em></p>
<p>-          <em>Selection of Business Partner (this guy must be an employee with an Address and Contact detail defined in the system)</em></p>
<p>-          <em>Selection of Price list based on which the cost of products (or expense) will be automatically pulled-in</em></p>
<p>-          <em>The warehouse which will be impacted after the completion of this transaction</em></p>
<p>-          <em>The approved flag indicates if the recorded expense has been approved or not. By default, once you complete the transaction it gets marked as approved. However, if you have a situation where expense will be entered by someone and approved by someone else then you need to setup workflow accordingly.</em></p>
<p>Enter your actual expenses on the “Report Line” tab. This tab allows you to enter all your expenses and then complete the same.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/expensereportline.png"><img class="aligncenter size-full wp-image-1001" title="ExpenseReportLine" src="http://wtcindia.files.wordpress.com/2011/12/expensereportline.png?w=620&#038;h=341" alt="Expense Report Line" width="620" height="341" /></a></p>
<p><strong><span style="text-decoration:underline;">Important Note</span></strong></p>
<p>-          <em>You can link expense detail with business partner, project and campaign to be able to track expenses for specific aspect of the business.</em></p>
<p>-          <em>By ticking “Time Report” tick box you can indicate if the line contains only time information (and there is no expense amount mentioned as such). </em></p>
<p>-          <em>By ticking “Invoiced” check box you can indicate if this expense line will be invoiced to concerned business partner</em></p>
<ul>
<li><em>If you have selected this invoice then you must supply business partner information. When you raise Sales Order from Expense (using Create Sales Order from Expense process), the system will use this information to create Sales Order with document type “On Credit Order”</em></li>
<li><em>The expenses to be invoiced can be seen on <strong>“Expenses (to be invoiced)”</strong> window</em></li>
<li><em>Optionally you can also specify the invoiced amount (if it is different from the expense amount)</em></li>
</ul>
<p>-          <em>Product assignment allows you to select any product available in the system. </em></p>
<ul>
<li><em>(wish list) If you intend to use this window primarily for general expense capturing then you shall apply required filter and provide filtered list of expense types (products) to the business. </em></li>
<li><em>(wish list)Many times we have customer asking us to link these expense types with budget to allow them have more control on expenses.</em></li>
</ul>
<p>Once you are done with creation of all the lines, you are ready to complete the expense document. Go ahead and click on “Complete” button.</p>
<p>In addition to recording the expenses, Adempiere allows you to do following from the expenses</p>
<p>-          Create AP Invoice for Expense reimbursement</p>
<p>-          Create Sales Order for Customers (On Credit Order)</p>
<p>-          Create AR Invoice for business partners</p>
<h4>Create Sales Order from Expense</h4>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/createsalesorder.png"><img class="aligncenter size-full wp-image-1002" title="CreateSalesOrder" src="http://wtcindia.files.wordpress.com/2011/12/createsalesorder.png?w=620&#038;h=149" alt="Create Sales Order" width="620" height="149" /></a></p>
<p>After successful execution of the process, you get to see output similar to following</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/createsalesordercompleted.png"><img class="aligncenter size-full wp-image-1003" title="CreateSalesOrderCompleted" src="http://wtcindia.files.wordpress.com/2011/12/createsalesordercompleted.png?w=620&#038;h=115" alt="" width="620" height="115" /></a></p>
<p>Now that you have sales order already created, you can review and complete the order. Notice that by default the order line contains the amount that you have put in the field “Expense Amount” on expense line. If you have a need that the orderline shall contain different price than the expense amount then that shall be mentioned in the field the <strong><em>“Invoice Price”</em></strong> field of the expense line. Once you are done with review of Sales Order document, click on Prepare to get the action list and select Complete option to complete the document. Following image shows the completed order:</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/salesorder.png"><img class="aligncenter size-full wp-image-1004" title="SalesOrder" src="http://wtcindia.files.wordpress.com/2011/12/salesorder.png?w=620&#038;h=584" alt="" width="620" height="584" /></a></p>
<p>After completing the sales order the system generates shipment and invoice, which you can see in the status bar (as shown below):</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/salesordercompletionstatus.png"><img class="aligncenter size-full wp-image-1005" title="SalesOrderCompletionStatus" src="http://wtcindia.files.wordpress.com/2011/12/salesordercompletionstatus.png?w=620&#038;h=32" alt="" width="620" height="32" /></a></p>
<p><strong><span style="text-decoration:underline;">Important Note</span></strong></p>
<ul>
<li>Notice that the order type is “On Credit Order”. After completion of this order the system automatically creates and completes following document
<ul>
<li>Shipment Document</li>
<li>Invoice Document</li>
<li>The <strong>Expense (to be invoiced)</strong> window shows all the expense line which has been marked as “Invoiced” and related expense report is in processed status, but sales order has not been created for them.</li>
<li>The <strong>Expense (to be reimbursed)</strong>lists expense items for the business partner on the expense header where the expense lines were not invoiced yet (i.e. AP Invoice has not been generated for reimbursement to the employee).
<ul>
<li>You can generate AP Invoice for an employee by using “<strong>Create AP Expenses Invoice</strong>” process</li>
</ul>
</li>
</ul>
</li>
</ul>
<h4>AP Expense Invoice Process</h4>
<p>The AP Expense Invoice process allows you to generate account payable invoices for the employee (reimbursement calculation).</p>
<p><strong><span style="text-decoration:underline;">Important Note</span></strong></p>
<p>Typically when business thinks of reimbursement, they do need a way to approve the amount being claimed by the employee. Sometimes the business may approve lesser amount than the claimed amount.</p>
<h4>Accounting Facts</h4>
<p>Open the generated invoice and click on Post button to view the account posting.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/accountingfacts.png"><img class="aligncenter size-full wp-image-1006" title="AccountingFacts" src="http://wtcindia.files.wordpress.com/2011/12/accountingfacts.png?w=620&#038;h=145" alt="" width="620" height="145" /></a></p>
<h3>Reference</h3>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Expense">http://en.wikipedia.org/wiki/Expense</a></li>
<li><a href="http://www.adempiere.com/ManPageW_ExpenseReport">http://www.adempiere.com/ManPageW_ExpenseReport</a></li>
<li><a href="http://www.adempiere.com/Sales_Processes">http://www.adempiere.com/Sales_Processes</a></li>
<li><a href="http://www.walkingtree.in/forums/showthread.php?552-Expenses-%28not-reimbursed%29-window-shows-confusing-result&amp;p=1147#post1147">http://www.walkingtree.in/forums/showthread.php?552-Expenses-%28not-reimbursed%29-window-shows-confusing-result&amp;p=1147#post1147</a></li>
</ul>
<h3>Summary</h3>
<p>This article has enabled you to understand how expense recording, expense reimbursement and expense claim from your customer/vendor can be managed using Adempiere. Of course there are few things which you need to setup as part of the implementation to be able to use it more effectively. For example – by default you don’t have expense review and approval mechanism in place. Also, some times people want to have approval control at expense line level.</p>
<p>I hope you have enjoyed reading this blog. In case you need professional assistance to be able to achieve your business need. You can always reach us by visiting our <a href="http://www.walkingtree.in/index.php?option=com_contact&amp;view=contact&amp;id=1&amp;Itemid=57">Contact Us</a> page. If you have any specific question then feel free to post the same on our <a href="http://www.walkingtree.in/forums/" target="_blank">forum </a>or the <a href="http://wtcindia.wordpress.com/category/services/technology-consulting/open-source/adempiere/" target="_blank">blog </a>related to your topic of concern.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtcindia.wordpress.com/997/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtcindia.wordpress.com/997/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtcindia.wordpress.com/997/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtcindia.wordpress.com/997/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtcindia.wordpress.com/997/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtcindia.wordpress.com/997/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtcindia.wordpress.com/997/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtcindia.wordpress.com/997/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtcindia.wordpress.com/997/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtcindia.wordpress.com/997/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtcindia.wordpress.com/997/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtcindia.wordpress.com/997/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtcindia.wordpress.com/997/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtcindia.wordpress.com/997/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=997&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtcindia.wordpress.com/2011/12/21/expense-claim-and-reimbursement-in-adempiere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a41f5cbbcc06ac29942d3da2f8e083ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtcindia</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/expenseclaim1.png" medium="image">
			<media:title type="html">ExpenseClaim</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/expensetype.png" medium="image">
			<media:title type="html">ExpenseType</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/recordexpense.png" medium="image">
			<media:title type="html">RecordExpense</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/expensereportline.png" medium="image">
			<media:title type="html">ExpenseReportLine</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/createsalesorder.png" medium="image">
			<media:title type="html">CreateSalesOrder</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/createsalesordercompleted.png" medium="image">
			<media:title type="html">CreateSalesOrderCompleted</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/salesorder.png" medium="image">
			<media:title type="html">SalesOrder</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/salesordercompletionstatus.png" medium="image">
			<media:title type="html">SalesOrderCompletionStatus</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/accountingfacts.png" medium="image">
			<media:title type="html">AccountingFacts</media:title>
		</media:content>
	</item>
		<item>
		<title>Managing Material Receipt in Adempiere</title>
		<link>http://wtcindia.wordpress.com/2011/12/15/managing-material-receipt-in-adempiere/</link>
		<comments>http://wtcindia.wordpress.com/2011/12/15/managing-material-receipt-in-adempiere/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 07:15:50 +0000</pubDate>
		<dc:creator>Walking Tree</dc:creator>
				<category><![CDATA[Adempiere]]></category>
		<category><![CDATA[Confirmation]]></category>
		<category><![CDATA[Document Type]]></category>
		<category><![CDATA[ERP]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[Material Receipt]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Purchase Entry]]></category>

		<guid isPermaLink="false">http://wtcindia.wordpress.com/?p=975</guid>
		<description><![CDATA[While it is pretty much standard to order items through purchase order and receive material through material receipt process, the off-the-shelf Adempiere solution looks a bit tricky for the beginners from the perspective of receiving the material and putting the checked / verified material into the inventory. As part of this article we intend to document the overall business expectation, how Adempiere meets those expectations.  This article primarily covers material receipt for purchase order or direct purchase. There are few other processes, which lead to material receipt in a warehouse. Some of such processes are material return from the customer and the transfer from one warehouse into other warehouse. They are not included in the scope of this article.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=975&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Problem Statement</h3>
<p>While it is pretty much standard to order items through purchase order and receive material through material receipt process, the off-the-shelf Adempiere solution looks a bit tricky for the beginners from the perspective of receiving the material and putting the checked / verified material into the inventory. As part of this article we intend to document the overall business expectation, how Adempiere meets those expectations.</p>
<p><strong>Overall Workflow</strong></p>
<p>Following diagram depicts the overall flow involved while receiving an inbound material (including customer return and transfer) in a warehouse.<strong>  <a href="http://wtcindia.files.wordpress.com/2011/12/purchaseentry.png"><img class="aligncenter size-full wp-image-976" title="PurchaseEntry" src="http://wtcindia.files.wordpress.com/2011/12/purchaseentry.png?w=620&#038;h=653" alt="Material Receipt Flow" width="620" height="653" /></a></strong></p>
<p>Typically this is what happens during this process</p>
<ol>
<li>Business places an order (purchase or transfer) for procuring items into a warehouse</li>
<li>The supplier delivers the items (There will be many intermediate processes involved here, before the item gets delivered at the Warehouse. We will talk about that in separate article)</li>
<li>The business enters all the material entry into Material Receipt. If the business has already received invoice (or they have a policy that the different person / department will inspect the items than the one who receives material) then they enter everything before deciding on the quality of the items. Depending on quality they quantify certain items as scrap and accept remaining items as valid item.</li>
<li>The designated person reviews the received items and categorize items as accepted and scrap and confirms the receipt</li>
<li>The items become available in the inventory</li>
<li>The business creates Invoice (Vendor) in the system</li>
<li>Settles the Account Payable with the vendor</li>
</ol>
<h3>How Does it work in Adempiere?</h3>
<p><strong><span style="text-decoration:underline;">Create a Purchase Order</span></strong></p>
<p>Create a purchase order by adding the required order line and complete the order document.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/purchaseorder.png"><img class="aligncenter size-full wp-image-977" title="PurchaseOrder" src="http://wtcindia.files.wordpress.com/2011/12/purchaseorder.png?w=620&#038;h=504" alt="Purchase Order" width="620" height="504" /></a></p>
<p><strong><span style="text-decoration:underline;">Create Material Receipt</span></strong></p>
<ol>
<li>Select the supplier used during the purchase order</li>
<li>Create receipt line by clicking on Create Lines From button</li>
</ol>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/materialreceipt.png"><img class="aligncenter size-full wp-image-978" title="MaterialReceipt" src="http://wtcindia.files.wordpress.com/2011/12/materialreceipt.png?w=620&#038;h=448" alt="Material Receipt" width="620" height="448" /></a></p>
<ol>
<li>Select the order for which you have received material</li>
<li>Select one or more items from this order and modify quantity as per the received quantity (you can modify this later as well)</li>
</ol>
<div id="attachment_979" class="wp-caption aligncenter" style="width: 630px"><a href="http://wtcindia.files.wordpress.com/2011/12/materialreceiptlinesfrom.png"><img class="size-full wp-image-979" title="MaterialReceiptLinesFrom" src="http://wtcindia.files.wordpress.com/2011/12/materialreceiptlinesfrom.png?w=620&#038;h=296" alt="" width="620" height="296" /></a><p class="wp-caption-text">Material Receipt Lines From</p></div>
<p>Note that you can receive material of same Purchase Order multiple times (partial delivery) and you can also receive material from multiple purchase order in the same material receipt.</p>
<p>Alternately, you can also create receipt line from “Receipt Line” tab by clicking on the new button on toolbar enter the quantity detail at the material receipt line:</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/materialreceiptlines.png"><img class="aligncenter size-full wp-image-980" title="MaterialReceiptLines" src="http://wtcindia.files.wordpress.com/2011/12/materialreceiptlines.png?w=620&#038;h=250" alt="Material Receipt Lines" width="620" height="250" /></a></p>
<p>Once you are done with creation of receipt line, go to Material Receipt window and click on “Create Confirmation” button to create confirmation lines.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/confirmationtype.png"><img class="aligncenter size-full wp-image-981" title="ConfirmationType" src="http://wtcindia.files.wordpress.com/2011/12/confirmationtype.png?w=620" alt="Confirmation Type"   /></a></p>
<p>Following default confirmation type are supplied off-the-shelf</p>
<p>-       <strong>Customer Confirmation</strong> (SO) – Shall be created when you receive confirmation from the customer regarding acceptance of the quantity being shipped.</p>
<p>-       <strong>Drop Ship Confirm </strong>(Useful for Drop Ship Orders – PO / SO) – As of 3.60, this functionality is not (fully) implemented in Adempiere.</p>
<p>-       <strong>Pick/QA Confirm</strong> (often PO) – This is required before shipment when the document type has “<strong><em>Pick/QA Confirmation</em></strong>” is ticked on the Document Type window of the associated document type. For example if this “<strong><em>Pick/QA Confirmation</em></strong>” is selected for Purchase Order document type then you must create this before you create a Receipt Confirmation record.</p>
<p>-       <strong>Ship / Receipt Confirm</strong> (SO / PO) – This is required for processing a shipment if the document type indicates “<strong><em>Ship/Receipt Confirmation</em></strong>” is ticked for the associated document type (e.g. MM Customer Return)</p>
<p>-       <strong>Vendor Confirmation</strong> (PO) &#8211; Shall be created when you receive confirmation from the vendor regarding acceptance of the quantity being shipped to the business.</p>
<p>For the standard material receipt, I have following document types setting:</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/documenttype.png"><img class="aligncenter size-full wp-image-982" title="DocumentType" src="http://wtcindia.files.wordpress.com/2011/12/documenttype.png?w=620&#038;h=321" alt="Document Type" width="620" height="321" /></a></p>
<p>This means that I really don’t need to go through <strong>Pick/QA Confirm or Ship / Receipt Confirm</strong>. I can directly go ahead and complete material receipt. However, when you select these flags and try to complete the receipt without completing corresponding confirmation then you will get below warning:</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/ship_receipt.png"><img class="aligncenter size-full wp-image-983" title="Ship_Receipt" src="http://wtcindia.files.wordpress.com/2011/12/ship_receipt.png?w=620" alt="Ship / Receipt Confirmation Warning"   /></a></p>
<p>At the time of completion of material receipt the system automatically generated “Pick/QA Confirm” Confirmation Type.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/ship_receipt_confirm.png"><img class="aligncenter size-full wp-image-984" title="Ship_Receipt_Confirm" src="http://wtcindia.files.wordpress.com/2011/12/ship_receipt_confirm.png?w=620&#038;h=199" alt="Ship/Receipt Confirmation Document" width="620" height="199" /></a></p>
<p>Let’s review the confirmation line and complete the confirmation document.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/ship_receipt_confirmation_line.png"><img class="aligncenter size-full wp-image-985" title="Ship_Receipt_Confirmation_Line" src="http://wtcindia.files.wordpress.com/2011/12/ship_receipt_confirmation_line.png?w=620&#038;h=186" alt="Ship/Receipt Confirmation Line" width="620" height="186" /></a></p>
<p><em>Note that the system allows you to capture <strong>Scrapped Quantity</strong>, which is used to Create Difference Document.</em></p>
<p>Following image shows a completed confirmation document.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/cpmpleted_ship_receipt_confirm.png"><img class="aligncenter size-full wp-image-986" title="Cpmpleted_Ship_Receipt_Confirm" src="http://wtcindia.files.wordpress.com/2011/12/cpmpleted_ship_receipt_confirm.png?w=620&#038;h=232" alt="Cpmpleted Ship/Receipt Confirmation Document" width="620" height="232" /></a></p>
<p>Let’s try to complete the material receipt again. It gives following warning:</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/ship_receipt_confirm_warn.png"><img class="aligncenter size-full wp-image-987" title="Ship_Receipt_Confirm_Warn" src="http://wtcindia.files.wordpress.com/2011/12/ship_receipt_confirm_warn.png?w=620" alt="Ship/Receipt Confirmation Warning"   /></a></p>
<p>Remember that we initially talked about ticking the &#8220;Pick/QA Confirmation&#8221; and &#8220;Ship/Receipt Confirmation&#8221; check boxes, which were deselected by default. Hence the warning was expected.</p>
<p>Now complete the Confirmation with Confirmation Type “Ship/Receipt Confirm”.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/ship_receipt_confirm_sr.png"><img class="aligncenter size-full wp-image-988" title="Ship_Receipt_Confirm_SR" src="http://wtcindia.files.wordpress.com/2011/12/ship_receipt_confirm_sr.png?w=620&#038;h=269" alt="Ship/Receipt Confirmation Document" width="620" height="269" /></a></p>
<p>Now you are ready to complete your material receipt and after completion it looks like as follows:</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/cpmpleted_materialreceipt.png"><img class="aligncenter size-full wp-image-989" title="Cpmpleted_MaterialReceipt" src="http://wtcindia.files.wordpress.com/2011/12/cpmpleted_materialreceipt.png?w=620&#038;h=362" alt="Cpmpleted Material Receipt" width="620" height="362" /></a></p>
<p>Verify your inventory to ensure that item has really reached your inventory</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/productinfo.png"><img class="aligncenter size-full wp-image-990" title="ProductInfo" src="http://wtcindia.files.wordpress.com/2011/12/productinfo.png?w=620&#038;h=181" alt="Product Information" width="620" height="181" /></a></p>
<p>Also, you can create your vendor invoice from material receipt (by clicking on the Generate Invoice from Receipt button) and after reviewing the invoice, you can complete the same.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/receiptinvoice.png"><img class="aligncenter size-full wp-image-991" title="ReceiptInvoice" src="http://wtcindia.files.wordpress.com/2011/12/receiptinvoice.png?w=620&#038;h=519" alt="Invoice from Material Receipt" width="620" height="519" /></a></p>
<p>After completing the invoice document, you can view following posting details (I have automatic account posting on):</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/receiptinvoiceposting.png"><img class="aligncenter size-full wp-image-992" title="ReceiptInvoicePosting" src="http://wtcindia.files.wordpress.com/2011/12/receiptinvoiceposting.png?w=620&#038;h=209" alt="Receipt Invoice Posting" width="620" height="209" /></a></p>
<h3>References</h3>
<p>-       <a href="http://www.adempiere.com/ManPageW_ShipReceiptConfirm">http://www.adempiere.com/ManPageW_ShipReceiptConfirm</a></p>
<p>-       <a href="http://www.adempiere.com/ManPageW_MaterialReceipt">http://www.adempiere.com/ManPageW_MaterialReceipt</a></p>
<p>-       <a href="http://help.sap.com/printdocu/core/print46c/en/data/pdf/LEWE/LEWE.pdf">http://help.sap.com/printdocu/core/print46c/en/data/pdf/LEWE/LEWE.pdf</a></p>
<p>-       <a href="http://www.adempiere.com/ManPageW_DocumentType">http://www.adempiere.com/ManPageW_DocumentType</a></p>
<h3>Summary</h3>
<p>In this article you have seen how Adempiere manages your Material Receipts process. In addition, I have also covered basics of placing a purchase order and invoicing to ensure that you get the complete picture. There are few other processes, which lead to material receipt in a warehouse. Some of such processes are material return from the customer and the transfer from one warehouse into other warehouse. I have kept them out of this article.</p>
<p>I hope this write-up helps you in making better use of Adempiere. In case you have further queries regarding Adempiere training, consulting, development then do visit our <a title="Contact Us" href="http://www.walkingtree.in/index.php?option=com_contact&amp;view=contact&amp;id=1&amp;Itemid=57"><strong>contact us</strong></a> page.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtcindia.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtcindia.wordpress.com/975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtcindia.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtcindia.wordpress.com/975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtcindia.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtcindia.wordpress.com/975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtcindia.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtcindia.wordpress.com/975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtcindia.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtcindia.wordpress.com/975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtcindia.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtcindia.wordpress.com/975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtcindia.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtcindia.wordpress.com/975/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=975&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtcindia.wordpress.com/2011/12/15/managing-material-receipt-in-adempiere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a41f5cbbcc06ac29942d3da2f8e083ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtcindia</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/purchaseentry.png" medium="image">
			<media:title type="html">PurchaseEntry</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/purchaseorder.png" medium="image">
			<media:title type="html">PurchaseOrder</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/materialreceipt.png" medium="image">
			<media:title type="html">MaterialReceipt</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/materialreceiptlinesfrom.png" medium="image">
			<media:title type="html">MaterialReceiptLinesFrom</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/materialreceiptlines.png" medium="image">
			<media:title type="html">MaterialReceiptLines</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/confirmationtype.png" medium="image">
			<media:title type="html">ConfirmationType</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/documenttype.png" medium="image">
			<media:title type="html">DocumentType</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/ship_receipt.png" medium="image">
			<media:title type="html">Ship_Receipt</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/ship_receipt_confirm.png" medium="image">
			<media:title type="html">Ship_Receipt_Confirm</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/ship_receipt_confirmation_line.png" medium="image">
			<media:title type="html">Ship_Receipt_Confirmation_Line</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/cpmpleted_ship_receipt_confirm.png" medium="image">
			<media:title type="html">Cpmpleted_Ship_Receipt_Confirm</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/ship_receipt_confirm_warn.png" medium="image">
			<media:title type="html">Ship_Receipt_Confirm_Warn</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/ship_receipt_confirm_sr.png" medium="image">
			<media:title type="html">Ship_Receipt_Confirm_SR</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/cpmpleted_materialreceipt.png" medium="image">
			<media:title type="html">Cpmpleted_MaterialReceipt</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/productinfo.png" medium="image">
			<media:title type="html">ProductInfo</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/receiptinvoice.png" medium="image">
			<media:title type="html">ReceiptInvoice</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/receiptinvoiceposting.png" medium="image">
			<media:title type="html">ReceiptInvoicePosting</media:title>
		</media:content>
	</item>
		<item>
		<title>Financial Reporting in Adempiere</title>
		<link>http://wtcindia.wordpress.com/2011/12/07/financial-reporting-in-adempiere/</link>
		<comments>http://wtcindia.wordpress.com/2011/12/07/financial-reporting-in-adempiere/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 08:39:45 +0000</pubDate>
		<dc:creator>Walking Tree</dc:creator>
				<category><![CDATA[Adempiere]]></category>
		<category><![CDATA[Balance Sheet]]></category>
		<category><![CDATA[Financial Report]]></category>
		<category><![CDATA[Income Statement]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[Report Column]]></category>
		<category><![CDATA[Report Line]]></category>

		<guid isPermaLink="false">http://wtcindia.wordpress.com/?p=965</guid>
		<description><![CDATA[While Adempiere comes up with powerful way of managing various financial reports, understanding and modifying these reports become tricky at times. Since business may need to add chart of accounts at run time, it becomes imperative for them to be able to include such accounts in financial reports. The purpose of this article is to enable business to be able to manage their financial reports more effectively.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=965&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><em>Problem Statement</em></strong></p>
<p>While Adempiere comes up with powerful way of managing various financial reports, understanding and modifying these reports become tricky at times. Since business may need to add chart of accounts at run time, it becomes imperative for them to be able to include such accounts in financial reports. The purpose of this article is to enable business to be able to manage their financial reports more effectively.</p>
<h4>Quick Overview on Financial Statements</h4>
<p>Financial reports are formal records of a business&#8217; financial activities. Often business need following financial reports</p>
<ul>
<li>Balance Sheets</li>
<li>Profit and Loss Statements</li>
<li>Cash Flow Statement</li>
</ul>
<p>These reports have two dimension and they are heavily dependent on the Chart of Accounts, which often differs for different company (unless companies always run with default account settings!).</p>
<h5><strong><em>Balance Sheet</em></strong></h5>
<p>When it comes to balance sheet, a standard company balance sheet has three parts and often business expect to see their subtotals</p>
<ul>
<li>Assets
<ul>
<li>Current Assets</li>
<li>Fixed Assets</li>
<li>Liabilities</li>
<li>Ownership equity.</li>
</ul>
</li>
</ul>
<p>Also, the balance sheet is expected to respect the rule “<strong>Total Asset = Owner’s Equity + Total Liability</strong>”.</p>
<p>Two formats of balance sheet are very popular</p>
<ol>
<li>The columnar report showing balance of previous year as well as current year</li>
<li>Side-by-side report where assets are shown on the left side and liability &amp; owner’s equity are shown on the right side. The totals of assets and total of liability and equity are shown in the bottom.</li>
</ol>
<p>By default Adempiere supports the first one.</p>
<p><strong><em>Profit &amp; Loss Statement</em></strong></p>
<p>This is a company&#8217;s financial statement that indicates how the revenue is transformed into the net income. It displays the revenues recognized for a specific period, and the cost and expenses charged against these revenues, including write-offs and taxes. There are two types of P&amp;L statements</p>
<ol>
<li>Single Step P &amp; L &#8211; totaling revenues and subtracting expenses to find the bottom line</li>
<li>Multiple step P &amp; L – totaling and subtotaling at various level and finally deriving the bottom line</li>
</ol>
<p>Adempiere allows you to be able to configure both these format.</p>
<p><strong><em>Cash Flow Statement</em></strong></p>
<p>The cash flow statement is concerned with the flow of cash in (receipt) and cash out (payment) of the business. You often record the offset accounts against which the payments / receipt has happened.</p>
<p><strong>Financial Reporting Using Adempiere</strong></p>
<p>Adempiere provides you following interfaces to create financial reports</p>
<ol>
<li><strong>Report Line Set</strong> &#8211; determines which lines are printed in a Financial Report</li>
<li><strong>Report </strong><strong>Column Set</strong> &#8211; identifies the columns used in a Financial Report</li>
<li><strong>Reporting Hierarchy</strong> &#8211; Reporting Hierarchy allows you to select different Hierarchies/Trees for the report. Accounting Segments like Organization, Account, Product may have several hierarchies to accommodate different views on the business</li>
<li><strong>Report Cube</strong> – allows you to define user customizable &#8220;materialized view&#8221; of the accounting fact table. Too much data into accounting fact table slows down the reporting process significantly. The pre-calculated &amp; summarized (at period level) values in this cube facilitates fast processing for reports. This interface allows you to define multiple cubes depending on the desired dimensions and calendar.</li>
<li><strong>Recalculate Cube</strong> – This interface is used to delete the old summary and create updated summary in the cube.</li>
<li><strong>Financial Report</strong> – The interface to build the actual financial report using concepts like Report Line, Report Column, Report Cube and Jasper Reports</li>
</ol>
<h3>Deep Dive</h3>
<h4>Financial Report</h4>
<p>You use this window to create and run financial reports (the reports based on chart of accounts). Using this window you can link a report with the “Report Line Set” and “Report Column Set”. Depending on the role settings the user can update the values of Report Line Set &amp; Report Column Set to see different view of the same report.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/financialreport.png"><img class="aligncenter size-full wp-image-967" title="FinancialReport" src="http://wtcindia.files.wordpress.com/2011/12/financialreport.png?w=620&#038;h=238" alt="Financial Report" width="620" height="238" /></a></p>
<p>While I will discuss report line set and column set later, it is important to know about following fields</p>
<ul>
<li>The Report Cube is an optional parameter which allows you to configure the Report Cube to be used. If selected, pre-summarized data is obtained from the cube. If empty, the report will be generated running directly based on accounting fact table.</li>
<li>List Sources check box allows you to indicate if the sources of the summary data shall be listed or not</li>
<li>List Transactions checkbox allows you to indicate if the transactions associated with the source line shall be listed or not</li>
</ul>
<h4>Report Line Set</h4>
<p>The report line set allows you to define the lines that will be displayed in the report. The Copy Lines button allows you to select an existing report line and copy their lines in the current report line. This is specifically useful when you may need to add / delete few fields.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/repostlineset.png"><img class="aligncenter size-full wp-image-968" title="ReportLineSet" src="http://wtcindia.files.wordpress.com/2011/12/repostlineset.png?w=620&#038;h=127" alt="" width="620" height="127" /></a></p>
<p>On the report line you will be able to specify the line item that will appear on the report.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/reportline.png"><img class="aligncenter size-full wp-image-969" title="ReportLine" src="http://wtcindia.files.wordpress.com/2011/12/reportline.png?w=620&#038;h=211" alt="" width="620" height="211" /></a></p>
<p>Important information on this tab:</p>
<ol>
<li>Line Type – allows you to define if the line item is a Segment Value or Calculation.</li>
</ol>
<ul>
<li>Segment Value
<ul>
<li>Posting Type – indicates the type of amount involved in the transaction (for example if the transaction is a commitment for payment or receipt or was it an actual payment or receipt). Often following posting types are involved:
<ul>
<li>Actual (e.g. Payment Received / Made, Down Payment) – In case the transaction is document controlled then you can only use the <strong>Actual </strong>posting type to post the transaction.</li>
<li>Commitment (e.g. Purchase Order, Down Payment Request, Invoice Receipt/Issue)</li>
<li>Budget &#8211; If you want to define budget for certain department or activity so that you can track and compare with actual at later stage then you use posting type as &#8220;Budget&#8221;</li>
<li>Reservation – Often applicable when you want to reserve certain inventory items for sales or production purpose</li>
<li>Statistical – Often used during asset transfer.</li>
<li>Amount Type &#8211; This value is often left blank. Following amount types are supported:
<ul>
<li>Quantity (accounted sign) &#8211; The &#8220;accounted sign&#8221; always returns DR-CR</li>
<li> Quantity (expected sign) &#8211; “expected sign&#8221; adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element</li>
<li>Credit Only</li>
<li>Debit Only</li>
<li>Balance (expected sign) -  “expected sign&#8221; adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element</li>
<li>Balance (accounted sign) – The &#8220;accounted sign&#8221; always returns DR-CR.</li>
<li>Period Type &#8211; This value is often left blank. Following period types are supported
<ul>
<li>Period</li>
<li>Year</li>
<li>Total</li>
<li>Natural &#8211; In case you select Natural then Year for P &amp; L accounts and Total for Balance Sheet accounts will be considered.</li>
<li>Calculation
<ul>
<li>Operations
<ul>
<li>By default system comes up with following operations</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<ol>
<li>Add (Op1 + Op2)</li>
<li>Add Range (Op1 to Op2)</li>
<li>Percentage (Op1 of Op2)</li>
<li>Subtract (Op1 – Op2)</li>
</ol>
<ul>
<li>In case you have a need to make use of more than two operands then you can combine the lines created using above operands to fulfill your need. For example if there is a need for Op1 + Op2 + Op3 then you can define one line as trl1 = Op1 + Op2 and the final line as frl = trl1 + Op3. One thing you may need to remember is that – in case you don’t wish to see the temporary report line on the actual financial report then the “<strong>Printed</strong>” checkbox must be unticked.</li>
<li>Operands – the operands are the report lines already added for the <strong><em>Report Line Set</em></strong>.</li>
</ul>
<p>For every report line of line type “Segment” you can optionally associate one or more source information where you specify the actual chart of account.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/reportsource.png"><img class="aligncenter size-full wp-image-970" title="ReportSource" src="http://wtcindia.files.wordpress.com/2011/12/reportsource.png?w=620&#038;h=132" alt="" width="620" height="132" /></a></p>
<p>By default Adempiere comes up with following source types</p>
<ul>
<li><strong>Account (most commonly used)</strong></li>
<li>Activity</li>
<li>Business Partner</li>
<li>Campaign</li>
<li>Combination</li>
<li>Location From</li>
<li>Location To</li>
<li>Organization</li>
<li>Org Trx</li>
<li>Product</li>
<li>Project</li>
<li>Sales Region</li>
<li>Sub Account</li>
</ul>
<p>(Note: I have tested for Accounts only. But depending on how you intend to do the reporting, others will be definitely useful.)</p>
<p><strong><em>Report Column Set</em></strong></p>
<p>The Report Column Set defines what data is printed in the columns of a report. The Report Column tab allows you to define a column in a Financial Report.</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/12/reportcolumnset.png"><img class="aligncenter size-full wp-image-971" title="ReportColumnSet" src="http://wtcindia.files.wordpress.com/2011/12/reportcolumnset.png?w=620&#038;h=192" alt="" width="620" height="192" /></a></p>
<p>The fields like Posting Type, Period Type and Amount Type has similar meaning as we have seen in Report Line Set configuration. However, it does have following important fields which are worth talking about:</p>
<ul>
<li>Column Type
<ul>
<li>Calculations</li>
<li>Segment Value</li>
<li>Relative Period
<ul>
<li>While Calculation and Segment Value has same meaning as it was in case of Report line set, the relative period in column set allows you to specify the period relative to currently active period.
<ul>
<li>A value of -1 means one period prior to the active period. This is very useful when you want to compare current year balance with previous year balance.</li>
<li>A value of 0 means the currently active period – often used to see the transactions for the current period.</li>
<li>A value of 1 means one period after the active period</li>
<li>Factor – Thousand or Million</li>
<li>Format Pattern &#8211; A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h4>Reference</h4>
<ol>
<li><a href="http://en.wikipedia.org/wiki/Balance_sheet">http://en.wikipedia.org/wiki/Balance_sheet</a></li>
<li><a href="http://www.adempiere.com/Report_Lines">http://www.adempiere.com/Report_Lines</a></li>
<li><a href="http://help.sap.com/saphelp_45b/helpdata/en/4c/22756546e611d189470000e829fbbd/content.htm">http://help.sap.com/saphelp_45b/helpdata/en/4c/22756546e611d189470000e829fbbd/content.htm</a></li>
<li><a href="http://en.wikipedia.org/wiki/Income_statement">http://en.wikipedia.org/wiki/Income_statement</a></li>
<li><a href="http://en.wikipedia.org/wiki/Cash_flow">http://en.wikipedia.org/wiki/Cash_flow</a></li>
</ol>
<p><span style="text-decoration:underline;"><strong>Summary</strong></span></p>
<p>We have seen that financial reports are based on the accounting facts. You can make use of report line, report columns and report cube to be able to generate these reports. In case you add new chart of accounts of course it expect you to add such accounts in associated report line set as well (and that is it). I hope this article has increased your overall comfort in using Adempiere&#8217;s financial reports. In case you need any professional help, look at our <a href="http://www.walkingtree.in/index.php?option=com_contact&amp;view=contact&amp;id=1&amp;Itemid=57">contact us</a> page for contact details.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtcindia.wordpress.com/965/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtcindia.wordpress.com/965/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtcindia.wordpress.com/965/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtcindia.wordpress.com/965/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtcindia.wordpress.com/965/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtcindia.wordpress.com/965/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtcindia.wordpress.com/965/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtcindia.wordpress.com/965/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtcindia.wordpress.com/965/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtcindia.wordpress.com/965/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtcindia.wordpress.com/965/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtcindia.wordpress.com/965/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtcindia.wordpress.com/965/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtcindia.wordpress.com/965/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=965&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtcindia.wordpress.com/2011/12/07/financial-reporting-in-adempiere/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a41f5cbbcc06ac29942d3da2f8e083ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtcindia</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/financialreport.png" medium="image">
			<media:title type="html">FinancialReport</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/repostlineset.png" medium="image">
			<media:title type="html">ReportLineSet</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/reportline.png" medium="image">
			<media:title type="html">ReportLine</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/reportsource.png" medium="image">
			<media:title type="html">ReportSource</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/12/reportcolumnset.png" medium="image">
			<media:title type="html">ReportColumnSet</media:title>
		</media:content>
	</item>
		<item>
		<title>Localizing Sencha Touch application</title>
		<link>http://wtcindia.wordpress.com/2011/11/26/localizing-sencha-touch-application/</link>
		<comments>http://wtcindia.wordpress.com/2011/11/26/localizing-sencha-touch-application/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 21:51:46 +0000</pubDate>
		<dc:creator>Ajit Kumar</dc:creator>
				<category><![CDATA[Sencha Touch]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Internationalization]]></category>
		<category><![CDATA[Localization]]></category>
		<category><![CDATA[Multiple Locale support]]></category>
		<category><![CDATA[Translate]]></category>

		<guid isPermaLink="false">http://wtcindia.wordpress.com/?p=941</guid>
		<description><![CDATA[Title: Localizing a Sencha Touch application Summary: In this article we will see how to localize our Sencha Touch based application. There are two aspects to this. One, we will see how to localize the Sencha Touch framework related messages, formats, etc. Second, we will see how to localize our application specific messages and formats. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=941&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Title:</strong> Localizing a Sencha Touch application</p>
<p><strong>Summary:</strong> In this article we will see how to localize our Sencha Touch based application. There are two aspects to this. One, we will see how to localize the Sencha Touch framework related messages, formats, etc. Second, we will see how to localize our application specific messages and formats.</p>
<p><strong>Problem Statement:</strong> Sencha Touch, as compared to ExtJS framework, does not come with out-of-the-box support for different locales. However, in an application, localization is considered as one of the important requirements. In this article, we would talk about the things that we will have to do to localize our application in different languages.</p>
<p>For simplicity, we will exclude the localization of the data as it is usually the offering of the data source and has nothing to do with Sencha Touch.</p>
<p><strong>Prerequisites:</strong> Working knowledge of JavaScript, HTML, CSS, and Sencha Touch.</p>
<p><strong>System Requirements:</strong> Sencha Touch framework. You may download the framework from <a href="http://www.sencha.com/products/touch/download/" title="Sencha Touch Download" target="_blank">here</a>.</p>
<p><strong>How to do it:</strong></p>
<ol>
<li>Create project folder: Extract the Sencha Touch framework to a folder of your choice, say, c:\touchworkspace (will refer this as ${TOUCH_WORKSPACE}). We will refer the extracted location as ${TOUCH_FRAMEWORK}. Create a project folder, say &#8211; localization, inside ${TOUCH_WORKSPACE}</li>
<li>Create locale folder inside the project folder where we will be creating our locale specific files to localize Sencha Touch framework.</li>
<li>Create touch-in_HI.js inside the locale folder to start localizing the framework for Hindi language, which is the first language in India</li>
<li>Sencha Touch offers components(list, form, index bar, etc.) and various classes (Validations, Model, etc.), which have got properties that must be localized to build a truly international application. In our approach, we will use the property overriding to localize the Sencha Touch framework. And for this purpose, we will use <code>Ext.apply</code> method given by the framework. To localize the complete framework, we will have to go through the complete source code to get the list of properties that need to be overridden. However, for demonstration purpose, we will see how to localize the default label of the OK button, which is offered by <code>Ext.MessageBox</code> class. First, let us find the property that we need to override. After looking at the code, we found that it is the <code>text </code>property on the <code>Ext.MessageBox</code> OK button that we will have to override to translate it into Hindi. So, we will add the following code to touch-in_HI.js file:
<pre>Ext.apply(Ext.MessageBox.OK,   {text : 'ठीक है'});</pre>
<p>This will ensure that the label is now translated into Hindi, if touch-in_HI.js file is used in the application.
</li>
<li>The previous step will take care of localizing the framework. However, in an application, we will also have application specific labels, messages, formats, etc. And it is this aspect, as well, that we need to take care of. E.g. the following image shows how our application looks in the default language, which is english:
<p><a href="http://wtcindia.files.wordpress.com/2011/11/touch-english.png"><img src="http://wtcindia.files.wordpress.com/2011/11/touch-english.png?w=620" alt="" title="touch-english"   class="aligncenter size-full wp-image-950" /></a></p>
<p>In the above form, we have various field labels, button text and messages. As a guideline for building an enterprise application, I assume that we have already externalized all these literals to a separate file, say app-en_US.js, as shown below:</p>
<pre>
Messages = {
WELCOME: 'Hello World',
PERSONAL_INFO: 'Personal Information',
NAME: 'Name',
PASSWORD: 'Password',
RE_PASSWORD: 'Re-enter Password',
EMAIL: 'E-mail',
PERSONAL_INST: 'Please enter the information above',
RESET: 'Reset',
SAVE: 'Save',
SAVE_MSG: 'In real implementation, this will be saved!',
INFO: 'Info'
};
</pre>
<p>And, we have used these constant literals in our application, as shown below:</p>
<pre>
Ext.setup({
    onReady: function() {

        var form;

        var formBase = {
            scroll: 'vertical',
            items: [{
                    xtype: 'fieldset',
                    title: Messages.PERSONAL_INFO,
                    instructions: Messages.PERSONAL_INST,
                    defaults: {
                        required: true,
                        labelAlign: 'left',
                        labelWidth: '40%'
                    },
                    items: [
                    {
                        xtype: 'textfield',
                        name : 'name',
                        label: Messages.NAME,
                        useClearIcon: true,
                        autoCapitalize : false
                    }, {
                        xtype: 'passwordfield',
                        name : 'password',
                        label: Messages.PASSWORD,
                        useClearIcon: false
                    }, {
                        xtype: 'passwordfield',
                        name : 'reenter',
                        label: Messages.RE_PASSWORD,
                        useClearIcon: true
                    }, {
                        xtype: 'emailfield',
                        name : 'email',
                        label: Messages.EMAIL,
                        placeHolder: 'you@sencha.com',
                        useClearIcon: true
                    }]
                }
            ],
            listeners : {
                submit : function(form, result){
                    console.log('success', Ext.toArray(arguments));
                },
                exception : function(form, result){
                    console.log('failure', Ext.toArray(arguments));
                }
            },

            dockedItems: [
                {
                    xtype: 'toolbar',
                    dock: 'bottom',
                    items: [
                        {
                            text: Messages.RESET,
                            handler: function() {
                                form.reset();
                            }
                        },
                        {
                            text: Messages.SAVE,
                            ui: 'confirm',
                            handler: function() {
                            	Ext.Msg.alert(Messages.INFO, Messages.SAVE_MSG);
                            }
                        }
                    ]
                }
            ]
        };

        if (Ext.is.Phone) {
            formBase.fullscreen = true;
        } else {
            Ext.apply(formBase, {
                autoRender: true,
                floating: true,
                modal: true,
                centered: true,
                hideOnMaskTap: false,
                height: 385,
                width: 480
            });
        }

        form = new Ext.form.FormPanel(formBase);
        form.show();
    }
});
</pre>
<p>You may save the above code in a file by name app.js.</p>
<p>You may have your own custom components or classes defined where the default texts/formats/etc. are defined as part of the class. In that case, you may use the Ext.apply mechanism to override the desired properties.</p>
<p>Now, to localize the application in Hindi, we will create a app-in_HI.js and add the translated text to it as shown below:</p>
<pre>
Messages = {
WELCOME: 'हेलो विश्व!! यह स्थानीयकरण का एक नमूना उदाहरण है!',
PERSONAL_INFO: 'व्यक्तिगत जानकारी',
NAME: 'नाम',
PASSWORD: 'पासवर्ड',
RE_PASSWORD: 'पुनः दर्ज करें पासवर्ड',
EMAIL: 'ईमेल',
PERSONAL_INST: 'कृपया उपरोक्त जानकारी दर्ज करें',
RESET: 'रीसेट करें',
SAVE: 'संचय',
SAVE_MSG: 'वास्तविक कार्यान्वयन में यह बच जाएगा!',
INFO: 'जानकारी'
};
</pre>
</li>
<li>Now that we have created the various JS files with the localized information, it is the time to see them in action. Say, now we want our form to be displayed in Hindi. To accomplish this, we will create an index.html file and the following code to it:
<pre>
&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;Sencha Touch Localization&lt;/title&gt;
		&lt;link rel="stylesheet" href="../sencha-touch/resources/css/sencha-touch.css" type="text/css"&gt;
		&lt;script type="text/javascript" src="../sencha-touch/sencha-touch-debug.js"&gt;&lt;/script&gt;
                &lt;script type="text/javascript" src="touch-in_HI.js"&gt;&lt;/script&gt;
		&lt;script type="text/javascript" src="app-in_HI.js"&gt;&lt;/script&gt;
		&lt;script type="text/javascript" src="app.js"&gt;&lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
    &lt;/body&gt;
&lt;/html&gt;
</pre>
</li>
<li>Now access the index.html in the browser, which supports HTML5 &#8211; say, Chrome. You shall see the labels and messages translated into Hindi, as shown below:
<p><a href="http://wtcindia.files.wordpress.com/2011/11/touch-hindi.png"><img src="http://wtcindia.files.wordpress.com/2011/11/touch-hindi.png?w=620" alt="" title="touch-hindi"   class="aligncenter size-full wp-image-949" /></a></p>
</li>
</ol>
<p>Similarly, you may translate the framework and you application to any language or your choice as I have done it for Bangla (language spoken in India and Bangladesh), as shown below:</p>
<p><a href="http://wtcindia.files.wordpress.com/2011/11/touch-bangali.png"><img src="http://wtcindia.files.wordpress.com/2011/11/touch-bangali.png?w=620" alt="" title="touch-bangali"   class="aligncenter size-full wp-image-948" /></a></p>
<p>Now, based on your deployment strategy, you will have to handle the inclusion of the locale specific files. Following are three different deployment strategies:</p>
<ol>
<li>English only: In this case, the application is deployed with support for English language, only. If this is the case, we don&#8217;t have to do anything for framework localization. We only have to ensure that application specific locale file is included, which is in English. Note that the default english language supported by the framework is US english.</li>
<li>Non-english but single locale: In this strategy, the application is deployed with a single non-english locale support, e.g. Spanish. In this case, we will have to include the framework and application files, which contain the Spanish localization, in our index.html as we have shown in this article for Hindi.</li>
<li>Multiple locales: In this strategy, the application is deployed with support for multiple locales and it shall switch to the appropriate locale based on certain property in the application, e.g. language code selected in user preference. In this case, our application shall derive which locale files need to be loaded based on the application property and load those files, dynamically. This is done by creating a <code>script </code>tag and append it to the <code>head </code>element on the <code>document</code>.</li>
</ol>
<p>This shall pretty mush set us with the localization.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtcindia.wordpress.com/941/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtcindia.wordpress.com/941/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtcindia.wordpress.com/941/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtcindia.wordpress.com/941/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtcindia.wordpress.com/941/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtcindia.wordpress.com/941/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtcindia.wordpress.com/941/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtcindia.wordpress.com/941/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtcindia.wordpress.com/941/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtcindia.wordpress.com/941/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtcindia.wordpress.com/941/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtcindia.wordpress.com/941/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtcindia.wordpress.com/941/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtcindia.wordpress.com/941/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=941&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtcindia.wordpress.com/2011/11/26/localizing-sencha-touch-application/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/016b501d55647e33db7e5bb337d3a719?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ctowalkingtree</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/11/touch-english.png" medium="image">
			<media:title type="html">touch-english</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/11/touch-hindi.png" medium="image">
			<media:title type="html">touch-hindi</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/11/touch-bangali.png" medium="image">
			<media:title type="html">touch-bangali</media:title>
		</media:content>
	</item>
		<item>
		<title>ExtJS Grid with header action</title>
		<link>http://wtcindia.wordpress.com/2011/11/21/extjs-grid-with-header-action/</link>
		<comments>http://wtcindia.wordpress.com/2011/11/21/extjs-grid-with-header-action/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 12:43:57 +0000</pubDate>
		<dc:creator>Ajit Kumar</dc:creator>
				<category><![CDATA[ExtJS]]></category>
		<category><![CDATA[Action]]></category>
		<category><![CDATA[Column Header Action]]></category>
		<category><![CDATA[Grid]]></category>
		<category><![CDATA[GridPanel]]></category>
		<category><![CDATA[GridView]]></category>
		<category><![CDATA[Header Action]]></category>
		<category><![CDATA[Header icon]]></category>

		<guid isPermaLink="false">http://wtcindia.wordpress.com/?p=926</guid>
		<description><![CDATA[Title: ExtJS Grid with header action Summary: This article walks us through the steps to add the header action capability to the ExtJS GridPanel Problem Statement: Many a times we need the capability on the ExtJS GridPanel where a user can see an action icon on the column header and on click of it the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=926&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Title:</strong> ExtJS Grid with header action</p>
<p><strong>Summary:</strong> This article walks us through the steps to add the header action capability to the ExtJS GridPanel</p>
<p><strong>Problem Statement:</strong> Many a times we need the capability on the ExtJS GridPanel where a user can see an action icon on the column header and on click of it the user can kick-off certain behavior in the system, as shown below. E.g. let us say, we have a grid where we are showing a list of parts and their prices. Now, some parts may be available but some may not. You want the user provide a filter icon on the Availability column so that when the user clicks on it, it will hide the parts which are not available, and clicking it again will show all the parts, again. Alternatively, you may want to provide a action on one of the columns to allow the user to add/remove all the items to their cart. There could be many practical needs where we may need a column header action functionality on the grid panel.</p>
<div id="attachment_936" class="wp-caption aligncenter" style="width: 614px"><a href="http://wtcindia.files.wordpress.com/2011/11/grid-with-headeraction.png"><img src="http://wtcindia.files.wordpress.com/2011/11/grid-with-headeraction.png?w=620" alt="Grid with header action" title="Grid with header action"   class="size-full wp-image-936" /></a><p class="wp-caption-text">Grid with header action</p></div>
<p><strong>Prerequisites:</strong> Working knowledge of JavaScript, HTML, CSS, and ExtJS 3.x. Also, knowledge of how the Template/XTemplate work in ExtJS is required.</p>
<p><strong>System Requirements:</strong> ExtJS 3.x, ExtJS 3.x compatible browser</p>
<p><strong>Detail:</strong></p>
<p>This is an overidden GridView plug-in to show the action icons in the column header and all the cells of a column. For the header action, this works on two column properties &#8211; enableHeaderAction and headerActionCls &#8211; to show the decide whether an action icon needs to be displayed or not and if it needs to be displayed, it uses the headerActionCls to show the icon.</p>
<p>When the user clicks on the action icon in the header, the plug-in fires &#8211; headeraction &#8211; event and passes the headeActionCls name to the handler so that that handler code can identify the icon which was clicked</p>
<p>Added the functionality to toggle the header action icons. This is driven by three additional properties<br />
    &#8211; toggleHeaderAction<br />
    &#8211; alternateHeaderActionCls<br />
    &#8211; alternateHeaderActionToolTip</p>
<p>This plug-in is compatible with the grid&#8217;s RowAction plug-in.</p>
<p>The implementation is based on overriding the GridView as shown below:</p>
<pre>
Ext.override(Ext.grid.GridView, {
init : function(grid){
        this.grid = grid;

        this.initTemplates();
        this.initData(grid.store, grid.colModel);
        this.initUI(grid);

        //intercept the click and mousedown event on the grid
        grid.processEvent = grid.processEvent.createInterceptor(function(name, e) {
                            if('click' === name) {
                                var t = e.getTarget('.ux-header-action-item');
                                if (!Ext.isEmpty(t)) {
                                    var cls = t.className;
                                    cls = cls.split(" ");
                                    cls = cls[cls.length - 1];

                                    //change the icon, if needed
                                    var headerIdx = this.findHeaderIndex(t);
                                    var column = this.cm.getColumnById(headerIdx);
                                   if (column.toggleHeaderAction || column.alternateHeaderActionCls || column.alternateHeaderActionToolTip) {
                                        var tmpNode = this.fly(t).removeClass(cls);

                                        var newCls = column.headerActionCls;
                                        var newQtip = column.headerActionToolTip;

                                        if (cls === column.headerActionCls) {
                                            newCls = column.alternateHeaderActionCls;
                                            newQtip = column.alternateHeaderActionToolTip;
                                        }

                                        tmpNode.addClass(newCls);
                                        tmpNode.set({qtip: newQtip});
                                    }

                                    grid.fireEvent('headeraction', grid, cls, headerIdx, column);

                                    //return false so that the sorting does not start
                                    return false;
                                } else {
                                    return true;
                                }
                            }
        }, this);
},
initTemplates : function(){
        var ts = this.templates || {};
        if(!ts.master){
            ts.master = new Ext.Template(
                '&lt;div class="x-grid3" hidefocus="true"&gt;',
                    '&lt;div class="x-grid3-viewport"&gt;',
                        '&lt;div class="x-grid3-header"&gt;&lt;div class="x-grid3-header-inner"&gt;&lt;div class="x-grid3-header-offset" style="{ostyle}"&gt;{header}&lt;/div&gt;&lt;/div&gt;&lt;div class="x-clear"&gt;&lt;/div&gt;&lt;/div&gt;',
                        '&lt;div class="x-grid3-scroller"&gt;&lt;div class="x-grid3-body" style="{bstyle}"&gt;{body}&lt;/div&gt;&lt;a href="#" class="x-grid3-focus" tabIndex="-1"&gt;&lt;/a&gt;&lt;/div&gt;',
                    '&lt;/div&gt;',
                    '&lt;div class="x-grid3-resize-marker"&gt;&#160;&lt;/div&gt;',
                    '&lt;div class="x-grid3-resize-proxy"&gt;&#160;&lt;/div&gt;',
                '&lt;/div&gt;'
            );
        }

        if(!ts.header){
            ts.header = new Ext.Template(
                '&lt;table border="0" cellspacing="0" cellpadding="0" style="{tstyle}"&gt;',
                '&lt;thead&gt;&lt;tr class="x-grid3-hd-row"&gt;{cells}&lt;/tr&gt;&lt;/thead&gt;',
                '&lt;/table&gt;'
            );
        }

        if(!ts.hcell){
            ts.hcell = new Ext.XTemplate(
                '&lt;td class="x-grid3-hd x-grid3-cell x-grid3-td-{id} {css}" style="{style}"&gt;&lt;div {tooltip} {attr} class="x-grid3-hd-inner x-grid3-hd-{id}" unselectable="on" style="{istyle}"&gt;', this.grid.enableHdMenu ? '&lt;a class="x-grid3-hd-btn" href="#"&gt;&lt;/a&gt;' : '',
                '{value}&lt;img class="x-grid3-sort-icon" src="', Ext.BLANK_IMAGE_URL, '" /&gt;&lt;tpl if="enableHeaderAction"&gt;{headerActionText}&lt;img class="ux-header-action-item {headerActionCls}" src="', Ext.BLANK_IMAGE_URL, '" qtip="{headerActionToolTip}"/&gt;&lt;/tpl&gt;',
                '&lt;/div&gt;&lt;/td&gt;'
            );
        }

        if(!ts.body){
            ts.body = new Ext.Template('{rows}');
        }

        if(!ts.row){
            ts.row = new Ext.Template(
                '&lt;div class="x-grid3-row {alt}" style="{tstyle}"&gt;&lt;table class="x-grid3-row-table" border="0" cellspacing="0" cellpadding="0" style="{tstyle}"&gt;',
                '&lt;tbody&gt;&lt;tr&gt;{cells}&lt;/tr&gt;',
                (this.enableRowBody ? '&lt;tr class="x-grid3-row-body-tr" style="{bodyStyle}"&gt;&lt;td colspan="{cols}" class="x-grid3-body-cell" tabIndex="0" hidefocus="on"&gt;&lt;div class="x-grid3-row-body"&gt;{body}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;' : ''),
                '&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;'
            );
        }

        if(!ts.cell){
            ts.cell = new Ext.XTemplate(
                    '&lt;td class="x-grid3-col x-grid3-cell x-grid3-td-{id} {css}" style="{style}" tabIndex="0" {cellAttr}&gt;',
                    '&lt;div class="x-grid3-cell-inner x-grid3-col-{id}" unselectable="on" {attr}&gt;{value}',
                    '&lt;/div&gt;&lt;/td&gt;'
                    );
        }

        for(var k in ts){
            var t = ts[k];
            if(t &amp;&amp; Ext.isFunction(t.compile) &amp;&amp; !t.compiled){
                t.disableFormats = true;
                t.compile();
            }
        }

        this.templates = ts;
        this.colRe = new RegExp('x-grid3-td-([^\\s]+)', '');
    }
    ,renderHeaders : function() {
        var cm   = this.cm,
            ts   = this.templates,
            ct   = ts.hcell,
            cb   = [],
            p    = {},
            len  = cm.getColumnCount(),
            last = len - 1;

        for (var i = 0; i &lt; len; i++) {
            p.id = cm.getColumnId(i);
            p.value = cm.getColumnHeader(i) || &#039;&#039;;
            p.style = this.getColumnStyle(i, true);
            p.tooltip = this.getColumnTooltip(i);
            var col = cm.getColumnById(p.id);
            p.headerActionCls = col.headerActionCls;
            p.headerActionText = col.headerActionText;
            p.enableHeaderAction = col.enableHeaderAction;
            p.headerActionToolTip = col.headerActionToolTip;
            p.toggleHeaderAction = col.toggleHeaderAction;
            p.alternateHeaderActionCls = col.alternateHeaderActionCls;
            p.alternateHeaderActionToolTip = col.alternateHeaderActionToolTip;
            p.css = i === 0 ? &#039;x-grid3-cell-first &#039; : (i == last ? &#039;x-grid3-cell-last &#039; : &#039;&#039;);

            if (cm.config[i].align == &#039;right&#039;) {
                p.istyle = &#039;padding-right:16px&#039;;
            } else {
                delete p.istyle;
            }
            cb[cb.length] = ct.apply(p);
        }
        return ts.header.apply({cells: cb.join(&#039;&#039;), tstyle:&#039;width:&#039;+this.getTotalWidth()+&#039;;&#039;});
    }
});
</pre>
<p><strong>How it works:</strong></p>
<p>Ext.grid.GridView is added to the GridPanel as a plugin, by default. It takes the complete responsibility of formatting the grid view and putting all the styles (e.g. apply different background for the alternate rows). In this solution, we have overridden the following methods of the base Ext.grid.GridView class:</p>
<p>1. init<br />
2. initTemplates<br />
3. renderHeaders</p>
<p><code>init </code>is the main plug-in method which is called by the ExtJS framework to initialize a plug-in. We have modified this method to add the extra code to intercept the event to figure out whether the event has occurred on a header action. And, if so, it fires the <code>headeraction</code> event. While firing the event, we are passing the following to the event handler:<br />
1. grid panel instance reference<br />
2. CSS class name of the header action, which is clicked<br />
3. column index<br />
4. column object representing the column where the header action was clicked</p>
<p>In <code>initTemplates</code>, we have modified the <code>hcell</code> template where we have added the additional tags related to the header action, as shown below:</p>
<pre>
&lt;tpl if="enableHeaderAction"&gt;{headerActionText}&lt;img class="ux-header-action-item {headerActionCls}" src="', Ext.BLANK_IMAGE_URL, '" qtip="{headerActionToolTip}"/&gt;&lt;/tpl&gt;',
</pre>
<p>Here, we are adding an &lt;img&gt; tag if on the incoming column information, <code>enableHeaderAction</code> flag is <code>true</code>. <code>headerActionText</code> property on the column is set as the alternate text for the image whereas <code>headerActionCls</code> contains the style name, which has the image path in it. Additionally, <code>headerActionToolTip</code> property is used to show the tooltip for the corresponding header action icon.</p>
<p>Now that we have added the element to the tag, which can be rendered based on the properties value on a column, and also we have written the code in the init method to handle the click events on the header action, it is time to make the changes, which are required to pass the header action related properties to the grid view so that it can apply them on the modified <code>hcell</code> template to render the header action icon on a grid panel. To accomplish this, we modified <code>renderHeaders</code> method, where we are setting the properties on <code>p</code>, as shown below:</p>
<pre>
p.headerActionCls = col.headerActionCls;
p.headerActionText = col.headerActionText;
p.enableHeaderAction = col.enableHeaderAction;
p.headerActionToolTip = col.headerActionToolTip;
p.toggleHeaderAction = col.toggleHeaderAction;
p.alternateHeaderActionCls = col.alternateHeaderActionCls;
p.alternateHeaderActionToolTip = col.alternateHeaderActionToolTip;
</pre>
<p>After the above code is executed, the additional header action related properties are set on the internal column object and will now be available to the <code>hcell </code>template and will show the icon that we would have specified as part of the <code>headerActionCls</code>.</p>
<p>After adding this override, now here is a sample usage of the properties showing how these properties can be specified to get the icons appearing on the header:</p>
<pre>
columns: [
            {
                header   : Messages.ITEM_DESC
                width    : 350,
                renderer : itmeDescRenderer,
                dataIndex: 'Description',
                enableHeaderAction : true,
            headerActionCls: 'allitem-icon',
            headerActionToolTip: 'Add all item',
            toggleHeaderAction: true,
            stripeRows: true,
            alternateHeaderActionCls: 'remove-allitem-icon',
            alternateHeaderActionToolTip: 'Remove all items',
....
}, {
	...
}]
</pre>
<p>And, following code shows, how we can register our handler on the GridPanel for the <code>headeraction </code>event:</p>
<pre>
headeraction : function(grid, actionCls, headerIdx, column) {
     if(actionCls === 'allitem-icon') {
          var records = grid.getStore().getRange();
             ....
     }

     if(actionCls === 'remove-allitem-icon') {
      	   .....
     }
}
</pre>
<p>And, if we look at the CSS, following shall be the CSS defined, which we have used to set the values for <code>headerActionCls </code>property:</p>
<pre>
.allitem-icon {
	background: url(../images/add.png) no-repeat 0 0 !important;
}

.remove-allitem-icon {
	background: url(../images/delete.png) no-repeat 0 0 !important;
}
</pre>
<p>Following is a sample screen showing how the header actions will appear on the screen:<br />
<div id="attachment_935" class="wp-caption aligncenter" style="width: 630px"><a href="http://wtcindia.files.wordpress.com/2011/11/parts.png"><img src="http://wtcindia.files.wordpress.com/2011/11/parts.png?w=620&#038;h=356" alt="Grid with header action" title="Grid with header action" width="620" height="356" class="size-full wp-image-935" /></a><p class="wp-caption-text">Grid with header action</p></div></p>
<p>If you are reading this, I hope this article was useful to you and look forward to your feedback! </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtcindia.wordpress.com/926/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtcindia.wordpress.com/926/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtcindia.wordpress.com/926/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtcindia.wordpress.com/926/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtcindia.wordpress.com/926/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtcindia.wordpress.com/926/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtcindia.wordpress.com/926/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtcindia.wordpress.com/926/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtcindia.wordpress.com/926/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtcindia.wordpress.com/926/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtcindia.wordpress.com/926/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtcindia.wordpress.com/926/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtcindia.wordpress.com/926/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtcindia.wordpress.com/926/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtcindia.wordpress.com&amp;blog=8572717&amp;post=926&amp;subd=wtcindia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtcindia.wordpress.com/2011/11/21/extjs-grid-with-header-action/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/016b501d55647e33db7e5bb337d3a719?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ctowalkingtree</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/11/grid-with-headeraction.png" medium="image">
			<media:title type="html">Grid with header action</media:title>
		</media:content>

		<media:content url="http://wtcindia.files.wordpress.com/2011/11/parts.png" medium="image">
			<media:title type="html">Grid with header action</media:title>
		</media:content>
	</item>
	</channel>
</rss>
