Continuo creazione pagina offline orders
This commit is contained in:
@@ -7,7 +7,7 @@ using System.Web.UI.WebControls;
|
||||
|
||||
namespace NKC_WF.WebUserControls
|
||||
{
|
||||
public partial class cmp_scrapList : System.Web.UI.UserControl
|
||||
public partial class cmp_scrapList : BaseUserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
@@ -92,6 +92,7 @@ namespace NKC_WF.WebUserControls
|
||||
}
|
||||
protected void lbtCreateOffOrd_Click(object sender, EventArgs e)
|
||||
{
|
||||
bool doReport = false;
|
||||
// creo NUOVO ordine offline...
|
||||
DS_App.OfflineOrderListDataTable tabOrdini = DataLayer.man.taOffOL.insertNew();
|
||||
int itemId = 0;
|
||||
@@ -114,12 +115,18 @@ namespace NKC_WF.WebUserControls
|
||||
if (itemId > 0)
|
||||
{
|
||||
DataLayer.man.taOO2I.insertQuery(tabOrdini[0].OrdID, itemId);
|
||||
doReport = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
}
|
||||
if (doReport)
|
||||
{
|
||||
grView.DataBind();
|
||||
raiseEvent();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user