diff --git a/NKC_WF/BaseUserControl.cs b/NKC_WF/BaseUserControl.cs
index b57247d..04d40eb 100644
--- a/NKC_WF/BaseUserControl.cs
+++ b/NKC_WF/BaseUserControl.cs
@@ -8,6 +8,16 @@ namespace NKC_WF
{
public class BaseUserControl : System.Web.UI.UserControl
{
+ ///
+ /// Postazione attuale (per ora cablata)
+ ///
+ protected string PlaceId
+ {
+ get
+ {
+ return "WRK001";
+ }
+ }
///
/// Membro gestione accessi al datalayer (istanza x ogni classe controllo)
///
diff --git a/NKC_WF/WebUserControls/cmp_cartDetIRK.ascx b/NKC_WF/WebUserControls/cmp_cartDetIRK.ascx
index 95af79b..37fdd7b 100644
--- a/NKC_WF/WebUserControls/cmp_cartDetIRK.ascx
+++ b/NKC_WF/WebUserControls/cmp_cartDetIRK.ascx
@@ -25,7 +25,7 @@
-
+
<%--
--%>
@@ -36,6 +36,11 @@
+
+
+ <%# traduci("Invalidate") %>
+
+
diff --git a/NKC_WF/WebUserControls/cmp_cartDetIRK.ascx.cs b/NKC_WF/WebUserControls/cmp_cartDetIRK.ascx.cs
index d717018..e02c6b7 100644
--- a/NKC_WF/WebUserControls/cmp_cartDetIRK.ascx.cs
+++ b/NKC_WF/WebUserControls/cmp_cartDetIRK.ascx.cs
@@ -30,5 +30,27 @@ namespace NKC_WF.WebUserControls
//grView.DataBind();
}
}
+
+ protected string ItemExtCode
+ {
+ get
+ {
+ string answ = "";
+ if (grView.SelectedIndex >= 0)
+ {
+ answ = grView.SelectedValue.ToString();
+ }
+ return answ;
+ }
+ }
+
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (!string.IsNullOrEmpty(ItemExtCode))
+ {
+ // esegue la stored di reset delle PART con quel ExtCode nel cart...
+ DLMan.taIL.invalidateByPartCart(CartID, ItemExtCode, PlaceId);
+ }
+ }
}
}
\ No newline at end of file
diff --git a/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.cs b/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.cs
index 20dbfee..d6070e2 100644
--- a/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.cs
+++ b/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.cs
@@ -23,17 +23,6 @@ namespace NKC_WF.WebUserControls
return hfDeviceId.Value;
}
}
- ///
- /// Postazione attuale (per ora cablata)
- ///
- protected string PlaceId
- {
- get
- {
- return "WRK001";
- }
- }
-
///
/// Sheet selezionato...
///
diff --git a/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs
index 55744f4..57edcda 100644
--- a/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs
+++ b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs
@@ -38,16 +38,6 @@ namespace NKC_WF.WebUserControls
return hfDeviceId.Value;
}
}
- ///
- /// Postazione attuale (per ora cablata)
- ///
- protected string PlaceId
- {
- get
- {
- return "WRK001";
- }
- }
///
/// Sheet selezionato...
diff --git a/NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx.cs b/NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx.cs
index b615ee1..a98255f 100644
--- a/NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx.cs
+++ b/NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx.cs
@@ -27,16 +27,6 @@ namespace NKC_WF.WebUserControls
return hfDeviceId.Value;
}
}
- ///
- /// Postazione attuale (per ora cablata)
- ///
- protected string PlaceId
- {
- get
- {
- return "WRK001";
- }
- }
///
/// Sheet selezionato...
diff --git a/NKC_WF/WebUserControls/cmp_kittingSmartAdvInvalid.ascx.cs b/NKC_WF/WebUserControls/cmp_kittingSmartAdvInvalid.ascx.cs
index 0585b5d..caabc58 100644
--- a/NKC_WF/WebUserControls/cmp_kittingSmartAdvInvalid.ascx.cs
+++ b/NKC_WF/WebUserControls/cmp_kittingSmartAdvInvalid.ascx.cs
@@ -11,16 +11,6 @@ namespace NKC_WF.WebUserControls
{
public partial class cmp_kittingSmartAdvInvalid : BaseUserControl
{
- ///
- /// Postazione attuale (per ora cablata)
- ///
- protected string PlaceId
- {
- get
- {
- return "WRK001";
- }
- }
///
/// Comando barcode letto
///
@@ -375,7 +365,7 @@ namespace NKC_WF.WebUserControls
// solo se ho in sessione dati...
if (cmp_ItemDet.ItemId > 0 && cmp_KS_Cart.CartID > 0 && !string.IsNullOrEmpty(ItemExtCode))
{
- // esegue la stored di reset dell'intero cart...
+ // esegue la stored di reset delle PART con quel ExtCode nel cart...
DLMan.taIL.invalidateByPartCart(cmp_KS_Cart.CartID,ItemExtCode, PlaceId);
}
// resetto
diff --git a/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.cs b/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.cs
index f4c2d0d..678c128 100644
--- a/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.cs
+++ b/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.cs
@@ -26,16 +26,6 @@ namespace NKC_WF.WebUserControls
return hfDeviceId.Value;
}
}
- ///
- /// Postazione attuale (per ora cablata)
- ///
- protected string PlaceId
- {
- get
- {
- return "WRK001";
- }
- }
///
/// Sheet selezionato...
diff --git a/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs
index 0fc32bd..861d455 100644
--- a/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs
+++ b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs
@@ -9,16 +9,6 @@ namespace NKC_WF.WebUserControls
{
public partial class cmp_partMIA_byPLID : BaseUserControl
{
- ///
- /// Postazione attuale (per ora cablata)
- ///
- protected string PlaceId
- {
- get
- {
- return "WRK001";
- }
- }
protected void Page_Load(object sender, EventArgs e)
{
diff --git a/NKC_WF/WebUserControls/cmp_unloadSmart.ascx.cs b/NKC_WF/WebUserControls/cmp_unloadSmart.ascx.cs
index 0af9fb9..58a5ea6 100644
--- a/NKC_WF/WebUserControls/cmp_unloadSmart.ascx.cs
+++ b/NKC_WF/WebUserControls/cmp_unloadSmart.ascx.cs
@@ -62,16 +62,6 @@ namespace NKC_WF.WebUserControls
return hfDeviceId.Value;
}
}
- ///
- /// Postazione attuale (per ora cablata)
- ///
- protected string PlaceId
- {
- get
- {
- return "WRK001";
- }
- }
protected string redMachUnloadTable = "NKC:SERV:MACH_UNLOAD:TABLES";
@@ -148,7 +138,6 @@ namespace NKC_WF.WebUserControls
lblDestination.Text = "--";
}
-
///
/// Comando barcode letto
///