Exemple #1
0
 /// <summary>
 /// New Locator Constructor with XYZ=000
 /// </summary>
 /// <param name="warehouse">parent</param>
 /// <param name="value">value</param>
 public MLocator(MWarehouse warehouse, String value)
     : this(warehouse.GetCtx(), 0, warehouse.Get_TrxName())
 {
     SetClientOrg(warehouse);
     SetM_Warehouse_ID(warehouse.GetM_Warehouse_ID());           //	Parent
     SetValue(value);
     SetXYZ("0", "0", "0");
 }
 /// <summary>
 /// New Locator Constructor with XYZ=000
 /// </summary>
 /// <param name="warehouse">parent</param>
 /// <param name="value">value</param>
 public MLocator(MWarehouse warehouse, String value)
     : this(warehouse.GetCtx(), 0, warehouse.Get_TrxName())
 {
     SetClientOrg(warehouse);
     SetM_Warehouse_ID(warehouse.GetM_Warehouse_ID());           //	Parent
     SetValue(value);
     // Added by Mohit VAWMS 20-8-2015
     if (Env.HasModulePrefix("VAWMS_", out mInfo))
     {
         SetXYZ("0", "0", "0", "0", "0");
     }
     else
     {
         SetXYZ("0", "0", "0");
     }
     //End
 }