Solve bug 1648131 Negative Reserved Qty on Customer Material Return
http://sourceforge.net/tracker/index.php?func=detail&aid=1648131&group_id=176962&atid=879332
This commit is contained in:
parent
08a767ae54
commit
595936672b
|
@ -109,9 +109,28 @@ public class CalloutInOut extends CalloutEngine
|
|||
// Set Movement Type
|
||||
String DocBaseType = rs.getString("DocBaseType");
|
||||
if (DocBaseType.equals("MMS")) // Material Shipments
|
||||
mTab.setValue("MovementType", "C-"); // Customer Shipments
|
||||
/**solve 1648131 bug vpj-cd e-evolution */
|
||||
//mTab.setValue("MovementType", "C-"); // Customer Shipments
|
||||
{
|
||||
boolean IsSOTrx = "Y".equals(Env.getContext(ctx, WindowNo, "IsSOTrx"));
|
||||
if (IsSOTrx)
|
||||
mTab.setValue("MovementType", "C-");
|
||||
else
|
||||
mTab.setValue("MovementType", "V-");
|
||||
|
||||
}
|
||||
/**END vpj-cd e-evolution */
|
||||
else if (DocBaseType.equals("MMR")) // Material Receipts
|
||||
mTab.setValue("MovementType", "V+"); // Vendor Receipts
|
||||
/**solve 1648131 bug vpj-cd e-evolution */
|
||||
//mTab.setValue("MovementType", "V+"); // Vendor Receipts
|
||||
{
|
||||
boolean IsSOTrx = "Y".equals(Env.getContext(ctx, WindowNo, "IsSOTrx"));
|
||||
if (IsSOTrx)
|
||||
mTab.setValue("MovementType", "C+");
|
||||
else
|
||||
mTab.setValue("MovementType", "V+");
|
||||
}
|
||||
/**END vpj-cd e-evolution */
|
||||
|
||||
// DocumentNo
|
||||
if (rs.getString("IsDocNoControlled").equals("Y"))
|
||||
|
|
Loading…
Reference in New Issue