Author: diveshdutta
Date: Sat Aug 27 08:41:37 2016
New Revision: 1757971
URL: http://svn.apache.org/viewvc?rev=1757971&view=rev
Log:
[OFBIZ-7478] Updated comment and made it similar to trunk
Modified:
ofbiz/branches/release15.12/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java
Modified:
ofbiz/branches/release15.12/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java?rev=1757971&r1=1757970&r2=1757971&view=diff
==============================================================================
---
ofbiz/branches/release15.12/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java
(original)
+++
ofbiz/branches/release15.12/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java
Sat Aug 27 08:41:37 2016
@@ -672,7 +672,7 @@ public class CheckOutHelper {
String requirementId = shoppingCartItem.getRequirementId();
if (requirementId != null) {
try {
- /*Creating OrderRequirementCommitment which will be used
to update requirement at the time of approval of PO. OrderRequirementCommitment
will also be updated if ordered & required quantity differs*/
+ /* OrderRequirementCommitment records will map which POs
which are created from which requirements. With the help of this mapping
requirements will be updated to Ordered when POs will be approved. */
Map<String, Object> inputMap = UtilMisc.toMap("userLogin",
userLogin, "orderId", orderId, "orderItemSeqId",
shoppingCartItem.getOrderItemSeqId(), "requirementId", requirementId,
"quantity", shoppingCartItem.getQuantity());
dispatcher.runSync("createOrderRequirementCommitment",
inputMap);
} catch (Exception e) {