Compare commits

...

58 Commits

Author SHA1 Message Date
Samuele Locatelli 156f61a87b Merge tag 'AddYeldPreview_04' into develop
Update evento pagiazione x cui si perdono % recuperate
2025-06-18 09:00:05 +02:00
Samuele Locatelli 1661671cc4 Merge branch 'release/AddYeldPreview_04' 2025-06-18 08:59:51 +02:00
Samuele Locatelli 6bdfb70448 Fix perdita % in cambio pagina 2025-06-18 08:59:30 +02:00
Samuele Locatelli 4185bd1dad Merge tag 'AddYeldPreview_03' into develop
Update della gestione pagina BatchPreview per mostrare rese sia per
foglio che x materiale, fix paginazioni e problemi grafici vari
2025-06-18 08:37:00 +02:00
Samuele Locatelli 1a704be449 Merge branch 'release/AddYeldPreview_03' 2025-06-18 08:36:29 +02:00
Samuele Locatelli ba8eef2aeb COmpletata review pagina BatchPreview
-- fix grafici
- ingrandimento generale
- fix pagina che debordava
- paginazione lista sheets
2025-06-18 08:36:07 +02:00
Samuele Locatelli 01551f6b20 typo appunti 2025-06-17 18:43:23 +02:00
Samuele Locatelli c6e909e6f2 Merge tag 'AddYeldPreview_02' into develop
Update con report calcolo rendimento Yeld x materiale e x sheet
2025-06-17 18:35:27 +02:00
Samuele Locatelli 566dcf3812 Merge branch 'release/AddYeldPreview_02' 2025-06-17 18:33:49 +02:00
Samuele Locatelli be059c483d Commentata area calcolo non + usata da MongoDB 2025-06-17 18:32:43 +02:00
Samuele Locatelli b503cd9527 Recupero statistiche foglio da obj REDIS OK... 2025-06-17 18:31:35 +02:00
Samuele Locatelli 5207c591eb Aggiunta calcolo statistiche x materiale + cache in REDIS valori yeld calcolati 2025-06-17 18:19:11 +02:00
Samuele Locatelli 3f3a1c3d0b Merge tag 'AddYeldPreview_01' into develop
Aggiunta calcolo numpart + yeld %
2025-06-17 13:15:42 +02:00
Samuele Locatelli b9df0cb31a Merge branch 'release/AddYeldPreview_01' 2025-06-17 13:15:28 +02:00
Samuele Locatelli bb2c2680ac Aggiunto display yeald % su ogni foglio 2025-06-17 13:15:00 +02:00
Samuele Locatelli 1926d39386 Merge tag 'FixSentinelProxy_01' into develop
Fix release proxy x redis
2025-05-13 16:22:22 +02:00
Samuele Locatelli c80551797f Merge branch 'release/FixSentinelProxy_01' 2025-05-13 16:22:14 +02:00
Samuele Locatelli e7c526c6c9 update conf sentinel in haproxy invece che locale 2025-05-13 16:21:49 +02:00
Samuele Locatelli b9e3fafd89 Merge tag 'AddAllSheetCalc_01' into develop
Aggiunta chkbox x selezionare tutti i fogli in statistiche
2025-04-24 16:24:30 +02:00
Samuele Locatelli 1d778e2f1f Merge branch 'release/AddAllSheetCalc_01' 2025-04-24 16:24:13 +02:00
Samuele Locatelli 515441e4e3 Aggiunto chk x calcolare anche ultimo foglio in statistiche OEE materiali 2025-04-24 16:23:42 +02:00
Samuele Locatelli f859432067 Merge tag 'AddHistorySelectDetail_02' into develop
update controlli visibilità buttons x evitare comandi in history
2025-04-23 19:24:22 +02:00
Samuele Locatelli 25885bbf4c Merge branch 'release/AddHistorySelectDetail_02' 2025-04-23 19:23:56 +02:00
Samuele Locatelli e16d3001e2 Esteso gestione controlli abilitazione buttons per CSV man e disabilitazione in history page 2025-04-23 19:22:46 +02:00
Samuele Locatelli 8c4b81f7f1 Merge tag 'AddHistorySelectDetail_01' into develop
Aggiunta visualizzazione buttons in histyory (hide non ancora completo)
2025-04-23 18:00:20 +02:00
Samuele Locatelli 3da5992cbb Merge branch 'release/AddHistorySelectDetail_01' 2025-04-23 18:00:07 +02:00
Samuele Locatelli ad0879a295 Order History:
- aggiunti buttons x detail
- gestione blocco buttons dove non gestiti (history page)
2025-04-23 17:59:20 +02:00
Samuele Locatelli 1ea789e99a Merge tag 'AddSearchOrderPage_03' into develop
Update visualizzazione e gestione num righe in OrderSearch
2025-03-20 10:18:30 +01:00
Samuele Locatelli 638c981d6d Merge branch 'release/AddSearchOrderPage_03' 2025-03-20 10:18:14 +01:00
Samuele Locatelli ceffa2e175 fix numRow errato in orderSearch 2025-03-20 10:17:55 +01:00
Samuele Locatelli 0935eda0f9 Merge tag 'AddSearchOrderPage_02' into develop
Update messaggio pagina con dettaglio scopo
2025-03-20 09:25:14 +01:00
Samuele Locatelli 77ddf796d4 Merge branch 'release/AddSearchOrderPage_02' 2025-03-20 09:24:39 +01:00
Samuele Locatelli 8cfabbd046 Update messaggi 2025-03-20 09:23:53 +01:00
Samuele Locatelli b074758755 Merge tag 'AddSearchOrderPage_01' into develop
Completata pagina ricerca
2025-03-19 19:21:19 +01:00
Samuele Locatelli b434d7fb4f Merge branch 'release/AddSearchOrderPage_01' 2025-03-19 19:20:40 +01:00
Samuele Locatelli f653721db0 Completo pagina ricerca in update panel 2025-03-19 19:20:16 +01:00
Samuele Locatelli da5f9a2a68 OK pagina ricerca! 2025-03-19 18:54:06 +01:00
Samuele Locatelli 16667a70b6 DataSet: nuovo obj search + minor refresh 2025-03-19 17:12:24 +01:00
Samuele Locatelli 463a32f024 Inizio aggiunta order search 2025-03-19 16:19:13 +01:00
Samuele Locatelli 2226388f92 Aggiunto modifiche testata-filtro 2025-03-19 12:11:28 +01:00
Samuele Locatelli 47392fa3ba Completato la aprte di filtro in testata... 2025-03-19 12:11:18 +01:00
Samuele Locatelli 82ce925634 Merge branch 'develop' of https://gitlab.steamware.net/steamware/NKC into develop 2025-03-19 10:52:31 +01:00
Samuele Locatelli 7d2d503301 Leggero cambio styling, inizio aggiunta pag ricerca ordini, fix display errori import KIT 2025-03-19 10:52:27 +01:00
Giancarlo Rottoli 1eaa91d2bb Footer con Data-Ora 2024-12-20 16:00:35 +01:00
Samuele Locatelli 897465b282 Merge tag 'AddCheckRebalance_04' into develop
Fix errore bilanciamento e ordinamento ORD da durata
2024-12-13 15:45:08 +01:00
Samuele Locatelli c545d19a85 Merge branch 'release/AddCheckRebalance_04' 2024-12-13 15:44:53 +01:00
Samuele Locatelli 3c45e71312 Fix rebalance 2024-12-13 15:44:19 +01:00
Samuele Locatelli a0400d99bd Merge tag 'AddCheckRebalance_03' into develop
Ancora fix display warning rebalance
2024-12-13 09:24:03 +01:00
Samuele Locatelli b55136d302 Merge branch 'release/AddCheckRebalance_03' 2024-12-13 09:23:55 +01:00
Samuele Locatelli 346f50694a Ancora fix display warning 2024-12-13 09:23:39 +01:00
Samuele Locatelli acea59ec47 Fix warning split suggestion 2024-12-13 09:14:56 +01:00
Samuele Locatelli c5eddb3d61 Merge tag 'AddCheckRebalance_02' into develop
Fix calcolo KIT su ordini OLT da parent
2024-12-13 09:05:12 +01:00
Samuele Locatelli b3721b5f2f Merge branch 'release/AddCheckRebalance_02' 2024-12-13 09:04:13 +01:00
Samuele Locatelli 47855a6f27 Fix controllo anche su num KIT spostati in split 2024-12-13 09:03:55 +01:00
Samuele Locatelli cc5c6e55f6 Merge tag 'AddCheckRebalance_01' into develop
Aggiunta controlli rebalance x casi in cui orderlisttree restino
assegnati a ancestor (da validare)
2024-12-12 19:41:56 +01:00
Samuele Locatelli 4d833794af Merge branch 'release/AddCheckRebalance_01' 2024-12-12 19:41:36 +01:00
Samuele Locatelli 1f120161ac Altra modifica check errore balance, su OrderListTree 2024-12-12 19:41:09 +01:00
Samuele Locatelli 1dc78d4b3d Aggiunta controlli fase split batch da stima a nesting 2024-12-12 19:22:28 +01:00
70 changed files with 5896 additions and 779 deletions
+3
View File
@@ -245,6 +245,9 @@
<DesignTime>True</DesignTime> <DesignTime>True</DesignTime>
<DependentUpon>DS_Report.xsd</DependentUpon> <DependentUpon>DS_Report.xsd</DependentUpon>
</Compile> </Compile>
<Compile Include="DTO\BatchYeldStatDTO.cs" />
<Compile Include="DTO\MaterialYeldStatsDTO.cs" />
<Compile Include="DTO\SheetYeldStatDTO.cs" />
<Compile Include="Enum.cs" /> <Compile Include="Enum.cs" />
<Compile Include="Objects.cs" /> <Compile Include="Objects.cs" />
<Compile Include="Properties\Settings.Designer.cs"> <Compile Include="Properties\Settings.Designer.cs">
+46
View File
@@ -26,6 +26,8 @@ namespace AppData
public static string redBatchDescend = "NKC:SERV:BATCHDESCEND"; public static string redBatchDescend = "NKC:SERV:BATCHDESCEND";
public static string redKits = "NKC:SERV:KITS";
public static string redMachUnloadCount = "NKC:SERV:MACH_UNLOAD:COUNT"; public static string redMachUnloadCount = "NKC:SERV:MACH_UNLOAD:COUNT";
public static string redMachUnloadForce = "NKC:SERV:MACH_UNLOAD:FORCERELOAD"; public static string redMachUnloadForce = "NKC:SERV:MACH_UNLOAD:FORCERELOAD";
@@ -1224,6 +1226,48 @@ namespace AppData
return false; return false;
} }
/// <summary>
/// Elenco dei kit dato Batch (specifico)
/// </summary>
/// <param name="BatchId"></param>
/// <returns></returns>
public static DS_App.KitListDataTable KitListByBatch(int BatchId)
{
DS_App.KitListDataTable answ = new DS_App.KitListDataTable();
if (BatchId > 0)
{
DataLayer DLMan = new DataLayer();
string redKey = $"{redKits}:ByBatch:{BatchId}";
string rawData = "";
// cerco in redis
if (memLayer.ML.redKeyPresent(redKey))
{
rawData = memLayer.ML.getRSV(redKey);
if (!string.IsNullOrEmpty(rawData))
{
try
{
answ = JsonConvert.DeserializeObject<DS_App.KitListDataTable>(rawData);
}
catch
{ }
}
}
// se vuoto rileggo
if (answ.Count == 0)
{
// recupero ordini dato il batch MAIN
answ = DLMan.taKL.getByBatch(BatchId);
// salvo in cache
rawData = JsonConvert.SerializeObject(answ);
memLayer.ML.setRSV(redKey, rawData, 5);
}
}
return answ;
}
/// <summary> /// <summary>
/// restitusice ultima chiamata REST registrata su REDIS /// restitusice ultima chiamata REST registrata su REDIS
/// </summary> /// </summary>
@@ -1380,6 +1424,8 @@ namespace AppData
memLayer.ML.redFlushKey(redKey); memLayer.ML.redFlushKey(redKey);
redKey = $"{redOrders}:ByBatchTree:*"; redKey = $"{redOrders}:ByBatchTree:*";
memLayer.ML.redFlushKey(redKey); memLayer.ML.redFlushKey(redKey);
redKey = $"{redKits}:ByBatch:*";
memLayer.ML.redFlushKey(redKey);
} }
public static string PositionStatusDescr(object value) public static string PositionStatusDescr(object value)
+716
View File
@@ -118,6 +118,8 @@ namespace AppData {
private SpecialPartsDataTable tableSpecialParts; private SpecialPartsDataTable tableSpecialParts;
private OrderSearchDataTable tableOrderSearch;
private global::System.Data.DataRelation relationFK_ItemList_Materials1; private global::System.Data.DataRelation relationFK_ItemList_Materials1;
private global::System.Data.DataRelation relationFK_OffOrd2Item_OfflineOrderList; private global::System.Data.DataRelation relationFK_OffOrd2Item_OfflineOrderList;
@@ -311,6 +313,9 @@ namespace AppData {
if ((ds.Tables["SpecialParts"] != null)) { if ((ds.Tables["SpecialParts"] != null)) {
base.Tables.Add(new SpecialPartsDataTable(ds.Tables["SpecialParts"])); base.Tables.Add(new SpecialPartsDataTable(ds.Tables["SpecialParts"]));
} }
if ((ds.Tables["OrderSearch"] != null)) {
base.Tables.Add(new OrderSearchDataTable(ds.Tables["OrderSearch"]));
}
this.DataSetName = ds.DataSetName; this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix; this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace; this.Namespace = ds.Namespace;
@@ -799,6 +804,16 @@ namespace AppData {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public OrderSearchDataTable OrderSearch {
get {
return this.tableOrderSearch;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)] [global::System.ComponentModel.BrowsableAttribute(true)]
@@ -1007,6 +1022,9 @@ namespace AppData {
if ((ds.Tables["SpecialParts"] != null)) { if ((ds.Tables["SpecialParts"] != null)) {
base.Tables.Add(new SpecialPartsDataTable(ds.Tables["SpecialParts"])); base.Tables.Add(new SpecialPartsDataTable(ds.Tables["SpecialParts"]));
} }
if ((ds.Tables["OrderSearch"] != null)) {
base.Tables.Add(new OrderSearchDataTable(ds.Tables["OrderSearch"]));
}
this.DataSetName = ds.DataSetName; this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix; this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace; this.Namespace = ds.Namespace;
@@ -1322,6 +1340,12 @@ namespace AppData {
this.tableSpecialParts.InitVars(); this.tableSpecialParts.InitVars();
} }
} }
this.tableOrderSearch = ((OrderSearchDataTable)(base.Tables["OrderSearch"]));
if ((initTable == true)) {
if ((this.tableOrderSearch != null)) {
this.tableOrderSearch.InitVars();
}
}
this.relationFK_ItemList_Materials1 = this.Relations["FK_ItemList_Materials1"]; this.relationFK_ItemList_Materials1 = this.Relations["FK_ItemList_Materials1"];
this.relationFK_OffOrd2Item_OfflineOrderList = this.Relations["FK_OffOrd2Item_OfflineOrderList"]; this.relationFK_OffOrd2Item_OfflineOrderList = this.Relations["FK_OffOrd2Item_OfflineOrderList"];
this.relationFK_ItemList_KitList = this.Relations["FK_ItemList_KitList"]; this.relationFK_ItemList_KitList = this.Relations["FK_ItemList_KitList"];
@@ -1438,6 +1462,8 @@ namespace AppData {
base.Tables.Add(this.tablePlantList); base.Tables.Add(this.tablePlantList);
this.tableSpecialParts = new SpecialPartsDataTable(); this.tableSpecialParts = new SpecialPartsDataTable();
base.Tables.Add(this.tableSpecialParts); base.Tables.Add(this.tableSpecialParts);
this.tableOrderSearch = new OrderSearchDataTable();
base.Tables.Add(this.tableOrderSearch);
this.relationFK_ItemList_Materials1 = new global::System.Data.DataRelation("FK_ItemList_Materials1", new global::System.Data.DataColumn[] { this.relationFK_ItemList_Materials1 = new global::System.Data.DataRelation("FK_ItemList_Materials1", new global::System.Data.DataColumn[] {
this.tableMaterials.MatIDColumn}, new global::System.Data.DataColumn[] { this.tableMaterials.MatIDColumn}, new global::System.Data.DataColumn[] {
this.tableItemList.MatIDColumn}, false); this.tableItemList.MatIDColumn}, false);
@@ -1770,6 +1796,12 @@ namespace AppData {
return false; return false;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private bool ShouldSerializeOrderSearch() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -1966,6 +1998,9 @@ namespace AppData {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public delegate void SpecialPartsRowChangeEventHandler(object sender, SpecialPartsRowChangeEvent e); public delegate void SpecialPartsRowChangeEventHandler(object sender, SpecialPartsRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public delegate void OrderSearchRowChangeEventHandler(object sender, OrderSearchRowChangeEvent e);
/// <summary> /// <summary>
///Represents the strongly named DataTable class. ///Represents the strongly named DataTable class.
///</summary> ///</summary>
@@ -20620,6 +20655,321 @@ namespace AppData {
} }
} }
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class OrderSearchDataTable : global::System.Data.TypedTableBase<OrderSearchRow> {
private global::System.Data.DataColumn columnOrderExtCode;
private global::System.Data.DataColumn columnMODEL;
private global::System.Data.DataColumn columnFRAME_QTY;
private global::System.Data.DataColumn columnMRP_PART;
private global::System.Data.DataColumn columnQTY;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public OrderSearchDataTable() {
this.TableName = "OrderSearch";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal OrderSearchDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected OrderSearchDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn OrderExtCodeColumn {
get {
return this.columnOrderExtCode;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn MODELColumn {
get {
return this.columnMODEL;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn FRAME_QTYColumn {
get {
return this.columnFRAME_QTY;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn MRP_PARTColumn {
get {
return this.columnMRP_PART;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn QTYColumn {
get {
return this.columnQTY;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public OrderSearchRow this[int index] {
get {
return ((OrderSearchRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public event OrderSearchRowChangeEventHandler OrderSearchRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public event OrderSearchRowChangeEventHandler OrderSearchRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public event OrderSearchRowChangeEventHandler OrderSearchRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public event OrderSearchRowChangeEventHandler OrderSearchRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public void AddOrderSearchRow(OrderSearchRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public OrderSearchRow AddOrderSearchRow(string OrderExtCode, string MODEL, int FRAME_QTY, string MRP_PART, int QTY) {
OrderSearchRow rowOrderSearchRow = ((OrderSearchRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
OrderExtCode,
MODEL,
FRAME_QTY,
MRP_PART,
QTY};
rowOrderSearchRow.ItemArray = columnValuesArray;
this.Rows.Add(rowOrderSearchRow);
return rowOrderSearchRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public override global::System.Data.DataTable Clone() {
OrderSearchDataTable cln = ((OrderSearchDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new OrderSearchDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal void InitVars() {
this.columnOrderExtCode = base.Columns["OrderExtCode"];
this.columnMODEL = base.Columns["MODEL"];
this.columnFRAME_QTY = base.Columns["FRAME_QTY"];
this.columnMRP_PART = base.Columns["MRP_PART"];
this.columnQTY = base.Columns["QTY"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitClass() {
this.columnOrderExtCode = new global::System.Data.DataColumn("OrderExtCode", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnOrderExtCode);
this.columnMODEL = new global::System.Data.DataColumn("MODEL", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMODEL);
this.columnFRAME_QTY = new global::System.Data.DataColumn("FRAME_QTY", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFRAME_QTY);
this.columnMRP_PART = new global::System.Data.DataColumn("MRP_PART", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMRP_PART);
this.columnQTY = new global::System.Data.DataColumn("QTY", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnQTY);
this.Constraints.Add(new global::System.Data.UniqueConstraint("OrderSearchKey1", new global::System.Data.DataColumn[] {
this.columnOrderExtCode,
this.columnMODEL,
this.columnMRP_PART}, false));
this.columnOrderExtCode.AllowDBNull = false;
this.columnOrderExtCode.MaxLength = 250;
this.columnMODEL.AllowDBNull = false;
this.columnMODEL.MaxLength = 250;
this.columnFRAME_QTY.ReadOnly = true;
this.columnMRP_PART.ReadOnly = true;
this.columnMRP_PART.MaxLength = 500;
this.columnQTY.ReadOnly = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public OrderSearchRow NewOrderSearchRow() {
return ((OrderSearchRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new OrderSearchRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(OrderSearchRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.OrderSearchRowChanged != null)) {
this.OrderSearchRowChanged(this, new OrderSearchRowChangeEvent(((OrderSearchRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.OrderSearchRowChanging != null)) {
this.OrderSearchRowChanging(this, new OrderSearchRowChangeEvent(((OrderSearchRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.OrderSearchRowDeleted != null)) {
this.OrderSearchRowDeleted(this, new OrderSearchRowChangeEvent(((OrderSearchRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.OrderSearchRowDeleting != null)) {
this.OrderSearchRowDeleting(this, new OrderSearchRowChangeEvent(((OrderSearchRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public void RemoveOrderSearchRow(OrderSearchRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_App ds = new DS_App();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "OrderSearchDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary> /// <summary>
///Represents strongly named DataRow class. ///Represents strongly named DataRow class.
///</summary> ///</summary>
@@ -29182,6 +29532,127 @@ namespace AppData {
} }
} }
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class OrderSearchRow : global::System.Data.DataRow {
private OrderSearchDataTable tableOrderSearch;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal OrderSearchRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableOrderSearch = ((OrderSearchDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string OrderExtCode {
get {
return ((string)(this[this.tableOrderSearch.OrderExtCodeColumn]));
}
set {
this[this.tableOrderSearch.OrderExtCodeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string MODEL {
get {
return ((string)(this[this.tableOrderSearch.MODELColumn]));
}
set {
this[this.tableOrderSearch.MODELColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public int FRAME_QTY {
get {
try {
return ((int)(this[this.tableOrderSearch.FRAME_QTYColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'FRAME_QTY\' in table \'OrderSearch\' is DBNull.", e);
}
}
set {
this[this.tableOrderSearch.FRAME_QTYColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string MRP_PART {
get {
try {
return ((string)(this[this.tableOrderSearch.MRP_PARTColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'MRP_PART\' in table \'OrderSearch\' is DBNull.", e);
}
}
set {
this[this.tableOrderSearch.MRP_PARTColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public int QTY {
get {
try {
return ((int)(this[this.tableOrderSearch.QTYColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'QTY\' in table \'OrderSearch\' is DBNull.", e);
}
}
set {
this[this.tableOrderSearch.QTYColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool IsFRAME_QTYNull() {
return this.IsNull(this.tableOrderSearch.FRAME_QTYColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public void SetFRAME_QTYNull() {
this[this.tableOrderSearch.FRAME_QTYColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool IsMRP_PARTNull() {
return this.IsNull(this.tableOrderSearch.MRP_PARTColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public void SetMRP_PARTNull() {
this[this.tableOrderSearch.MRP_PARTColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool IsQTYNull() {
return this.IsNull(this.tableOrderSearch.QTYColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public void SetQTYNull() {
this[this.tableOrderSearch.QTYColumn] = global::System.Convert.DBNull;
}
}
/// <summary> /// <summary>
///Row event argument class ///Row event argument class
///</summary> ///</summary>
@@ -30779,6 +31250,40 @@ namespace AppData {
} }
} }
} }
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public class OrderSearchRowChangeEvent : global::System.EventArgs {
private OrderSearchRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public OrderSearchRowChangeEvent(OrderSearchRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public OrderSearchRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
} }
} }
namespace AppData.DS_AppTableAdapters { namespace AppData.DS_AppTableAdapters {
@@ -47336,6 +47841,217 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
} }
} }
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class OrderSearchTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public OrderSearchTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "OrderSearch";
tableMapping.ColumnMappings.Add("OrderExtCode", "OrderExtCode");
tableMapping.ColumnMappings.Add("MODEL", "MODEL");
tableMapping.ColumnMappings.Add("FRAME_QTY", "FRAME_QTY");
tableMapping.ColumnMappings.Add("MRP_PART", "MRP_PART");
tableMapping.ColumnMappings.Add("QTY", "QTY");
this._adapter.TableMappings.Add(tableMapping);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::AppData.Properties.Settings.Default.Sauder_NKCConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "dbo.stp_OrderSearch";
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodOrder", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodModel", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPart", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_App.OrderSearchDataTable dataTable, string CodOrder, string CodModel, string CodPart) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((CodOrder == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodOrder));
}
if ((CodModel == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodModel));
}
if ((CodPart == null)) {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodPart));
}
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_App.OrderSearchDataTable GetData(string CodOrder, string CodModel, string CodPart) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((CodOrder == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodOrder));
}
if ((CodModel == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodModel));
}
if ((CodPart == null)) {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodPart));
}
DS_App.OrderSearchDataTable dataTable = new DS_App.OrderSearchDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary> /// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary> ///</summary>
+100 -78
View File
@@ -3969,45 +3969,7 @@ FROM ProductionStatsDay</CommandText>
<Mapping SourceColumn="MinRun" DataSetColumn="MinRun" /> <Mapping SourceColumn="MinRun" DataSetColumn="MinRun" />
<Mapping SourceColumn="MinDisp" DataSetColumn="MinDisp" /> <Mapping SourceColumn="MinDisp" DataSetColumn="MinDisp" />
</Mappings> </Mappings>
<Sources> <Sources />
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_ProdStatDay_getFilt" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getFilt" GetMethodModifier="Public" GetMethodName="getFilt" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getFilt" UserSourceName="getFilt">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ProdStatDay_getFilt</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dtStart" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dtEnd" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_ProdStatDay_getLast" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getLast" GetMethodModifier="Public" GetMethodName="getLast" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getLast" UserSourceName="getLast">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ProdStatDay_getLast</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_STATS_ProductionUpdate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="ProductionUpdate" Modifier="Public" Name="ProductionUpdate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="ProductionUpdate">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_STATS_ProductionUpdate</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dtStart" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dtEnd" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@DayGroup" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter> </TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PlantListTableAdapter" GeneratorDataComponentClassName="PlantListTableAdapter" Name="PlantList" UserDataComponentName="PlantListTableAdapter"> <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PlantListTableAdapter" GeneratorDataComponentClassName="PlantListTableAdapter" Name="PlantList" UserDataComponentName="PlantListTableAdapter">
<MainSource> <MainSource>
@@ -4186,6 +4148,31 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
</DbSource> </DbSource>
</Sources> </Sources>
</TableAdapter> </TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OrderSearchTableAdapter" GeneratorDataComponentClassName="OrderSearchTableAdapter" Name="OrderSearch" UserDataComponentName="OrderSearchTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OrderSearch" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="true">
<CommandText>dbo.stp_OrderSearch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodOrder" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodModel" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodPart" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="MODEL" DataSetColumn="MODEL" />
<Mapping SourceColumn="FRAME_QTY" DataSetColumn="FRAME_QTY" />
<Mapping SourceColumn="MRP_PART" DataSetColumn="MRP_PART" />
<Mapping SourceColumn="QTY" DataSetColumn="QTY" />
</Mappings>
<Sources />
</TableAdapter>
</Tables> </Tables>
<Sources /> <Sources />
</DataSource> </DataSource>
@@ -4970,93 +4957,93 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="ItemID" msprop:Generator_ColumnPropNameInTable="ItemIDColumn" msprop:Generator_ColumnPropNameInRow="ItemID" msprop:Generator_UserColumnName="ItemID" msprop:Generator_ColumnVarNameInTable="columnItemID" type="xs:int" /> <xs:element name="ItemID" msprop:Generator_ColumnPropNameInTable="ItemIDColumn" msprop:Generator_ColumnPropNameInRow="ItemID" msprop:Generator_UserColumnName="ItemID" msprop:Generator_ColumnVarNameInTable="columnItemID" type="xs:int" />
<xs:element name="StatusID" msprop:Generator_UserColumnName="StatusID" msprop:Generator_ColumnPropNameInTable="StatusIDColumn" msprop:Generator_ColumnPropNameInRow="StatusID" msprop:Generator_ColumnVarNameInTable="columnStatusID" type="xs:int" /> <xs:element name="StatusID" msprop:Generator_ColumnPropNameInTable="StatusIDColumn" msprop:Generator_ColumnPropNameInRow="StatusID" msprop:Generator_UserColumnName="StatusID" msprop:Generator_ColumnVarNameInTable="columnStatusID" type="xs:int" />
<xs:element name="KitID" msprop:Generator_UserColumnName="KitID" msprop:Generator_ColumnPropNameInTable="KitIDColumn" msprop:Generator_ColumnPropNameInRow="KitID" msprop:Generator_ColumnVarNameInTable="columnKitID" type="xs:int" minOccurs="0" /> <xs:element name="KitID" msprop:Generator_ColumnPropNameInTable="KitIDColumn" msprop:Generator_ColumnPropNameInRow="KitID" msprop:Generator_UserColumnName="KitID" msprop:Generator_ColumnVarNameInTable="columnKitID" type="xs:int" minOccurs="0" />
<xs:element name="ItemDtmx" msprop:Generator_UserColumnName="ItemDtmx" msprop:Generator_ColumnPropNameInTable="ItemDtmxColumn" msprop:Generator_ColumnPropNameInRow="ItemDtmx" msprop:Generator_ColumnVarNameInTable="columnItemDtmx" minOccurs="0"> <xs:element name="ItemDtmx" msprop:Generator_ColumnPropNameInTable="ItemDtmxColumn" msprop:Generator_ColumnPropNameInRow="ItemDtmx" msprop:Generator_UserColumnName="ItemDtmx" msprop:Generator_ColumnVarNameInTable="columnItemDtmx" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="50" /> <xs:maxLength value="50" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="ItemExtCode" msprop:Generator_UserColumnName="ItemExtCode" msprop:Generator_ColumnPropNameInTable="ItemExtCodeColumn" msprop:Generator_ColumnPropNameInRow="ItemExtCode" msprop:Generator_ColumnVarNameInTable="columnItemExtCode"> <xs:element name="ItemExtCode" msprop:Generator_ColumnPropNameInTable="ItemExtCodeColumn" msprop:Generator_ColumnPropNameInRow="ItemExtCode" msprop:Generator_UserColumnName="ItemExtCode" msprop:Generator_ColumnVarNameInTable="columnItemExtCode">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="250" /> <xs:maxLength value="250" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="ItemDesc" msprop:Generator_UserColumnName="ItemDesc" msprop:Generator_ColumnPropNameInTable="ItemDescColumn" msprop:Generator_ColumnPropNameInRow="ItemDesc" msprop:Generator_ColumnVarNameInTable="columnItemDesc"> <xs:element name="ItemDesc" msprop:Generator_ColumnPropNameInTable="ItemDescColumn" msprop:Generator_ColumnPropNameInRow="ItemDesc" msprop:Generator_UserColumnName="ItemDesc" msprop:Generator_ColumnVarNameInTable="columnItemDesc">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="500" /> <xs:maxLength value="500" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="ItemNote" msprop:Generator_UserColumnName="ItemNote" msprop:Generator_ColumnPropNameInTable="ItemNoteColumn" msprop:Generator_ColumnPropNameInRow="ItemNote" msprop:Generator_ColumnVarNameInTable="columnItemNote"> <xs:element name="ItemNote" msprop:Generator_ColumnPropNameInTable="ItemNoteColumn" msprop:Generator_ColumnPropNameInRow="ItemNote" msprop:Generator_UserColumnName="ItemNote" msprop:Generator_ColumnVarNameInTable="columnItemNote">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="500" /> <xs:maxLength value="500" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="ItemQty" msprop:Generator_UserColumnName="ItemQty" msprop:Generator_ColumnPropNameInTable="ItemQtyColumn" msprop:Generator_ColumnPropNameInRow="ItemQty" msprop:Generator_ColumnVarNameInTable="columnItemQty" type="xs:int" /> <xs:element name="ItemQty" msprop:Generator_ColumnPropNameInTable="ItemQtyColumn" msprop:Generator_ColumnPropNameInRow="ItemQty" msprop:Generator_UserColumnName="ItemQty" msprop:Generator_ColumnVarNameInTable="columnItemQty" type="xs:int" />
<xs:element name="MatID" msprop:Generator_UserColumnName="MatID" msprop:Generator_ColumnPropNameInTable="MatIDColumn" msprop:Generator_ColumnPropNameInRow="MatID" msprop:Generator_ColumnVarNameInTable="columnMatID" type="xs:int" /> <xs:element name="MatID" msprop:Generator_ColumnPropNameInTable="MatIDColumn" msprop:Generator_ColumnPropNameInRow="MatID" msprop:Generator_UserColumnName="MatID" msprop:Generator_ColumnVarNameInTable="columnMatID" type="xs:int" />
<xs:element name="MachiningReq" msprop:Generator_UserColumnName="MachiningReq" msprop:Generator_ColumnPropNameInTable="MachiningReqColumn" msprop:Generator_ColumnPropNameInRow="MachiningReq" msprop:Generator_ColumnVarNameInTable="columnMachiningReq" type="xs:boolean" /> <xs:element name="MachiningReq" msprop:Generator_ColumnPropNameInTable="MachiningReqColumn" msprop:Generator_ColumnPropNameInRow="MachiningReq" msprop:Generator_UserColumnName="MachiningReq" msprop:Generator_ColumnVarNameInTable="columnMachiningReq" type="xs:boolean" />
<xs:element name="PostProcList" msprop:Generator_UserColumnName="PostProcList" msprop:Generator_ColumnPropNameInTable="PostProcListColumn" msprop:Generator_ColumnPropNameInRow="PostProcList" msprop:Generator_ColumnVarNameInTable="columnPostProcList"> <xs:element name="PostProcList" msprop:Generator_ColumnPropNameInTable="PostProcListColumn" msprop:Generator_ColumnPropNameInRow="PostProcList" msprop:Generator_UserColumnName="PostProcList" msprop:Generator_ColumnVarNameInTable="columnPostProcList">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="250" /> <xs:maxLength value="250" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="ProcessesReq" msprop:Generator_UserColumnName="ProcessesReq" msprop:Generator_ColumnPropNameInTable="ProcessesReqColumn" msprop:Generator_ColumnPropNameInRow="ProcessesReq" msprop:Generator_ColumnVarNameInTable="columnProcessesReq"> <xs:element name="ProcessesReq" msprop:Generator_ColumnPropNameInTable="ProcessesReqColumn" msprop:Generator_ColumnPropNameInRow="ProcessesReq" msprop:Generator_UserColumnName="ProcessesReq" msprop:Generator_ColumnVarNameInTable="columnProcessesReq">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="250" /> <xs:maxLength value="250" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="CadFilePath" msprop:Generator_UserColumnName="CadFilePath" msprop:Generator_ColumnPropNameInTable="CadFilePathColumn" msprop:Generator_ColumnPropNameInRow="CadFilePath" msprop:Generator_ColumnVarNameInTable="columnCadFilePath"> <xs:element name="CadFilePath" msprop:Generator_ColumnPropNameInTable="CadFilePathColumn" msprop:Generator_ColumnPropNameInRow="CadFilePath" msprop:Generator_UserColumnName="CadFilePath" msprop:Generator_ColumnVarNameInTable="columnCadFilePath">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="500" /> <xs:maxLength value="500" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="PdfFilePath" msprop:Generator_UserColumnName="PdfFilePath" msprop:Generator_ColumnPropNameInTable="PdfFilePathColumn" msprop:Generator_ColumnPropNameInRow="PdfFilePath" msprop:Generator_ColumnVarNameInTable="columnPdfFilePath"> <xs:element name="PdfFilePath" msprop:Generator_ColumnPropNameInTable="PdfFilePathColumn" msprop:Generator_ColumnPropNameInRow="PdfFilePath" msprop:Generator_UserColumnName="PdfFilePath" msprop:Generator_ColumnVarNameInTable="columnPdfFilePath">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="500" /> <xs:maxLength value="500" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="OnCartDate" msdata:ReadOnly="true" msprop:Generator_UserColumnName="OnCartDate" msprop:Generator_ColumnPropNameInTable="OnCartDateColumn" msprop:Generator_ColumnPropNameInRow="OnCartDate" msprop:Generator_ColumnVarNameInTable="columnOnCartDate" type="xs:dateTime" minOccurs="0" /> <xs:element name="OnCartDate" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="OnCartDateColumn" msprop:Generator_ColumnPropNameInRow="OnCartDate" msprop:Generator_UserColumnName="OnCartDate" msprop:Generator_ColumnVarNameInTable="columnOnCartDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="PaintingReq" msdata:ReadOnly="true" msprop:Generator_UserColumnName="PaintingReq" msprop:Generator_ColumnPropNameInTable="PaintingReqColumn" msprop:Generator_ColumnPropNameInRow="PaintingReq" msprop:Generator_ColumnVarNameInTable="columnPaintingReq" type="xs:int" minOccurs="0" /> <xs:element name="PaintingReq" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="PaintingReqColumn" msprop:Generator_ColumnPropNameInRow="PaintingReq" msprop:Generator_UserColumnName="PaintingReq" msprop:Generator_ColumnVarNameInTable="columnPaintingReq" type="xs:int" minOccurs="0" />
<xs:element name="MatExtCode" msprop:Generator_UserColumnName="MatExtCode" msprop:Generator_ColumnPropNameInTable="MatExtCodeColumn" msprop:Generator_ColumnPropNameInRow="MatExtCode" msprop:Generator_ColumnVarNameInTable="columnMatExtCode" type="xs:int" /> <xs:element name="MatExtCode" msprop:Generator_ColumnPropNameInTable="MatExtCodeColumn" msprop:Generator_ColumnPropNameInRow="MatExtCode" msprop:Generator_UserColumnName="MatExtCode" msprop:Generator_ColumnVarNameInTable="columnMatExtCode" type="xs:int" />
<xs:element name="MatDesc" msprop:Generator_UserColumnName="MatDesc" msprop:Generator_ColumnPropNameInTable="MatDescColumn" msprop:Generator_ColumnPropNameInRow="MatDesc" msprop:Generator_ColumnVarNameInTable="columnMatDesc"> <xs:element name="MatDesc" msprop:Generator_ColumnPropNameInTable="MatDescColumn" msprop:Generator_ColumnPropNameInRow="MatDesc" msprop:Generator_UserColumnName="MatDesc" msprop:Generator_ColumnVarNameInTable="columnMatDesc">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="500" /> <xs:maxLength value="500" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="KitExtCode" msprop:Generator_UserColumnName="KitExtCode" msprop:Generator_ColumnPropNameInTable="KitExtCodeColumn" msprop:Generator_ColumnPropNameInRow="KitExtCode" msprop:Generator_ColumnVarNameInTable="columnKitExtCode" minOccurs="0"> <xs:element name="KitExtCode" msprop:Generator_ColumnPropNameInTable="KitExtCodeColumn" msprop:Generator_ColumnPropNameInRow="KitExtCode" msprop:Generator_UserColumnName="KitExtCode" msprop:Generator_ColumnVarNameInTable="columnKitExtCode" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="250" /> <xs:maxLength value="250" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" minOccurs="0" /> <xs:element name="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" minOccurs="0" />
<xs:element name="OrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode" minOccurs="0"> <xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="250" /> <xs:maxLength value="250" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="CartID" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CartID" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" type="xs:int" minOccurs="0" /> <xs:element name="CartID" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_UserColumnName="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" type="xs:int" minOccurs="0" />
<xs:element name="CartDtmx" msprop:Generator_ColumnPropNameInTable="CartDtmxColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="CartDtmx" msprop:Generator_UserColumnName="CartDtmx" msprop:Generator_ColumnVarNameInTable="columnCartDtmx" minOccurs="0"> <xs:element name="CartDtmx" msprop:Generator_ColumnPropNameInTable="CartDtmxColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="CartDtmx" msprop:Generator_UserColumnName="CartDtmx" msprop:Generator_ColumnVarNameInTable="columnCartDtmx" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -5064,8 +5051,8 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="CartIndex" msprop:Generator_UserColumnName="CartIndex" msprop:Generator_ColumnPropNameInTable="CartIndexColumn" msprop:Generator_ColumnPropNameInRow="CartIndex" msprop:Generator_ColumnVarNameInTable="columnCartIndex" type="xs:int" minOccurs="0" /> <xs:element name="CartIndex" msprop:Generator_ColumnPropNameInTable="CartIndexColumn" msprop:Generator_ColumnPropNameInRow="CartIndex" msprop:Generator_UserColumnName="CartIndex" msprop:Generator_ColumnVarNameInTable="columnCartIndex" type="xs:int" minOccurs="0" />
<xs:element name="BinID" msdata:ReadOnly="true" msprop:Generator_UserColumnName="BinID" msprop:Generator_ColumnPropNameInTable="BinIDColumn" msprop:Generator_ColumnPropNameInRow="BinID" msprop:Generator_ColumnVarNameInTable="columnBinID" type="xs:int" minOccurs="0" /> <xs:element name="BinID" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="BinIDColumn" msprop:Generator_ColumnPropNameInRow="BinID" msprop:Generator_UserColumnName="BinID" msprop:Generator_ColumnVarNameInTable="columnBinID" type="xs:int" minOccurs="0" />
<xs:element name="BinDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="BinDtmxColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="BinDtmx" msprop:Generator_UserColumnName="BinDtmx" msprop:Generator_ColumnVarNameInTable="columnBinDtmx" minOccurs="0"> <xs:element name="BinDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="BinDtmxColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="BinDtmx" msprop:Generator_UserColumnName="BinDtmx" msprop:Generator_ColumnVarNameInTable="columnBinDtmx" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -5073,8 +5060,8 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="BinIndex" msdata:ReadOnly="true" msprop:Generator_UserColumnName="BinIndex" msprop:Generator_ColumnPropNameInTable="BinIndexColumn" msprop:Generator_ColumnPropNameInRow="BinIndex" msprop:Generator_ColumnVarNameInTable="columnBinIndex" type="xs:int" minOccurs="0" /> <xs:element name="BinIndex" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="BinIndexColumn" msprop:Generator_ColumnPropNameInRow="BinIndex" msprop:Generator_UserColumnName="BinIndex" msprop:Generator_ColumnVarNameInTable="columnBinIndex" type="xs:int" minOccurs="0" />
<xs:element name="DueDate" msdata:ReadOnly="true" msprop:Generator_UserColumnName="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_ColumnVarNameInTable="columnDueDate" type="xs:dateTime" minOccurs="0" /> <xs:element name="DueDate" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="DueDateColumn" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_UserColumnName="DueDate" msprop:Generator_ColumnVarNameInTable="columnDueDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="PlaceCod" msprop:Generator_ColumnPropNameInTable="PlaceCodColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PlaceCod" msprop:Generator_UserColumnName="PlaceCod" msprop:Generator_ColumnVarNameInTable="columnPlaceCod"> <xs:element name="PlaceCod" msprop:Generator_ColumnPropNameInTable="PlaceCodColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PlaceCod" msprop:Generator_UserColumnName="PlaceCod" msprop:Generator_ColumnVarNameInTable="columnPlaceCod">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -5082,8 +5069,8 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="WrkEnd" msdata:ReadOnly="true" msprop:Generator_UserColumnName="WrkEnd" msprop:Generator_ColumnPropNameInTable="WrkEndColumn" msprop:Generator_ColumnPropNameInRow="WrkEnd" msprop:Generator_ColumnVarNameInTable="columnWrkEnd" type="xs:dateTime" minOccurs="0" /> <xs:element name="WrkEnd" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="WrkEndColumn" msprop:Generator_ColumnPropNameInRow="WrkEnd" msprop:Generator_UserColumnName="WrkEnd" msprop:Generator_ColumnVarNameInTable="columnWrkEnd" type="xs:dateTime" minOccurs="0" />
<xs:element name="UnlEnd" msdata:ReadOnly="true" msprop:Generator_UserColumnName="UnlEnd" msprop:Generator_ColumnPropNameInTable="UnlEndColumn" msprop:Generator_ColumnPropNameInRow="UnlEnd" msprop:Generator_ColumnVarNameInTable="columnUnlEnd" type="xs:dateTime" minOccurs="0" /> <xs:element name="UnlEnd" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="UnlEndColumn" msprop:Generator_ColumnPropNameInRow="UnlEnd" msprop:Generator_UserColumnName="UnlEnd" msprop:Generator_ColumnVarNameInTable="columnUnlEnd" type="xs:dateTime" minOccurs="0" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
@@ -5878,6 +5865,35 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="OrderSearch" msprop:Generator_RowEvHandlerName="OrderSearchRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderSearchRowDeleted" msprop:Generator_RowDeletingName="OrderSearchRowDeleting" msprop:Generator_RowEvArgName="OrderSearchRowChangeEvent" msprop:Generator_TablePropName="OrderSearch" msprop:Generator_RowChangedName="OrderSearchRowChanged" msprop:Generator_RowChangingName="OrderSearchRowChanging" msprop:Generator_TableClassName="OrderSearchDataTable" msprop:Generator_RowClassName="OrderSearchRow" msprop:Generator_TableVarName="tableOrderSearch" msprop:Generator_UserTableName="OrderSearch">
<xs:complexType>
<xs:sequence>
<xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode" msprop:Generator_UserColumnName="OrderExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MODEL" msprop:Generator_ColumnPropNameInRow="MODEL" msprop:Generator_ColumnPropNameInTable="MODELColumn" msprop:Generator_ColumnVarNameInTable="columnMODEL" msprop:Generator_UserColumnName="MODEL">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FRAME_QTY" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="FRAME_QTY" msprop:Generator_ColumnPropNameInTable="FRAME_QTYColumn" msprop:Generator_ColumnVarNameInTable="columnFRAME_QTY" msprop:Generator_UserColumnName="FRAME_QTY" type="xs:int" minOccurs="0" />
<xs:element name="MRP_PART" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="MRP_PART" msprop:Generator_ColumnPropNameInTable="MRP_PARTColumn" msprop:Generator_ColumnVarNameInTable="columnMRP_PART" msprop:Generator_UserColumnName="MRP_PART" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="QTY" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="QTY" msprop:Generator_ColumnPropNameInTable="QTYColumn" msprop:Generator_ColumnVarNameInTable="columnQTY" msprop:Generator_UserColumnName="QTY" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice> </xs:choice>
</xs:complexType> </xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true"> <xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -6067,21 +6083,27 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
<xs:selector xpath=".//mstns:SpecialParts" /> <xs:selector xpath=".//mstns:SpecialParts" />
<xs:field xpath="mstns:SpecPartCod" /> <xs:field xpath="mstns:SpecPartCod" />
</xs:unique> </xs:unique>
<xs:unique name="OrderSearchKey1">
<xs:selector xpath=".//mstns:OrderSearch" />
<xs:field xpath="mstns:OrderExtCode" />
<xs:field xpath="mstns:MODEL" />
<xs:field xpath="mstns:MRP_PART" />
</xs:unique>
</xs:element> </xs:element>
<xs:annotation> <xs:annotation>
<xs:appinfo> <xs:appinfo>
<msdata:Relationship name="FK_ItemList_Materials1" msdata:parent="Materials" msdata:child="ItemList" msdata:parentkey="MatID" msdata:childkey="MatID" msprop:Generator_UserParentTable="Materials" msprop:Generator_UserChildTable="ItemList" msprop:Generator_RelationVarName="relationFK_ItemList_Materials1" msprop:Generator_ChildPropName="GetItemListRows" msprop:Generator_ParentPropName="MaterialsRow" msprop:Generator_UserRelationName="FK_ItemList_Materials1" /> <msdata:Relationship name="FK_ItemList_Materials1" msdata:parent="Materials" msdata:child="ItemList" msdata:parentkey="MatID" msdata:childkey="MatID" msprop:Generator_UserParentTable="Materials" msprop:Generator_UserChildTable="ItemList" msprop:Generator_RelationVarName="relationFK_ItemList_Materials1" msprop:Generator_ChildPropName="GetItemListRows" msprop:Generator_UserRelationName="FK_ItemList_Materials1" msprop:Generator_ParentPropName="MaterialsRow" />
<msdata:Relationship name="FK_OffOrd2Item_OfflineOrderList" msdata:parent="OfflineOrderList" msdata:child="OffOrd2Item" msdata:parentkey="OrdID" msdata:childkey="OrdID" msprop:Generator_UserParentTable="OfflineOrderList" msprop:Generator_UserChildTable="OffOrd2Item" msprop:Generator_RelationVarName="relationFK_OffOrd2Item_OfflineOrderList" msprop:Generator_ChildPropName="GetOffOrd2ItemRows" msprop:Generator_ParentPropName="OfflineOrderListRow" msprop:Generator_UserRelationName="FK_OffOrd2Item_OfflineOrderList" /> <msdata:Relationship name="FK_OffOrd2Item_OfflineOrderList" msdata:parent="OfflineOrderList" msdata:child="OffOrd2Item" msdata:parentkey="OrdID" msdata:childkey="OrdID" msprop:Generator_UserParentTable="OfflineOrderList" msprop:Generator_UserChildTable="OffOrd2Item" msprop:Generator_RelationVarName="relationFK_OffOrd2Item_OfflineOrderList" msprop:Generator_ChildPropName="GetOffOrd2ItemRows" msprop:Generator_UserRelationName="FK_OffOrd2Item_OfflineOrderList" msprop:Generator_ParentPropName="OfflineOrderListRow" />
<msdata:Relationship name="FK_ItemList_KitList" msdata:parent="KitList" msdata:child="ItemList" msdata:parentkey="KitID" msdata:childkey="KitID" msprop:Generator_UserParentTable="KitList" msprop:Generator_UserChildTable="ItemList" msprop:Generator_RelationVarName="relationFK_ItemList_KitList" msprop:Generator_ChildPropName="GetItemListRows" msprop:Generator_ParentPropName="KitListRow" msprop:Generator_UserRelationName="FK_ItemList_KitList" /> <msdata:Relationship name="FK_ItemList_KitList" msdata:parent="KitList" msdata:child="ItemList" msdata:parentkey="KitID" msdata:childkey="KitID" msprop:Generator_UserParentTable="KitList" msprop:Generator_UserChildTable="ItemList" msprop:Generator_RelationVarName="relationFK_ItemList_KitList" msprop:Generator_ChildPropName="GetItemListRows" msprop:Generator_UserRelationName="FK_ItemList_KitList" msprop:Generator_ParentPropName="KitListRow" />
<msdata:Relationship name="FK_Nesting_ItemList" msdata:parent="ItemList" msdata:child="Nesting" msdata:parentkey="ItemID" msdata:childkey="ItemID" msprop:Generator_UserParentTable="ItemList" msprop:Generator_UserChildTable="Nesting" msprop:Generator_RelationVarName="relationFK_Nesting_ItemList" msprop:Generator_ChildPropName="GetNestingRows" msprop:Generator_ParentPropName="ItemListRow" msprop:Generator_UserRelationName="FK_Nesting_ItemList" /> <msdata:Relationship name="FK_Nesting_ItemList" msdata:parent="ItemList" msdata:child="Nesting" msdata:parentkey="ItemID" msdata:childkey="ItemID" msprop:Generator_UserParentTable="ItemList" msprop:Generator_UserChildTable="Nesting" msprop:Generator_RelationVarName="relationFK_Nesting_ItemList" msprop:Generator_ChildPropName="GetNestingRows" msprop:Generator_UserRelationName="FK_Nesting_ItemList" msprop:Generator_ParentPropName="ItemListRow" />
<msdata:Relationship name="FK_KitList_Carts" msdata:parent="Carts" msdata:child="KitList" msdata:parentkey="CartID" msdata:childkey="CartID" msprop:Generator_UserParentTable="Carts" msprop:Generator_UserChildTable="KitList" msprop:Generator_RelationVarName="relationFK_KitList_Carts" msprop:Generator_ChildPropName="GetKitListRows" msprop:Generator_ParentPropName="CartsRow" msprop:Generator_UserRelationName="FK_KitList_Carts" /> <msdata:Relationship name="FK_KitList_Carts" msdata:parent="Carts" msdata:child="KitList" msdata:parentkey="CartID" msdata:childkey="CartID" msprop:Generator_UserParentTable="Carts" msprop:Generator_UserChildTable="KitList" msprop:Generator_RelationVarName="relationFK_KitList_Carts" msprop:Generator_ChildPropName="GetKitListRows" msprop:Generator_UserRelationName="FK_KitList_Carts" msprop:Generator_ParentPropName="CartsRow" />
<msdata:Relationship name="FK_KitList_OrderList" msdata:parent="OrderList" msdata:child="KitList" msdata:parentkey="OrdID" msdata:childkey="OrdID" msprop:Generator_UserParentTable="OrderList" msprop:Generator_UserChildTable="KitList" msprop:Generator_RelationVarName="relationFK_KitList_OrderList" msprop:Generator_ChildPropName="GetKitListRows" msprop:Generator_ParentPropName="OrderListRow" msprop:Generator_UserRelationName="FK_KitList_OrderList" /> <msdata:Relationship name="FK_KitList_OrderList" msdata:parent="OrderList" msdata:child="KitList" msdata:parentkey="OrdID" msdata:childkey="OrdID" msprop:Generator_UserParentTable="OrderList" msprop:Generator_UserChildTable="KitList" msprop:Generator_RelationVarName="relationFK_KitList_OrderList" msprop:Generator_ChildPropName="GetKitListRows" msprop:Generator_UserRelationName="FK_KitList_OrderList" msprop:Generator_ParentPropName="OrderListRow" />
<msdata:Relationship name="FK_OffOrd2Item_ItemList" msdata:parent="ItemList" msdata:child="OffOrd2Item" msdata:parentkey="ItemID" msdata:childkey="ItemID" msprop:Generator_UserParentTable="ItemList" msprop:Generator_UserChildTable="OffOrd2Item" msprop:Generator_RelationVarName="relationFK_OffOrd2Item_ItemList" msprop:Generator_ChildPropName="GetOffOrd2ItemRows" msprop:Generator_ParentPropName="ItemListRow" msprop:Generator_UserRelationName="FK_OffOrd2Item_ItemList" /> <msdata:Relationship name="FK_OffOrd2Item_ItemList" msdata:parent="ItemList" msdata:child="OffOrd2Item" msdata:parentkey="ItemID" msdata:childkey="ItemID" msprop:Generator_UserParentTable="ItemList" msprop:Generator_UserChildTable="OffOrd2Item" msprop:Generator_RelationVarName="relationFK_OffOrd2Item_ItemList" msprop:Generator_ChildPropName="GetOffOrd2ItemRows" msprop:Generator_UserRelationName="FK_OffOrd2Item_ItemList" msprop:Generator_ParentPropName="ItemListRow" />
<msdata:Relationship name="FK_BinList_Bins" msdata:parent="Bins" msdata:child="BinList" msdata:parentkey="BinID" msdata:childkey="BinID" msprop:Generator_UserParentTable="Bins" msprop:Generator_UserChildTable="BinList" msprop:Generator_RelationVarName="relationFK_BinList_Bins" msprop:Generator_ChildPropName="GetBinListRows" msprop:Generator_ParentPropName="BinsRow" msprop:Generator_UserRelationName="FK_BinList_Bins" /> <msdata:Relationship name="FK_BinList_Bins" msdata:parent="Bins" msdata:child="BinList" msdata:parentkey="BinID" msdata:childkey="BinID" msprop:Generator_UserParentTable="Bins" msprop:Generator_UserChildTable="BinList" msprop:Generator_RelationVarName="relationFK_BinList_Bins" msprop:Generator_ChildPropName="GetBinListRows" msprop:Generator_UserRelationName="FK_BinList_Bins" msprop:Generator_ParentPropName="BinsRow" />
<msdata:Relationship name="FK_BinList_ItemList" msdata:parent="ItemList" msdata:child="BinList" msdata:parentkey="ItemID" msdata:childkey="ItemID" msprop:Generator_UserParentTable="ItemList" msprop:Generator_UserChildTable="BinList" msprop:Generator_RelationVarName="relationFK_BinList_ItemList" msprop:Generator_ChildPropName="GetBinListRows" msprop:Generator_ParentPropName="ItemListRow" msprop:Generator_UserRelationName="FK_BinList_ItemList" /> <msdata:Relationship name="FK_BinList_ItemList" msdata:parent="ItemList" msdata:child="BinList" msdata:parentkey="ItemID" msdata:childkey="ItemID" msprop:Generator_UserParentTable="ItemList" msprop:Generator_UserChildTable="BinList" msprop:Generator_RelationVarName="relationFK_BinList_ItemList" msprop:Generator_ChildPropName="GetBinListRows" msprop:Generator_UserRelationName="FK_BinList_ItemList" msprop:Generator_ParentPropName="ItemListRow" />
<msdata:Relationship name="FK_Order2FinalKit_FinalKit" msdata:parent="FinalKit" msdata:child="Order2FinalKit" msdata:parentkey="FinalKitID" msdata:childkey="FinalKitID" msprop:Generator_UserParentTable="FinalKit" msprop:Generator_UserChildTable="Order2FinalKit" msprop:Generator_RelationVarName="relationFK_Order2FinalKit_FinalKit" msprop:Generator_ChildPropName="GetOrder2FinalKitRows" msprop:Generator_UserRelationName="FK_Order2FinalKit_FinalKit" msprop:Generator_ParentPropName="FinalKitRow" /> <msdata:Relationship name="FK_Order2FinalKit_FinalKit" msdata:parent="FinalKit" msdata:child="Order2FinalKit" msdata:parentkey="FinalKitID" msdata:childkey="FinalKitID" msprop:Generator_UserParentTable="FinalKit" msprop:Generator_UserChildTable="Order2FinalKit" msprop:Generator_RelationVarName="relationFK_Order2FinalKit_FinalKit" msprop:Generator_ChildPropName="GetOrder2FinalKitRows" msprop:Generator_ParentPropName="FinalKitRow" msprop:Generator_UserRelationName="FK_Order2FinalKit_FinalKit" />
<msdata:Relationship name="FK_Order2FinalKit_OrderList" msdata:parent="OrderList" msdata:child="Order2FinalKit" msdata:parentkey="OrdID" msdata:childkey="OrdID" msprop:Generator_UserParentTable="OrderList" msprop:Generator_UserChildTable="Order2FinalKit" msprop:Generator_RelationVarName="relationFK_Order2FinalKit_OrderList" msprop:Generator_ChildPropName="GetOrder2FinalKitRows" msprop:Generator_UserRelationName="FK_Order2FinalKit_OrderList" msprop:Generator_ParentPropName="OrderListRow" /> <msdata:Relationship name="FK_Order2FinalKit_OrderList" msdata:parent="OrderList" msdata:child="Order2FinalKit" msdata:parentkey="OrdID" msdata:childkey="OrdID" msprop:Generator_UserParentTable="OrderList" msprop:Generator_UserChildTable="Order2FinalKit" msprop:Generator_RelationVarName="relationFK_Order2FinalKit_OrderList" msprop:Generator_ChildPropName="GetOrder2FinalKitRows" msprop:Generator_ParentPropName="OrderListRow" msprop:Generator_UserRelationName="FK_Order2FinalKit_OrderList" />
<msdata:Relationship name="FK_StatusLog_Places" msdata:parent="Places" msdata:child="StatusLog" msdata:parentkey="PlaceCod" msdata:childkey="PlaceCod" msprop:Generator_UserParentTable="Places" msprop:Generator_UserChildTable="StatusLog" msprop:Generator_RelationVarName="relationFK_StatusLog_Places" msprop:Generator_ChildPropName="GetStatusLogRows" msprop:Generator_UserRelationName="FK_StatusLog_Places" msprop:Generator_ParentPropName="PlacesRow" /> <msdata:Relationship name="FK_StatusLog_Places" msdata:parent="Places" msdata:child="StatusLog" msdata:parentkey="PlaceCod" msdata:childkey="PlaceCod" msprop:Generator_UserParentTable="Places" msprop:Generator_UserChildTable="StatusLog" msprop:Generator_RelationVarName="relationFK_StatusLog_Places" msprop:Generator_ChildPropName="GetStatusLogRows" msprop:Generator_ParentPropName="PlacesRow" msprop:Generator_UserRelationName="FK_StatusLog_Places" />
</xs:appinfo> </xs:appinfo>
</xs:annotation> </xs:annotation>
</xs:schema> </xs:schema>
+62 -61
View File
@@ -4,58 +4,59 @@
Changes to this file may cause incorrect behavior and will be lost if Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated. the code is regenerated.
</autogenerated>--> </autogenerated>-->
<DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-53" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> <DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="36" ViewPortY="2195" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes> <Shapes>
<Shape ID="DesignTable:BatchList" ZOrder="13" X="325" Y="437" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:BatchList" ZOrder="15" X="325" Y="437" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:StackList" ZOrder="14" X="618" Y="961" Height="381" Width="268" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:StackList" ZOrder="16" X="618" Y="961" Height="381" Width="267" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:SheetList" ZOrder="11" X="300" Y="824" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:SheetList" ZOrder="13" X="300" Y="824" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:OrderList" ZOrder="23" X="284" Y="61" Height="343" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:OrderList" ZOrder="25" X="284" Y="61" Height="343" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ItemList" ZOrder="48" X="853" Y="87" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:ItemList" ZOrder="49" X="853" Y="87" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Materials" ZOrder="4" X="1227" Y="25" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" /> <Shape ID="DesignTable:Materials" ZOrder="7" X="1227" Y="25" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:Bins" ZOrder="22" X="1257" Y="597" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:Bins" ZOrder="24" X="1257" Y="597" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Carts" ZOrder="47" X="592" Y="408" Height="286" Width="204" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" /> <Shape ID="DesignTable:Carts" ZOrder="48" X="592" Y="408" Height="286" Width="203" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:OfflineOrderList" ZOrder="46" X="921" Y="934" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" /> <Shape ID="DesignTable:OfflineOrderList" ZOrder="47" X="921" Y="934" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:OffOrd2Item" ZOrder="45" X="1023" Y="728" Height="134" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" /> <Shape ID="DesignTable:OffOrd2Item" ZOrder="46" X="1023" Y="728" Height="134" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:KitList" ZOrder="5" X="634" Y="129" Height="248" Width="194" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" /> <Shape ID="DesignTable:KitList" ZOrder="8" X="634" Y="129" Height="248" Width="193" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Nesting" ZOrder="44" X="863" Y="526" Height="153" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" /> <Shape ID="DesignTable:Nesting" ZOrder="45" X="863" Y="526" Height="153" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:ImportLog" ZOrder="43" X="593" Y="701" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" /> <Shape ID="DesignTable:ImportLog" ZOrder="3" X="593" Y="701" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:BinList" ZOrder="42" X="1256" Y="391" Height="134" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" /> <Shape ID="DesignTable:BinList" ZOrder="44" X="1256" Y="391" Height="134" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:FinalKit" ZOrder="41" X="15" Y="525" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" /> <Shape ID="DesignTable:FinalKit" ZOrder="43" X="15" Y="525" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:Order2FinalKit" ZOrder="40" X="5" Y="308" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" /> <Shape ID="DesignTable:Order2FinalKit" ZOrder="42" X="5" Y="308" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:Counters" ZOrder="39" X="-12" Y="716" Height="172" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" /> <Shape ID="DesignTable:Counters" ZOrder="41" X="-12" Y="716" Height="172" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ErrorsLog" ZOrder="38" X="-14" Y="996" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" /> <Shape ID="DesignTable:ErrorsLog" ZOrder="40" X="-14" Y="996" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:ItemValidation" ZOrder="37" X="-10" Y="1301" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" /> <Shape ID="DesignTable:ItemValidation" ZOrder="39" X="-10" Y="1301" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PartValidPareto" ZOrder="36" X="316" Y="1303" Height="153" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" /> <Shape ID="DesignTable:PartValidPareto" ZOrder="38" X="316" Y="1303" Height="153" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:UnloadStats" ZOrder="35" X="629" Y="1362" Height="172" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" /> <Shape ID="DesignTable:UnloadStats" ZOrder="37" X="629" Y="1362" Height="172" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Remnants" ZOrder="34" X="904" Y="1256" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" /> <Shape ID="DesignTable:Remnants" ZOrder="36" X="904" Y="1256" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:CartOnKit" ZOrder="3" X="1311" Y="988" Height="343" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:CartOnKit" ZOrder="6" X="1311" Y="988" Height="343" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:PackList" ZOrder="2" X="1246" Y="1358" Height="362" Width="297" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" /> <Shape ID="DesignTable:PackList" ZOrder="5" X="1246" Y="1358" Height="362" Width="297" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:OtherItem" ZOrder="33" X="636" Y="1822" Height="210" Width="204" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" /> <Shape ID="DesignTable:OtherItem" ZOrder="35" X="636" Y="1822" Height="210" Width="204" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:ItemSearchDetail" ZOrder="1" X="1513" Y="102" Height="381" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:ItemSearchDetail" ZOrder="4" X="1513" Y="102" Height="381" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:PackListDet" ZOrder="32" X="931" Y="1520" Height="343" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:PackListDet" ZOrder="34" X="931" Y="1520" Height="343" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:PackLog" ZOrder="31" X="1224" Y="1751" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" /> <Shape ID="DesignTable:PackLog" ZOrder="33" X="1224" Y="1751" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:PackCheck" ZOrder="30" X="636" Y="1560" Height="229" Width="206" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" /> <Shape ID="DesignTable:PackCheck" ZOrder="32" X="636" Y="1560" Height="229" Width="206" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:OKIB" ZOrder="29" X="33" Y="1493" Height="324" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:OKIB" ZOrder="31" X="33" Y="1493" Height="324" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:OKIB_Sum" ZOrder="28" X="42" Y="1891" Height="362" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:OKIB_Sum" ZOrder="30" X="42" Y="1891" Height="362" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:OKOI" ZOrder="27" X="334" Y="1485" Height="324" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:OKOI" ZOrder="29" X="334" Y="1485" Height="324" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:OKOI_sum" ZOrder="26" X="330" Y="1890" Height="362" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> <Shape ID="DesignTable:OKOI_sum" ZOrder="28" X="330" Y="1890" Height="362" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Pack2Cart" ZOrder="17" X="911" Y="1873" Height="286" Width="203" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" /> <Shape ID="DesignTable:Pack2Cart" ZOrder="19" X="911" Y="1873" Height="286" Width="203" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:CartIRK" ZOrder="25" X="640" Y="2064" Height="305" Width="188" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" /> <Shape ID="DesignTable:CartIRK" ZOrder="27" X="640" Y="2064" Height="305" Width="188" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:FileValidation" ZOrder="21" X="488" Y="-38" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" /> <Shape ID="DesignTable:FileValidation" ZOrder="23" X="488" Y="-38" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:SheetsPreview" ZOrder="24" X="65" Y="839" Height="210" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" /> <Shape ID="DesignTable:SheetsPreview" ZOrder="26" X="65" Y="839" Height="210" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:OrderListTree" ZOrder="20" X="3" Y="-43" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" /> <Shape ID="DesignTable:OrderListTree" ZOrder="22" X="3" Y="-43" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:Places" ZOrder="15" X="862" Y="2175" Height="172" Width="180" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" /> <Shape ID="DesignTable:Places" ZOrder="17" X="862" Y="2175" Height="172" Width="180" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:StatusLog" ZOrder="18" X="1116" Y="2180" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" /> <Shape ID="DesignTable:StatusLog" ZOrder="20" X="1116" Y="2180" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:StatusDecode" ZOrder="16" X="849" Y="2353" Height="172" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" /> <Shape ID="DesignTable:StatusDecode" ZOrder="18" X="849" Y="2353" Height="172" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:UpdMan" ZOrder="12" X="636" Y="2374" Height="191" Width="195" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" /> <Shape ID="DesignTable:UpdMan" ZOrder="14" X="636" Y="2374" Height="191" Width="195" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:SheetStats" ZOrder="10" X="20" Y="2307" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" /> <Shape ID="DesignTable:SheetStats" ZOrder="12" X="20" Y="2307" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:BatchStats" ZOrder="9" X="369" Y="2276" Height="305" Width="206" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" /> <Shape ID="DesignTable:BatchStats" ZOrder="11" X="369" Y="2276" Height="305" Width="206" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:ProductionStatsDay" ZOrder="8" X="870" Y="2556" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" /> <Shape ID="DesignTable:ProductionStatsDay" ZOrder="2" X="946" Y="2546" Height="210" Width="204" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:PlantList" ZOrder="6" X="25" Y="2608" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" /> <Shape ID="DesignTable:PlantList" ZOrder="9" X="25" Y="2608" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:SpecialParts" ZOrder="7" X="370" Y="2611" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" /> <Shape ID="DesignTable:SpecialParts" ZOrder="10" X="370" Y="2611" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:OrderSearch" ZOrder="1" X="702" Y="2608" Height="172" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
</Shapes> </Shapes>
<Connectors> <Connectors>
<Connector ID="DesignRelation:FK_ItemList_Materials1" ZOrder="59" LineWidth="11"> <Connector ID="DesignRelation:FK_ItemList_Materials1" ZOrder="60" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>1227</X> <X>1227</X>
@@ -67,7 +68,7 @@
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
<Connector ID="DesignRelation:FK_OffOrd2Item_OfflineOrderList" ZOrder="58" LineWidth="11"> <Connector ID="DesignRelation:FK_OffOrd2Item_OfflineOrderList" ZOrder="59" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>1028</X> <X>1028</X>
@@ -79,10 +80,10 @@
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
<Connector ID="DesignRelation:FK_ItemList_KitList" ZOrder="57" LineWidth="11"> <Connector ID="DesignRelation:FK_ItemList_KitList" ZOrder="58" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>828</X> <X>827</X>
<Y>235</Y> <Y>235</Y>
</Point> </Point>
<Point> <Point>
@@ -91,7 +92,7 @@
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
<Connector ID="DesignRelation:FK_Nesting_ItemList" ZOrder="56" LineWidth="11"> <Connector ID="DesignRelation:FK_Nesting_ItemList" ZOrder="57" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>1116</X> <X>1116</X>
@@ -107,7 +108,7 @@
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
<Connector ID="DesignRelation:FK_KitList_Carts" ZOrder="54" LineWidth="11"> <Connector ID="DesignRelation:FK_KitList_Carts" ZOrder="55" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>721</X> <X>721</X>
@@ -119,7 +120,7 @@
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
<Connector ID="DesignRelation:FK_KitList_OrderList" ZOrder="55" LineWidth="11"> <Connector ID="DesignRelation:FK_KitList_OrderList" ZOrder="56" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>482</X> <X>482</X>
@@ -131,7 +132,7 @@
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
<Connector ID="DesignRelation:FK_OffOrd2Item_ItemList" ZOrder="51" LineWidth="11"> <Connector ID="DesignRelation:FK_OffOrd2Item_ItemList" ZOrder="52" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>1113</X> <X>1113</X>
@@ -143,7 +144,7 @@
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
<Connector ID="DesignRelation:FK_BinList_Bins" ZOrder="53" LineWidth="11"> <Connector ID="DesignRelation:FK_BinList_Bins" ZOrder="54" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>1364</X> <X>1364</X>
@@ -155,7 +156,7 @@
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
<Connector ID="DesignRelation:FK_BinList_ItemList" ZOrder="52" LineWidth="11"> <Connector ID="DesignRelation:FK_BinList_ItemList" ZOrder="53" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>1153</X> <X>1153</X>
@@ -167,7 +168,7 @@
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
<Connector ID="DesignRelation:FK_Order2FinalKit_FinalKit" ZOrder="50" LineWidth="11"> <Connector ID="DesignRelation:FK_Order2FinalKit_FinalKit" ZOrder="51" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>115</X> <X>115</X>
@@ -179,7 +180,7 @@
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
<Connector ID="DesignRelation:FK_Order2FinalKit_OrderList" ZOrder="49" LineWidth="11"> <Connector ID="DesignRelation:FK_Order2FinalKit_OrderList" ZOrder="50" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>284</X> <X>284</X>
@@ -191,7 +192,7 @@
</Point> </Point>
</RoutePoints> </RoutePoints>
</Connector> </Connector>
<Connector ID="DesignRelation:FK_StatusLog_Places" ZOrder="19" LineWidth="11"> <Connector ID="DesignRelation:FK_StatusLog_Places" ZOrder="21" LineWidth="11">
<RoutePoints> <RoutePoints>
<Point> <Point>
<X>1042</X> <X>1042</X>
+24
View File
@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AppData.DTO
{
/// <summary>
/// Statistiche in termini di Yeld e quantità produzioni relative ad un singolo batch
/// </summary>
public class BatchYeldStatDTO
{
/// <summary>
/// Statistiche YELD aggregate per Material
/// </summary>
public List<MaterialYeldStatsDTO> ListByMaterial { get; set; } = new List<MaterialYeldStatsDTO>();
/// <summary>
/// Statistiche YELD aggregate per Sheet
/// </summary>
public List<SheetYeldStatDTO> ListBySheet { get; set; } = new List<SheetYeldStatDTO>();
}
}
+25
View File
@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AppData.DTO
{
/// <summary>
/// Statistiche resa materiali
/// </summary>
public class MaterialYeldStatsDTO
{
public int MatId { get; set; } = 0;
public int MatCode { get; set; } = 0;
public string MatDescript { get; set; } = "";
public int TotSheets { get; set; } = 0;
public int TotParts { get; set; } = 0;
public double YeldMin { get; set; } = 0;
public double YeldAvg { get; set; } = 0;
public double YeldMax { get; set; } = 0;
}
}
+22
View File
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AppData.DTO
{
public class SheetYeldStatDTO
{
public int SheetId { get; set; } = 0;
public int MatId { get; set; } = 0;
public int MatCode { get; set; } = 0;
public string MatDescript { get; set; } = "";
public int BunkIdx { get; set; } = 0;
public int SheetIdx { get; set; } = 0;
public int NumParts { get; set; } = 0;
public double Yeld { get; set; } = 0;
}
}
+361 -227
View File
@@ -1,7 +1,9 @@
using Newtonsoft.Json; using AppData.DTO;
using Newtonsoft.Json;
using NKC_SDK; using NKC_SDK;
using SteamWare; using SteamWare;
using System; using System;
using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Linq; using System.Linq;
@@ -81,12 +83,6 @@ namespace AppData
#endregion Public Constructors #endregion Public Constructors
#region Protected Properties
protected int cacheDataTTL { get; set; } = 2;
#endregion Protected Properties
#region Public Properties #region Public Properties
public string CodSoggCurrUser public string CodSoggCurrUser
@@ -107,189 +103,6 @@ namespace AppData
#endregion Public Properties #endregion Public Properties
#region Private Methods
/// <summary>
/// verifica esistenza record da tipo doc + chiave...
/// </summary>
/// <param name="tipoDoc"></param>
/// <param name="keyParam"></param>
/// <returns></returns>
private bool checkDoc(tipoDocumento tipoDoc, string keyParam)
{
bool answ = false;
int intIdx = 0;
switch (tipoDoc)
{
case tipoDocumento.docBinPre:
case tipoDocumento.docBinPost:
int.TryParse(keyParam, out intIdx);
var tabBinPre = taBN.getByKey(intIdx);
answ = tabBinPre.Count > 0;
break;
case tipoDocumento.docCart:
case tipoDocumento.docCartIRK:
case tipoDocumento.docCartIRKSum:
int.TryParse(keyParam, out intIdx);
var tabCarts = taCR.getByKey(intIdx);
answ = tabCarts.Count > 0;
break;
case tipoDocumento.docPart:
int.TryParse(keyParam, out intIdx);
var tabPart = taIL.getByKey(intIdx);
answ = tabPart.Count > 0;
break;
case tipoDocumento.docOtherPart:
int.TryParse(keyParam, out intIdx);
var tabOtherPart = taOtItem.getByKey(intIdx);
answ = tabOtherPart.Count > 0;
break;
case tipoDocumento.docStack:
int.TryParse(keyParam, out intIdx);
var tabStack = taSTL.getByKey(intIdx);
answ = tabStack.Count > 0;
break;
case tipoDocumento.docCartSpecialPart:
int.TryParse(keyParam, out intIdx);
var tabSpecPart = taRepSpecPart.GetData(intIdx, "", "");
answ = tabSpecPart.Count > 0;
break;
case tipoDocumento.docND:
break;
default:
break;
}
return answ;
}
private void initTA()
{
taBL = new DS_AppTableAdapters.BatchListTableAdapter();
taBN = new DS_AppTableAdapters.BinsTableAdapter();
taBNLS = new DS_AppTableAdapters.BinListTableAdapter();
taBStats = new DS_AppTableAdapters.BatchStatsTableAdapter();
taCL = new DS_AppTableAdapters.CartsTableAdapter();
taCOK = new DS_AppTableAdapters.CartOnKitTableAdapter();
taCount = new DS_AppTableAdapters.CountersTableAdapter();
taCR = new DS_AppTableAdapters.CartsTableAdapter();
taDayStats = new DS_AppTableAdapters.ProductionStatsDayTableAdapter();
taEL = new DS_AppTableAdapters.ErrorsLogTableAdapter();
taFV = new DS_AppTableAdapters.FileValidationTableAdapter();
taIL = new DS_AppTableAdapters.ItemListTableAdapter();
taImpLog = new DS_AppTableAdapters.ImportLogTableAdapter();
taISD = new DS_AppTableAdapters.ItemSearchDetailTableAdapter();
taIV = new DS_AppTableAdapters.ItemValidationTableAdapter();
taKL = new DS_AppTableAdapters.KitListTableAdapter();
taMat = new DS_AppTableAdapters.MaterialsTableAdapter();
taNest = new DS_AppTableAdapters.NestingTableAdapter();
taOffOL = new DS_AppTableAdapters.OfflineOrderListTableAdapter();
taOO2I = new DS_AppTableAdapters.OffOrd2ItemTableAdapter();
taOKIB = new DS_AppTableAdapters.OKIBTableAdapter();
taOKIB_Sum = new DS_AppTableAdapters.OKIB_SumTableAdapter();
taOKOI = new DS_AppTableAdapters.OKOITableAdapter();
taOKOI_Sum = new DS_AppTableAdapters.OKOI_sumTableAdapter();
taOL = new DS_AppTableAdapters.OrderListTableAdapter();
taOLT = new DS_AppTableAdapters.OrderListTreeTableAdapter();
taOtItem = new DS_AppTableAdapters.OtherItemTableAdapter();
taPL = new DS_AppTableAdapters.PackListTableAdapter();
taPlac = new DS_AppTableAdapters.PlacesTableAdapter();
taPlant = new DS_AppTableAdapters.PlantListTableAdapter();
taPLC = new DS_AppTableAdapters.PackCheckTableAdapter();
taPLD = new DS_AppTableAdapters.PackListDetTableAdapter();
taPLog = new DS_AppTableAdapters.PackLogTableAdapter();
taPVP = new DS_AppTableAdapters.PartValidParetoTableAdapter();
taRem = new DS_AppTableAdapters.RemnantsTableAdapter();
taStatDec = new DS_AppTableAdapters.StatusDecodeTableAdapter();
taStatLog = new DS_AppTableAdapters.StatusLogTableAdapter();
taSTL = new DS_AppTableAdapters.StackListTableAdapter();
taSHL = new DS_AppTableAdapters.SheetListTableAdapter();
taSP = new DS_AppTableAdapters.SheetsPreviewTableAdapter();
taSpecialPart = new DS_AppTableAdapters.SpecialPartsTableAdapter();
taElPos = new DS_ReportTableAdapters.ElencoPostazioniTableAdapter();
taPJQ = new DS_ReportTableAdapters.PrintJobQueueTableAdapter();
taRepBin = new DS_ReportTableAdapters.stp_prt_BinTableAdapter();
taRepBunkGroup = new DS_ReportTableAdapters.stp_prt_BunkGroupTableAdapter();
taRepBunkList = new DS_ReportTableAdapters.stp_prt_BunkListTableAdapter();
taRepCart = new DS_ReportTableAdapters.stp_prt_CartTableAdapter();
taRepPart = new DS_ReportTableAdapters.stp_prt_PartTableAdapter();
taRepSpecPart = new DS_ReportTableAdapters.stp_prt_SpecialPartTableAdapter();
taRepOtherPart = new DS_ReportTableAdapters.stp_prt_OtherPartTableAdapter();
taRepIRK = new DS_ReportTableAdapters.stp_prt_IRKTableAdapter();
taRepIRKSum = new DS_ReportTableAdapters.stp_prt_IRK_SumTableAdapter();
taShStats = new DS_AppTableAdapters.SheetStatsTableAdapter();
taUpdMan = new DS_AppTableAdapters.UpdManTableAdapter();
taUStat = new DS_AppTableAdapters.UnloadStatsTableAdapter();
}
private void setupConnString()
{
string connString = memLayer.ML.confReadString("NKC_WFConnectionString");
taBL.Connection.ConnectionString = connString;
taBN.Connection.ConnectionString = connString;
taBNLS.Connection.ConnectionString = connString;
taBStats.Connection.ConnectionString = connString;
taCL.Connection.ConnectionString = connString;
taCOK.Connection.ConnectionString = connString;
taCount.Connection.ConnectionString = connString;
taCR.Connection.ConnectionString = connString;
taDayStats.Connection.ConnectionString = connString;
taEL.Connection.ConnectionString = connString;
taFV.Connection.ConnectionString = connString;
taIL.Connection.ConnectionString = connString;
taImpLog.Connection.ConnectionString = connString;
taISD.Connection.ConnectionString = connString;
taIV.Connection.ConnectionString = connString;
taKL.Connection.ConnectionString = connString;
taMat.Connection.ConnectionString = connString;
taNest.Connection.ConnectionString = connString;
taOffOL.Connection.ConnectionString = connString;
taOO2I.Connection.ConnectionString = connString;
taOKIB.Connection.ConnectionString = connString;
taOKIB_Sum.Connection.ConnectionString = connString;
taOKOI.Connection.ConnectionString = connString;
taOKOI_Sum.Connection.ConnectionString = connString;
taOL.Connection.ConnectionString = connString;
taOLT.Connection.ConnectionString = connString;
taOtItem.Connection.ConnectionString = connString;
taPL.Connection.ConnectionString = connString;
taPlac.Connection.ConnectionString = connString;
taPlant.Connection.ConnectionString = connString;
taPLC.Connection.ConnectionString = connString;
taPLD.Connection.ConnectionString = connString;
taPLog.Connection.ConnectionString = connString;
taPVP.Connection.ConnectionString = connString;
taRem.Connection.ConnectionString = connString;
taStatDec.Connection.ConnectionString = connString;
taStatLog.Connection.ConnectionString = connString;
taSTL.Connection.ConnectionString = connString;
taSHL.Connection.ConnectionString = connString;
taSP.Connection.ConnectionString = connString;
taSpecialPart.Connection.ConnectionString = connString;
taElPos.Connection.ConnectionString = connString;
taPJQ.Connection.ConnectionString = connString;
taRepBin.Connection.ConnectionString = connString;
taRepBunkGroup.Connection.ConnectionString = connString;
taRepBunkList.Connection.ConnectionString = connString;
taRepCart.Connection.ConnectionString = connString;
taRepPart.Connection.ConnectionString = connString;
taRepSpecPart.Connection.ConnectionString = connString;
taRepOtherPart.Connection.ConnectionString = connString;
taRepIRK.Connection.ConnectionString = connString;
taRepIRKSum.Connection.ConnectionString = connString;
taShStats.Connection.ConnectionString = connString;
taUStat.Connection.ConnectionString = connString;
taUpdMan.Connection.ConnectionString = connString;
}
#endregion Private Methods
#region Public Methods #region Public Methods
/// <summary> /// <summary>
@@ -476,7 +289,6 @@ namespace AppData
memLayer.ML.setRSV(redKey, rawData, cacheDataTTL); memLayer.ML.setRSV(redKey, rawData, cacheDataTTL);
} }
//restituisco valore..
return answ; return answ;
} }
@@ -516,42 +328,6 @@ namespace AppData
return answ; return answ;
} }
/// <summary>
/// Restituisce tabella dati SpecialPart (con cache lungo periodo)
/// </summary>
/// <returns></returns>
public DS_App.SpecialPartsDataTable getSpecialPart()
{
DS_App.SpecialPartsDataTable answ = new DS_App.SpecialPartsDataTable();
// controllo cache
bool trovato = false;
string redKey = memLayer.ML.redHash($"SpecialPartsTable");
string rawData = "";
rawData = memLayer.ML.getRSV(redKey);
if (!string.IsNullOrEmpty(rawData))
{
try
{
answ = JsonConvert.DeserializeObject<DS_App.SpecialPartsDataTable>(rawData);
trovato = true;
}
catch
{ }
}
if (!trovato)
{
// se non trovo leggo
answ = taSpecialPart.GetData();
rawData = JsonConvert.SerializeObject(answ);
// salvo in redis x periodo LUNGO
memLayer.ML.setRSV(redKey, rawData, cacheDataTTL * 60);
}
//restituisco valore..
return answ;
}
/// <summary> /// <summary>
/// Recupera printer dato codPostazione /// Recupera printer dato codPostazione
/// </summary> /// </summary>
@@ -589,6 +365,41 @@ namespace AppData
return printer; return printer;
} }
/// <summary>
/// Restituisce tabella dati SpecialPart (con cache lungo periodo)
/// </summary>
/// <returns></returns>
public DS_App.SpecialPartsDataTable getSpecialPart()
{
DS_App.SpecialPartsDataTable answ = new DS_App.SpecialPartsDataTable();
// controllo cache
bool trovato = false;
string redKey = memLayer.ML.redHash($"SpecialPartsTable");
string rawData = "";
rawData = memLayer.ML.getRSV(redKey);
if (!string.IsNullOrEmpty(rawData))
{
try
{
answ = JsonConvert.DeserializeObject<DS_App.SpecialPartsDataTable>(rawData);
trovato = true;
}
catch
{ }
}
if (!trovato)
{
// se non trovo leggo
answ = taSpecialPart.GetData();
rawData = JsonConvert.SerializeObject(answ);
// salvo in redis x periodo LUNGO
memLayer.ML.setRSV(redKey, rawData, cacheDataTTL * 60);
}
//restituisco valore..
return answ;
}
[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Select, false)] [System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Select, false)]
public DS_App.UnloadStatsDataTable getUnloadStatsByBatch(int BatchID, int StatLevel) public DS_App.UnloadStatsDataTable getUnloadStatsByBatch(int BatchID, int StatLevel)
{ {
@@ -621,6 +432,140 @@ namespace AppData
return answ; return answ;
} }
[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Select, false)]
public BatchYeldStatDTO getYeldStatsByBatch(int BatchID)
{
BatchYeldStatDTO answ = new BatchYeldStatDTO();
// controllo cache
bool trovato = false;
string redKey = memLayer.ML.redHash($"YeldStatByBatch:{BatchID}");
string rawData = "";
rawData = memLayer.ML.getRSV(redKey);
if (!string.IsNullOrEmpty(rawData) && rawData.Count() > 2)
{
try
{
answ = JsonConvert.DeserializeObject<BatchYeldStatDTO>(rawData);
trovato = true;
}
catch
{ }
}
if (!trovato)
{
// se non trovo leggo
answ = GetYeldStatsFromMongoData(BatchID);
rawData = JsonConvert.SerializeObject(answ);
// salvo in redis con cache lunga (2 volte la minima...)
memLayer.ML.setRSV(redKey, rawData, cacheDataTTL * 2);
}
return answ;
}
/// <summary>
/// Recupera da MongoDB le risposte dal supervisor e calcola statistiche Batch
/// NB. statistiche per singolo Sheet ed aggregate x materiale
/// </summary>
/// <param name="BatchId">ID del Batch di cui recuperare le info</param>
public BatchYeldStatDTO GetYeldStatsFromMongoData(int BatchId)
{
BatchYeldStatDTO answ = new BatchYeldStatDTO();
if (memLayer.ML.CRB("enableMongo"))
{
List<MaterialYeldStatsDTO> ListByMaterialTemp = new List<MaterialYeldStatsDTO>();
List<SheetYeldStatDTO> ListBySheetTemp = new List<SheetYeldStatDTO>();
// cerco da lista salvataggi Nest...
var nestAnsw = ComLib.man.getNestAnsw(BatchId);
// recupero bunk da DB
DataLayer dlMan = new DataLayer();
var bunkList = taSTL.getByBatch(BatchId);
var listSheets = taSHL.getByBatch(BatchId, "ND");
var matList = taMat.GetData();
// elenchi x ricerca duplicati
List<int> partListNest = new List<int>();
List<int> partListNestDupl = new List<int>();
if (nestAnsw != null)
{
double num = 0;
double den = 1;
double currRatio = 0;
try
{
if (nestAnsw.BunkList != null)
{
foreach (var bunk in nestAnsw.BunkList)
{
// procedo SOLO per il bunk corrente...
foreach (var sheet in bunk.SheetList)
{
num = sheet.SurfaceWork > 0 ? sheet.SurfaceWork : 0;
den = sheet.SurfaceTotal > 0 ? sheet.SurfaceTotal : 1;
currRatio = ComLib.ratioProt(num, den);
// recupero sheet dettaglio x materiale ed idx vari...
var rSheet = listSheets
.Where(x => x.SheetIndex == sheet.SheetIndex && x.StackIndex == bunk.BunkIndex)
.FirstOrDefault();
if (rSheet != null)
{
var rMat = matList
.Where(x => x.MatID == rSheet.MatID)
.FirstOrDefault();
var rSStat = ListBySheetTemp
.Where(x => x.SheetIdx == sheet.SheetIndex && x.BunkIdx == bunk.BunkIndex)
.FirstOrDefault();
if (rSStat != null)
{
rSStat.Yeld = currRatio;
rSStat.NumParts = sheet.PartList.Count;
}
else
{
// recupero la riga x indicare il materiale...
rSStat = new SheetYeldStatDTO()
{
SheetId = rSheet.SheetID,
MatId = rSheet.MatID,
MatCode = rMat.MatExtCode,
MatDescript = rMat.MatDesc,
BunkIdx = bunk.BunkIndex,
SheetIdx = sheet.SheetIndex,
NumParts = sheet.PartList.Count,
Yeld = currRatio
};
ListBySheetTemp.Add(rSStat);
}
}
}
}
// ciclo nuovamente per i dati recuperati x aggregare x materiale...
ListByMaterialTemp = ListBySheetTemp
.GroupBy(x => x.MatId)
.Select(x => new MaterialYeldStatsDTO()
{
MatId = x.Key,
MatCode = x.FirstOrDefault().MatCode,
MatDescript = x.FirstOrDefault().MatDescript,
TotParts = x.Sum(p => p.NumParts),
TotSheets = x.Count(),
YeldAvg = x.Average(p => p.Yeld),
YeldMin = x.Min(p => p.Yeld),
YeldMax = x.Max(p => p.Yeld)
}).ToList();
}
}
catch
{ }
// salvo nell'oggetto
answ.ListBySheet = ListBySheetTemp;
answ.ListByMaterial = ListByMaterialTemp;
}
}
return answ;
}
/// <summary> /// <summary>
/// effettua la stampa di un documento /// effettua la stampa di un documento
/// </summary> /// </summary>
@@ -656,5 +601,194 @@ namespace AppData
} }
#endregion Public Methods #endregion Public Methods
#region Protected Properties
protected int cacheDataTTL { get; set; } = 2;
#endregion Protected Properties
#region Private Methods
/// <summary>
/// verifica esistenza record da tipo doc + chiave...
/// </summary>
/// <param name="tipoDoc"></param>
/// <param name="keyParam"></param>
/// <returns></returns>
private bool checkDoc(tipoDocumento tipoDoc, string keyParam)
{
bool answ = false;
int intIdx = 0;
switch (tipoDoc)
{
case tipoDocumento.docBinPre:
case tipoDocumento.docBinPost:
int.TryParse(keyParam, out intIdx);
var tabBinPre = taBN.getByKey(intIdx);
answ = tabBinPre.Count > 0;
break;
case tipoDocumento.docCart:
case tipoDocumento.docCartIRK:
case tipoDocumento.docCartIRKSum:
int.TryParse(keyParam, out intIdx);
var tabCarts = taCR.getByKey(intIdx);
answ = tabCarts.Count > 0;
break;
case tipoDocumento.docPart:
int.TryParse(keyParam, out intIdx);
var tabPart = taIL.getByKey(intIdx);
answ = tabPart.Count > 0;
break;
case tipoDocumento.docOtherPart:
int.TryParse(keyParam, out intIdx);
var tabOtherPart = taOtItem.getByKey(intIdx);
answ = tabOtherPart.Count > 0;
break;
case tipoDocumento.docStack:
int.TryParse(keyParam, out intIdx);
var tabStack = taSTL.getByKey(intIdx);
answ = tabStack.Count > 0;
break;
case tipoDocumento.docCartSpecialPart:
int.TryParse(keyParam, out intIdx);
var tabSpecPart = taRepSpecPart.GetData(intIdx, "", "");
answ = tabSpecPart.Count > 0;
break;
case tipoDocumento.docND:
break;
default:
break;
}
return answ;
}
private void initTA()
{
taBL = new DS_AppTableAdapters.BatchListTableAdapter();
taBN = new DS_AppTableAdapters.BinsTableAdapter();
taBNLS = new DS_AppTableAdapters.BinListTableAdapter();
taBStats = new DS_AppTableAdapters.BatchStatsTableAdapter();
taCL = new DS_AppTableAdapters.CartsTableAdapter();
taCOK = new DS_AppTableAdapters.CartOnKitTableAdapter();
taCount = new DS_AppTableAdapters.CountersTableAdapter();
taCR = new DS_AppTableAdapters.CartsTableAdapter();
taDayStats = new DS_AppTableAdapters.ProductionStatsDayTableAdapter();
taEL = new DS_AppTableAdapters.ErrorsLogTableAdapter();
taFV = new DS_AppTableAdapters.FileValidationTableAdapter();
taIL = new DS_AppTableAdapters.ItemListTableAdapter();
taImpLog = new DS_AppTableAdapters.ImportLogTableAdapter();
taISD = new DS_AppTableAdapters.ItemSearchDetailTableAdapter();
taIV = new DS_AppTableAdapters.ItemValidationTableAdapter();
taKL = new DS_AppTableAdapters.KitListTableAdapter();
taMat = new DS_AppTableAdapters.MaterialsTableAdapter();
taNest = new DS_AppTableAdapters.NestingTableAdapter();
taOffOL = new DS_AppTableAdapters.OfflineOrderListTableAdapter();
taOO2I = new DS_AppTableAdapters.OffOrd2ItemTableAdapter();
taOKIB = new DS_AppTableAdapters.OKIBTableAdapter();
taOKIB_Sum = new DS_AppTableAdapters.OKIB_SumTableAdapter();
taOKOI = new DS_AppTableAdapters.OKOITableAdapter();
taOKOI_Sum = new DS_AppTableAdapters.OKOI_sumTableAdapter();
taOL = new DS_AppTableAdapters.OrderListTableAdapter();
taOLT = new DS_AppTableAdapters.OrderListTreeTableAdapter();
taOtItem = new DS_AppTableAdapters.OtherItemTableAdapter();
taPL = new DS_AppTableAdapters.PackListTableAdapter();
taPlac = new DS_AppTableAdapters.PlacesTableAdapter();
taPlant = new DS_AppTableAdapters.PlantListTableAdapter();
taPLC = new DS_AppTableAdapters.PackCheckTableAdapter();
taPLD = new DS_AppTableAdapters.PackListDetTableAdapter();
taPLog = new DS_AppTableAdapters.PackLogTableAdapter();
taPVP = new DS_AppTableAdapters.PartValidParetoTableAdapter();
taRem = new DS_AppTableAdapters.RemnantsTableAdapter();
taStatDec = new DS_AppTableAdapters.StatusDecodeTableAdapter();
taStatLog = new DS_AppTableAdapters.StatusLogTableAdapter();
taSTL = new DS_AppTableAdapters.StackListTableAdapter();
taSHL = new DS_AppTableAdapters.SheetListTableAdapter();
taSP = new DS_AppTableAdapters.SheetsPreviewTableAdapter();
taSpecialPart = new DS_AppTableAdapters.SpecialPartsTableAdapter();
taElPos = new DS_ReportTableAdapters.ElencoPostazioniTableAdapter();
taPJQ = new DS_ReportTableAdapters.PrintJobQueueTableAdapter();
taRepBin = new DS_ReportTableAdapters.stp_prt_BinTableAdapter();
taRepBunkGroup = new DS_ReportTableAdapters.stp_prt_BunkGroupTableAdapter();
taRepBunkList = new DS_ReportTableAdapters.stp_prt_BunkListTableAdapter();
taRepCart = new DS_ReportTableAdapters.stp_prt_CartTableAdapter();
taRepPart = new DS_ReportTableAdapters.stp_prt_PartTableAdapter();
taRepSpecPart = new DS_ReportTableAdapters.stp_prt_SpecialPartTableAdapter();
taRepOtherPart = new DS_ReportTableAdapters.stp_prt_OtherPartTableAdapter();
taRepIRK = new DS_ReportTableAdapters.stp_prt_IRKTableAdapter();
taRepIRKSum = new DS_ReportTableAdapters.stp_prt_IRK_SumTableAdapter();
taShStats = new DS_AppTableAdapters.SheetStatsTableAdapter();
taUpdMan = new DS_AppTableAdapters.UpdManTableAdapter();
taUStat = new DS_AppTableAdapters.UnloadStatsTableAdapter();
}
private void setupConnString()
{
string connString = memLayer.ML.confReadString("NKC_WFConnectionString");
taBL.Connection.ConnectionString = connString;
taBN.Connection.ConnectionString = connString;
taBNLS.Connection.ConnectionString = connString;
taBStats.Connection.ConnectionString = connString;
taCL.Connection.ConnectionString = connString;
taCOK.Connection.ConnectionString = connString;
taCount.Connection.ConnectionString = connString;
taCR.Connection.ConnectionString = connString;
taDayStats.Connection.ConnectionString = connString;
taEL.Connection.ConnectionString = connString;
taFV.Connection.ConnectionString = connString;
taIL.Connection.ConnectionString = connString;
taImpLog.Connection.ConnectionString = connString;
taISD.Connection.ConnectionString = connString;
taIV.Connection.ConnectionString = connString;
taKL.Connection.ConnectionString = connString;
taMat.Connection.ConnectionString = connString;
taNest.Connection.ConnectionString = connString;
taOffOL.Connection.ConnectionString = connString;
taOO2I.Connection.ConnectionString = connString;
taOKIB.Connection.ConnectionString = connString;
taOKIB_Sum.Connection.ConnectionString = connString;
taOKOI.Connection.ConnectionString = connString;
taOKOI_Sum.Connection.ConnectionString = connString;
taOL.Connection.ConnectionString = connString;
taOLT.Connection.ConnectionString = connString;
taOtItem.Connection.ConnectionString = connString;
taPL.Connection.ConnectionString = connString;
taPlac.Connection.ConnectionString = connString;
taPlant.Connection.ConnectionString = connString;
taPLC.Connection.ConnectionString = connString;
taPLD.Connection.ConnectionString = connString;
taPLog.Connection.ConnectionString = connString;
taPVP.Connection.ConnectionString = connString;
taRem.Connection.ConnectionString = connString;
taStatDec.Connection.ConnectionString = connString;
taStatLog.Connection.ConnectionString = connString;
taSTL.Connection.ConnectionString = connString;
taSHL.Connection.ConnectionString = connString;
taSP.Connection.ConnectionString = connString;
taSpecialPart.Connection.ConnectionString = connString;
taElPos.Connection.ConnectionString = connString;
taPJQ.Connection.ConnectionString = connString;
taRepBin.Connection.ConnectionString = connString;
taRepBunkGroup.Connection.ConnectionString = connString;
taRepBunkList.Connection.ConnectionString = connString;
taRepCart.Connection.ConnectionString = connString;
taRepPart.Connection.ConnectionString = connString;
taRepSpecPart.Connection.ConnectionString = connString;
taRepOtherPart.Connection.ConnectionString = connString;
taRepIRK.Connection.ConnectionString = connString;
taRepIRKSum.Connection.ConnectionString = connString;
taShStats.Connection.ConnectionString = connString;
taUStat.Connection.ConnectionString = connString;
taUpdMan.Connection.ConnectionString = connString;
}
#endregion Private Methods
} }
} }
+2
View File
@@ -93,4 +93,6 @@ namespace AppData
#endregion Public Properties #endregion Public Properties
} }
} }
+1 -1
View File
@@ -12,7 +12,7 @@ namespace AppData.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.9.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.13.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+4 -4
View File
@@ -8,15 +8,15 @@ in particolare
- su ambiente devel - su ambiente devel
quindi diventa quindi diventa
* localhost:26379,serviceName=devel * redis.ufficio:26379,serviceName=devel
oppure se non ci fosse sentinel locale oppure se non ci fosse sentinel tramite haproxy
* redis01.ufficio:26379,serviceName=devel * redis01.ufficio:26379,serviceName=devel
nuovi: nuovi:
<add key="RedisConn" value="localhost:26379,serviceName=devel,abortConnect=false,ssl=false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/> <add key="RedisConn" value="redis.ufficio:26379,serviceName=devel,abortConnect=false,ssl=false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="RedisConnAdmin" value="localhost:26379,serviceName=devel,abortConnect=false,ssl=false,allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/> <add key="RedisConnAdmin" value="redis.ufficio:26379,serviceName=devel,abortConnect=false,ssl=false,allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
vecchi: vecchi:
<add key="RedisConn" value="nkcredis.steamware.net,abortConnect=false,ssl=false,password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/> <add key="RedisConn" value="nkcredis.steamware.net,abortConnect=false,ssl=false,password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
Binary file not shown.
+18 -14
View File
@@ -37,6 +37,10 @@ body {
.fs-5 { .fs-5 {
font-size: 1.1em; font-size: 1.1em;
} }
/* COmpresse gridview */
.gridview-comp td {
padding: 2px;
}
/* Responsive: Portrait tablets and up */ /* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) { @media screen and (min-width: 768px) {
.jumbotron { .jumbotron {
@@ -233,24 +237,24 @@ body {
color: #333; color: #333;
} }
.shortcuts .shortcut:hover { .shortcuts .shortcut:hover {
color: #FFF; color: #696969;
background: #696969; background: #00ABDE;
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#CDCDFF), to(#BDBDFF)); background-image: -webkit-gradient(linear, left 0%, left 100%, from(#00DEEF), to(#00ABDE));
background-image: -webkit-linear-gradient(top, #CDCDFF, 0%, #BDBDFF, 100%); background-image: -webkit-linear-gradient(top, #00DEEF, 0%, #00ABDE, 100%);
background-image: -moz-linear-gradient(top, #CDCDFF 0%, #BDBDFF 100%); background-image: -moz-linear-gradient(top, #00DEEF 0%, #00ABDE 100%);
background-image: linear-gradient(to bottom, #CDCDFF 0%, #BDBDFF 100%); background-image: linear-gradient(to bottom, #00DEEF 0%, #00ABDE 100%);
background-repeat: repeat-x; background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#CDCDCDFF', endColorstr='#BDBDBDFF', GradientType=0); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00DEEF', endColorstr='#00ABDE', GradientType=0);
} }
.shortcuts .shortcut-sm:hover { .shortcuts .shortcut-sm:hover {
color: #FFF; color: #696969;
background: #696969; background: #00ABDE;
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#CDCDFF), to(#BDBDFF)); background-image: -webkit-gradient(linear, left 0%, left 100%, from(#00DEEF), to(#00ABDE));
background-image: -webkit-linear-gradient(top, #CDCDFF, 0%, #BDBDFF, 100%); background-image: -webkit-linear-gradient(top, #00DEEF, 0%, #00ABDE, 100%);
background-image: -moz-linear-gradient(top, #CDCDFF 0%, #BDBDFF 100%); background-image: -moz-linear-gradient(top, #00DEEF 0%, #00ABDE 100%);
background-image: linear-gradient(to bottom, #CDCDFF 0%, #BDBDFF 100%); background-image: linear-gradient(to bottom, #00DEEF 0%, #00ABDE 100%);
background-repeat: repeat-x; background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#CDCDCDFF', endColorstr='#BDBDBDFF', GradientType=0); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00DEEF', endColorstr='#00ABDE', GradientType=0);
} }
.shortcuts .shortcut:active { .shortcuts .shortcut:active {
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
+19 -14
View File
@@ -43,6 +43,11 @@ body {
font-size: 1.1em; font-size: 1.1em;
} }
/* COmpresse gridview */
.gridview-comp td{
padding: 2px;
}
/* Responsive: Portrait tablets and up */ /* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) { @media screen and (min-width: 768px) {
.jumbotron { .jumbotron {
@@ -279,25 +284,25 @@ body {
} }
.shortcuts .shortcut:hover { .shortcuts .shortcut:hover {
color: #FFF; color: #696969;
background: #696969; background: #00ABDE;
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#CDCDFF), to(#BDBDFF)); background-image: -webkit-gradient(linear, left 0%, left 100%, from(#00DEEF), to(#00ABDE));
background-image: -webkit-linear-gradient(top, #CDCDFF, 0%, #BDBDFF, 100%); background-image: -webkit-linear-gradient(top, #00DEEF, 0%, #00ABDE, 100%);
background-image: -moz-linear-gradient(top, #CDCDFF 0%, #BDBDFF 100%); background-image: -moz-linear-gradient(top, #00DEEF 0%, #00ABDE 100%);
background-image: linear-gradient(to bottom, #CDCDFF 0%, #BDBDFF 100%); background-image: linear-gradient(to bottom, #00DEEF 0%, #00ABDE 100%);
background-repeat: repeat-x; background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#CDCDCDFF', endColorstr='#BDBDBDFF', GradientType=0); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00DEEF', endColorstr='#00ABDE', GradientType=0);
} }
.shortcuts .shortcut-sm:hover { .shortcuts .shortcut-sm:hover {
color: #FFF; color: #696969;
background: #696969; background: #00ABDE;
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#CDCDFF), to(#BDBDFF)); background-image: -webkit-gradient(linear, left 0%, left 100%, from(#00DEEF), to(#00ABDE));
background-image: -webkit-linear-gradient(top, #CDCDFF, 0%, #BDBDFF, 100%); background-image: -webkit-linear-gradient(top, #00DEEF, 0%, #00ABDE, 100%);
background-image: -moz-linear-gradient(top, #CDCDFF 0%, #BDBDFF 100%); background-image: -moz-linear-gradient(top, #00DEEF 0%, #00ABDE 100%);
background-image: linear-gradient(to bottom, #CDCDFF 0%, #BDBDFF 100%); background-image: linear-gradient(to bottom, #00DEEF 0%, #00ABDE 100%);
background-repeat: repeat-x; background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#CDCDCDFF', endColorstr='#BDBDBDFF', GradientType=0); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00DEEF', endColorstr='#00ABDE', GradientType=0);
} }
.shortcuts .shortcut:active { .shortcuts .shortcut:active {
+1 -1
View File
@@ -1 +1 @@
body{font-family:'Roboto Condensed',sans-serif;padding-top:50px;padding-bottom:20px;}.body-content{padding-left:15px;padding-right:15px;}.textCondens{font-family:'Open Sans Condensed',sans-serif;}.textNormal{font-family:'Roboto',sans-serif;}.textBig{font-size:1.5em;}.fs-1{font-size:2em;}.fs-2{font-size:1.7em;}.fs-3{font-size:1.5em;}.fs-4{font-size:1.3em;}.fs-5{font-size:1.1em;}@media screen and (min-width:768px){.jumbotron{margin-top:20px;}.body-content{padding:0;}body{font-family:'Roboto',sans-serif;}}@media(max-width:992px){.container{width:100%;}body{font-family:'Roboto Condensed',sans-serif;font-size:.9rem;}.smallTable{font-size:.7rem;font-family:'Open Sans Condensed',sans-serif;}}.GridPager a,.GridPager span{display:block;height:1.5em;min-width:1.1em;text-align:center;text-decoration:none;}.GridPager a{background-color:#f5f5f5;color:#969696;}.GridPager span{background-color:#a1dcf2;color:#000;font-weight:bold;}.border-thick{border-width:3px!important;}.flashColor{border:3px solid #00f;-webkit-animation-name:blueFlash;-webkit-animation-duration:.5s;-webkit-animation-timing-function:linear;-webkit-animation-delay:0s;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:alternate;animation-name:blueFlash;animation-duration:.5s;animation-timing-function:linear;animation-delay:0s;animation-iteration-count:infinite;animation-direction:alternate;}@-webkit-keyframes blueFlash{0%{border-color:#c4dbff;}25%{border-color:#9dc4ff;}50%{border-color:#5ca5ff;}75%{border-color:#1b82ff;}100%{border-color:#005ccc;}}.bigText{font-size:1.3em;}.smallText{font-size:.8em;}.dl-horizontal dt{white-space:normal;}.deleted{text-decoration:line-through;}.padZL{padding-left:.2em;}.padZR{padding-right:.2em;}.padZRL{padding-left:.2em;padding-right:.2em;}.colAlt{color:#c93;}.fontBig{font-size:2em;}.tNote{color:#8a8a8a;font-style:italic;}.tNoWrap{white-space:nowrap;}.navbar{min-height:0;color:#696969;}.pagination{margin:5px 0;}.pageSelDD{width:6em;}.zeroWidth{width:0;}.shortcuts{text-align:center;}.shortcuts .shortcut{min-width:9rem;min-height:5rem;display:inline-block;padding:.66666667rem 0;margin:0 2px 1em;vertical-align:top;text-decoration:none;background:#f3f3f3;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,0%,#eee,100%);background-image:-moz-linear-gradient(top,#fff 0%,#eee 100%);background-image:linear-gradient(to bottom,#fff 0%,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeeeeee',GradientType=0);border:1px solid #ddd;box-sizing:border-box;border-radius:1rem/2;}.shortcuts .shortcut-sm{min-width:4.5rem;min-height:3rem;display:inline-block;padding:1rem/4 0;margin:0 2px 1em;vertical-align:top;text-decoration:none;background:#f3f3f3;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,0%,#eee,100%);background-image:-moz-linear-gradient(top,#fff 0%,#eee 100%);background-image:linear-gradient(to bottom,#fff 0%,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeeeeee',GradientType=0);border:1px solid #ddd;box-sizing:border-box;border-radius:1rem/2;}.shortcuts .shortcut .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:2rem;color:#333;}.shortcuts .shortcut-sm .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:2rem;color:#333;}.shortcuts .shortcut:hover{color:#fff;background:#696969;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#cdcdff),to(#bdbdff));background-image:-webkit-linear-gradient(top,#cdcdff,0%,#bdbdff,100%);background-image:-moz-linear-gradient(top,#cdcdff 0%,#bdbdff 100%);background-image:linear-gradient(to bottom,#cdcdff 0%,#bdbdff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#CDCDCDFF',endColorstr='#BDBDBDFF',GradientType=0);}.shortcuts .shortcut-sm:hover{color:#fff;background:#696969;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#cdcdff),to(#bdbdff));background-image:-webkit-linear-gradient(top,#cdcdff,0%,#bdbdff,100%);background-image:-moz-linear-gradient(top,#cdcdff 0%,#bdbdff 100%);background-image:linear-gradient(to bottom,#cdcdff 0%,#bdbdff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#CDCDCDFF',endColorstr='#BDBDBDFF',GradientType=0);}.shortcuts .shortcut:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125);}.shortcuts .shortcut-sm:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125);}.shortcuts .shortcut:hover .shortcut-icon{color:#c93;}.shortcuts .shortcut-sm:hover .shortcut-icon{color:#666;}.shortcuts .shortcut-label{display:block;margin-top:.75em;font-weight:400;color:#666;}@media(max-width:992px){.shortcuts .shortcut{min-width:8rem;min-height:4rem;}} body{font-family:'Roboto Condensed',sans-serif;padding-top:50px;padding-bottom:20px;}.body-content{padding-left:15px;padding-right:15px;}.textCondens{font-family:'Open Sans Condensed',sans-serif;}.textNormal{font-family:'Roboto',sans-serif;}.textBig{font-size:1.5em;}.fs-1{font-size:2em;}.fs-2{font-size:1.7em;}.fs-3{font-size:1.5em;}.fs-4{font-size:1.3em;}.fs-5{font-size:1.1em;}.gridview-comp td{padding:2px;}@media screen and (min-width:768px){.jumbotron{margin-top:20px;}.body-content{padding:0;}body{font-family:'Roboto',sans-serif;}}@media(max-width:992px){.container{width:100%;}body{font-family:'Roboto Condensed',sans-serif;font-size:.9rem;}.smallTable{font-size:.7rem;font-family:'Open Sans Condensed',sans-serif;}}.GridPager a,.GridPager span{display:block;height:1.5em;min-width:1.1em;text-align:center;text-decoration:none;}.GridPager a{background-color:#f5f5f5;color:#969696;}.GridPager span{background-color:#a1dcf2;color:#000;font-weight:bold;}.border-thick{border-width:3px!important;}.flashColor{border:3px solid #00f;-webkit-animation-name:blueFlash;-webkit-animation-duration:.5s;-webkit-animation-timing-function:linear;-webkit-animation-delay:0s;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:alternate;animation-name:blueFlash;animation-duration:.5s;animation-timing-function:linear;animation-delay:0s;animation-iteration-count:infinite;animation-direction:alternate;}@-webkit-keyframes blueFlash{0%{border-color:#c4dbff;}25%{border-color:#9dc4ff;}50%{border-color:#5ca5ff;}75%{border-color:#1b82ff;}100%{border-color:#005ccc;}}.bigText{font-size:1.3em;}.smallText{font-size:.8em;}.dl-horizontal dt{white-space:normal;}.deleted{text-decoration:line-through;}.padZL{padding-left:.2em;}.padZR{padding-right:.2em;}.padZRL{padding-left:.2em;padding-right:.2em;}.colAlt{color:#c93;}.fontBig{font-size:2em;}.tNote{color:#8a8a8a;font-style:italic;}.tNoWrap{white-space:nowrap;}.navbar{min-height:0;color:#696969;}.pagination{margin:5px 0;}.pageSelDD{width:6em;}.zeroWidth{width:0;}.shortcuts{text-align:center;}.shortcuts .shortcut{min-width:9rem;min-height:5rem;display:inline-block;padding:.66666667rem 0;margin:0 2px 1em;vertical-align:top;text-decoration:none;background:#f3f3f3;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,0%,#eee,100%);background-image:-moz-linear-gradient(top,#fff 0%,#eee 100%);background-image:linear-gradient(to bottom,#fff 0%,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeeeeee',GradientType=0);border:1px solid #ddd;box-sizing:border-box;border-radius:1rem/2;}.shortcuts .shortcut-sm{min-width:4.5rem;min-height:3rem;display:inline-block;padding:1rem/4 0;margin:0 2px 1em;vertical-align:top;text-decoration:none;background:#f3f3f3;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,0%,#eee,100%);background-image:-moz-linear-gradient(top,#fff 0%,#eee 100%);background-image:linear-gradient(to bottom,#fff 0%,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeeeeee',GradientType=0);border:1px solid #ddd;box-sizing:border-box;border-radius:1rem/2;}.shortcuts .shortcut .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:2rem;color:#333;}.shortcuts .shortcut-sm .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:2rem;color:#333;}.shortcuts .shortcut:hover{color:#696969;background:#00abde;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#00deef),to(#00abde));background-image:-webkit-linear-gradient(top,#00deef,0%,#00abde,100%);background-image:-moz-linear-gradient(top,#00deef 0%,#00abde 100%);background-image:linear-gradient(to bottom,#00deef 0%,#00abde 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00DEEF',endColorstr='#00ABDE',GradientType=0);}.shortcuts .shortcut-sm:hover{color:#696969;background:#00abde;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#00deef),to(#00abde));background-image:-webkit-linear-gradient(top,#00deef,0%,#00abde,100%);background-image:-moz-linear-gradient(top,#00deef 0%,#00abde 100%);background-image:linear-gradient(to bottom,#00deef 0%,#00abde 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00DEEF',endColorstr='#00ABDE',GradientType=0);}.shortcuts .shortcut:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125);}.shortcuts .shortcut-sm:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125);}.shortcuts .shortcut:hover .shortcut-icon{color:#c93;}.shortcuts .shortcut-sm:hover .shortcut-icon{color:#666;}.shortcuts .shortcut-label{display:block;margin-top:.75em;font-weight:400;color:#666;}@media(max-width:992px){.shortcuts .shortcut{min-width:8rem;min-height:4rem;}}
+28 -4
View File
@@ -380,6 +380,9 @@
</Content> </Content>
<Content Include="App_Readme\SteamWare_demo\example-NLog.config" /> <Content Include="App_Readme\SteamWare_demo\example-NLog.config" />
<Content Include="App_Readme\SteamWare_demo\example-app.config" /> <Content Include="App_Readme\SteamWare_demo\example-app.config" />
<Content Include="FileUpload\.placeholder.file">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<None Include="Properties\PublishProfiles\IIS04.pubxml" /> <None Include="Properties\PublishProfiles\IIS04.pubxml" />
<Content Include="Reports\reportConf.json" /> <Content Include="Reports\reportConf.json" />
<None Include="Scripts\jquery-3.6.0.intellisense.js" /> <None Include="Scripts\jquery-3.6.0.intellisense.js" />
@@ -519,6 +522,7 @@
<Content Include="site\TestChart.aspx" /> <Content Include="site\TestChart.aspx" />
<Content Include="site\Unauth.aspx" /> <Content Include="site\Unauth.aspx" />
<Content Include="site\UpdMan.aspx" /> <Content Include="site\UpdMan.aspx" />
<Content Include="site\OrderSearch.aspx" />
<Content Include="WebUserControls\cmp_barcode.ascx" /> <Content Include="WebUserControls\cmp_barcode.ascx" />
<Content Include="WebUserControls\cmp_batchDetail.ascx" /> <Content Include="WebUserControls\cmp_batchDetail.ascx" />
<Content Include="WebUserControls\cmp_batchDetailData.ascx" /> <Content Include="WebUserControls\cmp_batchDetailData.ascx" />
@@ -530,6 +534,7 @@
<Content Include="WebUserControls\cmp_BatchStatsPlot.ascx" /> <Content Include="WebUserControls\cmp_BatchStatsPlot.ascx" />
<Content Include="WebUserControls\cmp_binDetIRK.ascx" /> <Content Include="WebUserControls\cmp_binDetIRK.ascx" />
<Content Include="WebUserControls\cmp_BP_bunkList.ascx" /> <Content Include="WebUserControls\cmp_BP_bunkList.ascx" />
<Content Include="WebUserControls\cmp_BP_MaterialYeld.ascx" />
<Content Include="WebUserControls\cmp_BP_sheetList.ascx" /> <Content Include="WebUserControls\cmp_BP_sheetList.ascx" />
<Content Include="WebUserControls\cmp_cartDetIRK.ascx" /> <Content Include="WebUserControls\cmp_cartDetIRK.ascx" />
<Content Include="WebUserControls\cmp_DailyStatsList.ascx" /> <Content Include="WebUserControls\cmp_DailyStatsList.ascx" />
@@ -589,6 +594,7 @@
<Content Include="WebUserControls\cmp_orderPrint.ascx" /> <Content Include="WebUserControls\cmp_orderPrint.ascx" />
<Content Include="WebUserControls\cmp_orderRunning.ascx" /> <Content Include="WebUserControls\cmp_orderRunning.ascx" />
<Content Include="WebUserControls\cmp_orderSched.ascx" /> <Content Include="WebUserControls\cmp_orderSched.ascx" />
<Content Include="WebUserControls\cmp_OrderSearch.ascx" />
<Content Include="WebUserControls\cmp_OtherItemsDetail.ascx" /> <Content Include="WebUserControls\cmp_OtherItemsDetail.ascx" />
<Content Include="WebUserControls\cmp_painting.ascx" /> <Content Include="WebUserControls\cmp_painting.ascx" />
<Content Include="WebUserControls\cmp_paintingSmart.ascx" /> <Content Include="WebUserControls\cmp_paintingSmart.ascx" />
@@ -647,7 +653,7 @@
<Content Include="fonts\fontawesome-webfont.ttf" /> <Content Include="fonts\fontawesome-webfont.ttf" />
<Content Include="fonts\fontawesome-webfont.eot" /> <Content Include="fonts\fontawesome-webfont.eot" />
<Content Include="Content\Site.less" /> <Content Include="Content\Site.less" />
<Content Include="logs\.PlaceHolder.file"> <Content Include="logs\.placeholder.file">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content> </Content>
<Content Include="Content\fonts.less" /> <Content Include="Content\fonts.less" />
@@ -663,9 +669,6 @@
<Content Include="Content\RobotoCondensed.woff2"> <Content Include="Content\RobotoCondensed.woff2">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content> </Content>
<Content Include="FileUpload\.PlaceHolder.file">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Content\SheetColor.less" /> <Content Include="Content\SheetColor.less" />
<Content Include="PartsImg\.PlaceHolder.file"> <Content Include="PartsImg\.PlaceHolder.file">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
@@ -1196,6 +1199,13 @@
<Compile Include="site\vocabolario.aspx.designer.cs"> <Compile Include="site\vocabolario.aspx.designer.cs">
<DependentUpon>vocabolario.aspx</DependentUpon> <DependentUpon>vocabolario.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="site\OrderSearch.aspx.cs">
<DependentUpon>OrderSearch.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="site\OrderSearch.aspx.designer.cs">
<DependentUpon>OrderSearch.aspx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_barcode.ascx.cs"> <Compile Include="WebUserControls\cmp_barcode.ascx.cs">
<DependentUpon>cmp_barcode.ascx</DependentUpon> <DependentUpon>cmp_barcode.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
@@ -1273,6 +1283,13 @@
<Compile Include="WebUserControls\cmp_BP_bunkList.ascx.designer.cs"> <Compile Include="WebUserControls\cmp_BP_bunkList.ascx.designer.cs">
<DependentUpon>cmp_BP_bunkList.ascx</DependentUpon> <DependentUpon>cmp_BP_bunkList.ascx</DependentUpon>
</Compile> </Compile>
<Compile Include="WebUserControls\cmp_BP_MaterialYeld.ascx.cs">
<DependentUpon>cmp_BP_MaterialYeld.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_BP_MaterialYeld.ascx.designer.cs">
<DependentUpon>cmp_BP_MaterialYeld.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_BP_sheetList.ascx.cs"> <Compile Include="WebUserControls\cmp_BP_sheetList.ascx.cs">
<DependentUpon>cmp_BP_sheetList.ascx</DependentUpon> <DependentUpon>cmp_BP_sheetList.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
@@ -1707,6 +1724,13 @@
<Compile Include="WebUserControls\cmp_orderSched.ascx.designer.cs"> <Compile Include="WebUserControls\cmp_orderSched.ascx.designer.cs">
<DependentUpon>cmp_orderSched.ascx</DependentUpon> <DependentUpon>cmp_orderSched.ascx</DependentUpon>
</Compile> </Compile>
<Compile Include="WebUserControls\cmp_OrderSearch.ascx.cs">
<DependentUpon>cmp_OrderSearch.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_OrderSearch.ascx.designer.cs">
<DependentUpon>cmp_OrderSearch.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_OtherItemsDetail.ascx.cs"> <Compile Include="WebUserControls\cmp_OtherItemsDetail.ascx.cs">
<DependentUpon>cmp_OtherItemsDetail.ascx</DependentUpon> <DependentUpon>cmp_OtherItemsDetail.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
+73 -4
View File
@@ -11,7 +11,7 @@
</TablixColumns> </TablixColumns>
<TablixRows> <TablixRows>
<TablixRow> <TablixRow>
<Height>8.86829in</Height> <Height>9.63445in</Height>
<TablixCells> <TablixCells>
<TablixCell> <TablixCell>
<CellContents> <CellContents>
@@ -321,6 +321,71 @@
</TablixCell> </TablixCell>
</TablixCells> </TablixCells>
</TablixRow> </TablixRow>
<TablixRow>
<Height>0.2in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="TextEgalware">
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Bin - powered by </Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Value>Egalware Srl</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Value> © </Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Label>PrintData</Label>
<Value>=Format(Globals!ExecutionTime, "yyyy-MM-dd HH:mm" )</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<Style>
<Border>
<Style>None</Style>
</Border>
<VerticalAlign>Top</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows> </TablixRows>
</TablixBody> </TablixBody>
<TablixColumnHierarchy> <TablixColumnHierarchy>
@@ -336,6 +401,10 @@
<GroupExpression>=Fields!ItemExtCode.Value</GroupExpression> <GroupExpression>=Fields!ItemExtCode.Value</GroupExpression>
</GroupExpressions> </GroupExpressions>
</Group> </Group>
<TablixMembers>
<TablixMember />
<TablixMember />
</TablixMembers>
<DataElementOutput>Output</DataElementOutput> <DataElementOutput>Output</DataElementOutput>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
</TablixMember> </TablixMember>
@@ -347,7 +416,7 @@
</PageBreak> </PageBreak>
<Top>0.1343in</Top> <Top>0.1343in</Top>
<Left>0.00001cm</Left> <Left>0.00001cm</Left>
<Height>8.86829in</Height> <Height>9.83445in</Height>
<Width>7.37604in</Width> <Width>7.37604in</Width>
<Style> <Style>
<FontFamily>Tahoma</FontFamily> <FontFamily>Tahoma</FontFamily>
@@ -356,7 +425,7 @@
</Style> </Style>
</Tablix> </Tablix>
</ReportItems> </ReportItems>
<Height>9.5in</Height> <Height>9.96875in</Height>
<Style /> <Style />
</Body> </Body>
<Width>7.5in</Width> <Width>7.5in</Width>
@@ -367,7 +436,7 @@
<BottomMargin>0.5in</BottomMargin> <BottomMargin>0.5in</BottomMargin>
<Style /> <Style />
</Page> </Page>
<Author>v. 1.5.1</Author> <Author>v. 1.5.2</Author>
<AutoRefresh>0</AutoRefresh> <AutoRefresh>0</AutoRefresh>
<DataSources> <DataSources>
<DataSource Name="Sauder_NKC"> <DataSource Name="Sauder_NKC">
+73 -3
View File
@@ -849,18 +849,88 @@
</Style> </Style>
</Tablix> </Tablix>
</ReportItems> </ReportItems>
<Height>9.92027in</Height> <Height>9.60777in</Height>
<Style /> <Style />
</Body> </Body>
<Width>7.46875in</Width> <Width>7.46875in</Width>
<Page> <Page>
<PageFooter>
<Height>0.20958in</Height>
<PrintOnLastPage>true</PrintOnLastPage>
<ReportItems>
<Textbox Name="Footer">
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Cart - powered by </Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Value>Egalware Srl</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Value> © </Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Label>PrintData</Label>
<Value>=Format(Globals!ExecutionTime, "yyyy-MM-dd HH:mm" )</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<Left>3.50916in</Left>
<Height>0.20958in</Height>
<Width>3.845in</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
<VerticalAlign>Top</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</PageFooter>
<LeftMargin>0.5in</LeftMargin> <LeftMargin>0.5in</LeftMargin>
<RightMargin>0.5in</RightMargin> <RightMargin>0.5in</RightMargin>
<TopMargin>0.5in</TopMargin> <TopMargin>0.5in</TopMargin>
<BottomMargin>0.5in</BottomMargin> <BottomMargin>0.5in</BottomMargin>
<Style /> <Style />
</Page> </Page>
<Author>v. 1.4.3</Author> <Author>v. 1.4.4</Author>
<AutoRefresh>0</AutoRefresh> <AutoRefresh>0</AutoRefresh>
<DataSources> <DataSources>
<DataSource Name="Sauder_NKC"> <DataSource Name="Sauder_NKC">
@@ -961,7 +1031,7 @@
<DataType>Integer</DataType> <DataType>Integer</DataType>
<DefaultValue> <DefaultValue>
<Values> <Values>
<Value>1319</Value> <Value>7544</Value>
</Values> </Values>
</DefaultValue> </DefaultValue>
<Prompt>Cart ID:</Prompt> <Prompt>Cart ID:</Prompt>
+78 -10
View File
@@ -11,7 +11,7 @@
</TablixColumns> </TablixColumns>
<TablixRows> <TablixRows>
<TablixRow> <TablixRow>
<Height>9.9907in</Height> <Height>9.76979in</Height>
<TablixCells> <TablixCells>
<TablixCell> <TablixCell>
<CellContents> <CellContents>
@@ -23,7 +23,7 @@
' viene creata un'immagine apposita da DXF file validation per gli special part con dimensioni diverse</Value> ' viene creata un'immagine apposita da DXF file validation per gli special part con dimensioni diverse</Value>
<Sizing>FitProportional</Sizing> <Sizing>FitProportional</Sizing>
<Top>6in</Top> <Top>5.88367in</Top>
<Left>0.02648cm</Left> <Left>0.02648cm</Left>
<Height>78.24611mm</Height> <Height>78.24611mm</Height>
<Width>187.17581mm</Width> <Width>187.17581mm</Width>
@@ -470,7 +470,6 @@
</Textbox> </Textbox>
</ReportItems> </ReportItems>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Top>0.01993in</Top>
<Left>0.00445cm</Left> <Left>0.00445cm</Left>
<Height>2.91471in</Height> <Height>2.91471in</Height>
<Width>7.37604in</Width> <Width>7.37604in</Width>
@@ -502,7 +501,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>DueDate</rd:DefaultName> <rd:DefaultName>DueDate</rd:DefaultName>
<Top>3in</Top> <Top>2.91471in</Top>
<Left>0.02203cm</Left> <Left>0.02203cm</Left>
<Height>2.96896in</Height> <Height>2.96896in</Height>
<Width>7.3622in</Width> <Width>7.3622in</Width>
@@ -716,7 +715,7 @@
</TablixMembers> </TablixMembers>
</TablixRowHierarchy> </TablixRowHierarchy>
<DataSetName>stp_prt_SpecialPart</DataSetName> <DataSetName>stp_prt_SpecialPart</DataSetName>
<Top>9.15in</Top> <Top>8.96423in</Top>
<Left>0.82in</Left> <Left>0.82in</Left>
<Height>0.80556in</Height> <Height>0.80556in</Height>
<Width>5.70574in</Width> <Width>5.70574in</Width>
@@ -759,6 +758,71 @@
</TablixCell> </TablixCell>
</TablixCells> </TablixCells>
</TablixRow> </TablixRow>
<TablixRow>
<Height>0.2in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="TextEgalware">
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>SpecialParts - powered by </Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Value>Egalware Srl</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Value> © </Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Label>PrintData</Label>
<Value>=Format(Globals!ExecutionTime, "yyyy-MM-dd HH:mm" )</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<Style>
<Border>
<Style>None</Style>
</Border>
<VerticalAlign>Top</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows> </TablixRows>
</TablixBody> </TablixBody>
<TablixColumnHierarchy> <TablixColumnHierarchy>
@@ -774,6 +838,10 @@
<GroupExpression>=Fields!ItemExtCode.Value</GroupExpression> <GroupExpression>=Fields!ItemExtCode.Value</GroupExpression>
</GroupExpressions> </GroupExpressions>
</Group> </Group>
<TablixMembers>
<TablixMember />
<TablixMember />
</TablixMembers>
<DataElementOutput>Output</DataElementOutput> <DataElementOutput>Output</DataElementOutput>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
</TablixMember> </TablixMember>
@@ -783,9 +851,9 @@
<PageBreak> <PageBreak>
<BreakLocation>End</BreakLocation> <BreakLocation>End</BreakLocation>
</PageBreak> </PageBreak>
<Top>0.0093in</Top> <Top>0in</Top>
<Left>0.00001cm</Left> <Left>0.00001cm</Left>
<Height>9.9907in</Height> <Height>9.96979in</Height>
<Width>7.37954in</Width> <Width>7.37954in</Width>
<Style> <Style>
<FontFamily>Tahoma</FontFamily> <FontFamily>Tahoma</FontFamily>
@@ -794,7 +862,7 @@
</Style> </Style>
</Tablix> </Tablix>
</ReportItems> </ReportItems>
<Height>10in</Height> <Height>9.96979in</Height>
<Style /> <Style />
</Body> </Body>
<Width>7.5in</Width> <Width>7.5in</Width>
@@ -805,7 +873,7 @@
<BottomMargin>0.5in</BottomMargin> <BottomMargin>0.5in</BottomMargin>
<Style /> <Style />
</Page> </Page>
<Author>v. 1.4.1</Author> <Author>v. 1.4.2</Author>
<AutoRefresh>0</AutoRefresh> <AutoRefresh>0</AutoRefresh>
<DataSources> <DataSources>
<DataSource Name="Sauder_NKC"> <DataSource Name="Sauder_NKC">
@@ -826,7 +894,7 @@
<DataSets> <DataSets>
<DataSet Name="stp_prt_SpecialPart"> <DataSet Name="stp_prt_SpecialPart">
<Query> <Query>
<DataSourceName>Sauder_NKC_Test</DataSourceName> <DataSourceName>Sauder_NKC</DataSourceName>
<QueryParameters> <QueryParameters>
<QueryParameter Name="@CartID"> <QueryParameter Name="@CartID">
<Value>=Parameters!CartID.Value</Value> <Value>=Parameters!CartID.Value</Value>
+2 -2
View File
@@ -5,8 +5,8 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings> <appSettings>
<!--conf redis--> <!--conf redis-->
<add key="RedisConn" value="localhost:26379,serviceName=devel,abortConnect=false,ssl=false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/> <add key="RedisConn" value="redis.ufficio:26379,serviceName=devel,abortConnect=false,ssl=false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="RedisConnAdmin" value="localhost:26379,serviceName=devel,abortConnect=false,ssl=false,allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/> <add key="RedisConnAdmin" value="redis.ufficio:26379,serviceName=devel,abortConnect=false,ssl=false,allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<!--conn string--> <!--conn string-->
<add key="NKC_WFConnectionString" value="Data Source=SQL2016PROD;Initial Catalog=Sauder_NKC2_Prod;Persist Security Info=True;User ID=sa;Password=keyhammer16;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/> <add key="NKC_WFConnectionString" value="Data Source=SQL2016PROD;Initial Catalog=Sauder_NKC2_Prod;Persist Security Info=True;User ID=sa;Password=keyhammer16;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="DbConfConnectionString" value="Data Source=SQL2016PROD;Initial Catalog=Sauder_NKC2_Prod;Persist Security Info=True;User ID=sa;Password=keyhammer16;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/> <add key="DbConfConnectionString" value="Data Source=SQL2016PROD;Initial Catalog=Sauder_NKC2_Prod;Persist Security Info=True;User ID=sa;Password=keyhammer16;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
+2 -2
View File
@@ -5,8 +5,8 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings> <appSettings>
<!--conf redis--> <!--conf redis-->
<add key="RedisConn" value="localhost:26379,serviceName=devel,abortConnect=false,ssl=false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/> <add key="RedisConn" value="redis.ufficio:26379,serviceName=devel,abortConnect=false,ssl=false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="RedisConnAdmin" value="localhost:26379,serviceName=devel,abortConnect=false,ssl=false,allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/> <add key="RedisConnAdmin" value="redis.ufficio:26379,serviceName=devel,abortConnect=false,ssl=false,allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<!--conn string--> <!--conn string-->
<add key="NKC_WFConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Sauder_NKC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/> <add key="NKC_WFConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Sauder_NKC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Sauder_NKC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/> <add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Sauder_NKC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
+2 -2
View File
@@ -5,8 +5,8 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings> <appSettings>
<!--conf redis--> <!--conf redis-->
<add key="RedisConn" value="localhost:26379,serviceName=devel,abortConnect=false,ssl=false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/> <add key="RedisConn" value="redis.ufficio:26379,serviceName=devel,abortConnect=false,ssl=false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="RedisConnAdmin" value="localhost:26379,serviceName=devel,abortConnect=false,ssl=false,allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/> <add key="RedisConnAdmin" value="redis.ufficio:26379,serviceName=devel,abortConnect=false,ssl=false,allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<!--conn string--> <!--conn string-->
<add key="NKC_WFConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Sauder_NKC;Persist Security Info=True;User ID=conn_NKC;Password=pwd_NKC;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/> <add key="NKC_WFConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Sauder_NKC;Persist Security Info=True;User ID=conn_NKC;Password=pwd_NKC;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Sauder_NKC;Persist Security Info=True;User ID=conn_NKC;Password=pwd_NKC;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/> <add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Sauder_NKC;Persist Security Info=True;User ID=conn_NKC;Password=pwd_NKC;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
+3 -3
View File
@@ -59,7 +59,7 @@
/> />
--> -->
<add name="RedisSSP" type="Microsoft.Web.Redis.RedisSessionStateProvider" <add name="RedisSSP" type="Microsoft.Web.Redis.RedisSessionStateProvider"
connectionString="localhost:26379, serviceName=devel, DefaultDatabase=2, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false" connectionString="redis.ufficio:26379, serviceName=devel, DefaultDatabase=2, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false"
applicationName="NKC"/> applicationName="NKC"/>
</providers> </providers>
</sessionState> </sessionState>
@@ -119,8 +119,8 @@
<add key="fixDecTo" value=","/> <add key="fixDecTo" value=","/>
<!--Configurazioni Redis--> <!--Configurazioni Redis-->
<add key="cacheOnRedis" value="true"/> <add key="cacheOnRedis" value="true"/>
<add key="RedisConn" value="localhost:26379,serviceName=devel,abortConnect=false,ssl=false"/> <add key="RedisConn" value="redis.ufficio:26379,serviceName=devel,abortConnect=false,ssl=false"/>
<add key="RedisConnAdmin" value="localhost:26379,serviceName=devel,abortConnect=false,ssl=false,allowAdmin=true"/> <add key="RedisConnAdmin" value="redis.ufficio:26379,serviceName=devel,abortConnect=false,ssl=false,allowAdmin=true"/>
<add key="redisDb" value="2"/> <add key="redisDb" value="2"/>
<add key="cacheDataTTL" value="4"/> <add key="cacheDataTTL" value="4"/>
<!--MongoDB--> <!--MongoDB-->
@@ -0,0 +1,59 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_BP_MaterialYeld.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_BP_MaterialYeld" %>
<b>Material's</b> YELD
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" CssClass="table table-sm table-striped" AllowSorting="True" AllowPaging="true" PageSize="10">
<HeaderStyle CssClass="default" />
<PagerStyle CssClass="active GridPager" />
<PagerSettings Mode="NumericFirstLast" />
<SelectedRowStyle CssClass="table-info" />
<EmptyDataTemplate>
<%: traduci("NoRecord") %>
</EmptyDataTemplate>
<Columns>
<asp:TemplateField HeaderText="Material" SortExpression="MatCode">
<ItemTemplate>
<div class="font-weight-bold">
<asp:Label runat="server" ID="lblMatCode" Text='<%# Eval("MatCode") %>'></asp:Label>
</div>
<div class="small">
<asp:Label runat="server" ID="lblMatDescript" Text='<%# Eval("MatDescript") %>'></asp:Label>
</div>
</ItemTemplate>
<ItemStyle CssClass="text-left" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Sheets/Parts" SortExpression="TotParts">
<ItemTemplate>
<div class="d-flex justify-content-between">
<span class="px-0 small">Sheets</span>
<span class="px-0 font-weight-bold">
<asp:Label runat="server" ID="lblTotSheets" Text='<%# Eval("TotSheets") %>'></asp:Label></span>
</div>
<div class="d-flex justify-content-between">
<span class="px-0 small">Parts</span>
<span class="px-0 font-weight">
<asp:Label runat="server" ID="lblTotParts" Text='<%# Eval("TotParts") %>'></asp:Label></span>
</div>
</ItemTemplate>
<ItemStyle CssClass="text-left" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Yeld" SortExpression="YeldAvg">
<ItemTemplate>
<div class="d-flex justify-content-between">
<span class="px-0 small">Avg</span>
<span class="px-0 font-weight-bold">
<asp:Label runat="server" ID="lblYeldAvg" Text='<%# Eval("YeldAvg", "{0:P1}") %>'></asp:Label></span>
</div>
<div class="d-flex justify-content-between">
<span class="px-0 font-weight">
<asp:Label runat="server" ID="lblYeldMin" Text='<%# Eval("YeldMin", "{0:P1}") %>'></asp:Label></span>
<span class="px-0 small">...</span>
<span class="px-0 font-weight">
<asp:Label runat="server" ID="lblYeldMax" Text='<%# Eval("YeldMax", "{0:P1}") %>'></asp:Label></span>
</div>
</ItemTemplate>
<ItemStyle CssClass="text-left" />
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="GetMatStatList" TypeName="NKC_WF.WebUserControls.cmp_BP_MaterialYeld"></asp:ObjectDataSource>
@@ -0,0 +1,84 @@
using AppData;
using SteamWare;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace NKC_WF.WebUserControls
{
public partial class cmp_BP_MaterialYeld : BaseUserControl
{
#region Public Properties
/// <summary>
/// Batch corrente...
/// </summary>
public int BatchId
{
get
{
int answ = memLayer.ML.QSI("BatchId");
return answ;
}
}
#endregion Public Properties
#region Public Methods
public List<AppData.DTO.MaterialYeldStatsDTO> GetMatStatList()
{
DataLayer DLMan = new DataLayer();
MatStatList = new List<AppData.DTO.MaterialYeldStatsDTO>();
var statData = DLMan.GetYeldStatsFromMongoData(BatchId);
if (statData != null)
{
MatStatList = statData.ListByMaterial;
}
return MatStatList;
}
#endregion Public Methods
#region Protected Fields
protected List<AppData.DTO.MaterialYeldStatsDTO> MatStatList = new List<AppData.DTO.MaterialYeldStatsDTO>();
/// <summary>
/// Tabella dei dati di quante part siano presenti x foglio recuperato dai dati nesting da mongoDB
/// </summary>
protected Dictionary<int, int> SheetPartQty = new Dictionary<int, int>();
/// <summary>
/// Tabella dei dati di resa (Yeald) x foglio recuperato dai dati nesting da mongoDB
/// </summary>
protected Dictionary<int, double> SheetYeld = new Dictionary<int, double>();
#endregion Protected Fields
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
{
ReloadData();
}
#endregion Protected Methods
#region Private Methods
/// <summary>
/// Legge da redis, se non trovasse legge da mongoDB e salva in redis come cache...
/// </summary>
private void ReloadData()
{
grView.DataBind();
}
#endregion Private Methods
}
}
@@ -0,0 +1,35 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace NKC_WF.WebUserControls
{
public partial class cmp_BP_MaterialYeld
{
/// <summary>
/// grView control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// ods control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
}
}
+1 -1
View File
@@ -2,7 +2,7 @@
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="StackID" DataSourceID="ods" CssClass="table table-sm table-striped" AllowSorting="True" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnRowCommand="grView_RowCommand"> <asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="StackID" DataSourceID="ods" CssClass="table table-sm table-striped" AllowSorting="True" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnRowCommand="grView_RowCommand" AllowPaging="true" PageSize="5">
<HeaderStyle CssClass="default" /> <HeaderStyle CssClass="default" />
<PagerStyle CssClass="active GridPager" /> <PagerStyle CssClass="active GridPager" />
<PagerSettings Mode="NumericFirstLast" /> <PagerSettings Mode="NumericFirstLast" />
+32 -32
View File
@@ -1,44 +1,44 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <generato automaticamente> // <auto-generated>
// Codice generato da uno strumento. // This code was generated by a tool.
// //
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se // Changes to this file may cause incorrect behavior and will be lost if
// il codice viene rigenerato. // the code is regenerated.
// </generato automaticamente> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace NKC_WF.WebUserControls namespace NKC_WF.WebUserControls
{ {
public partial class cmp_BP_bunkList public partial class cmp_BP_bunkList
{ {
/// <summary> /// <summary>
/// Controllo grView. /// grView control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView grView; protected global::System.Web.UI.WebControls.GridView grView;
/// <summary> /// <summary>
/// Controllo hfBatchID. /// hfBatchID control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfBatchID; protected global::System.Web.UI.WebControls.HiddenField hfBatchID;
/// <summary> /// <summary>
/// Controllo ods. /// ods control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods; protected global::System.Web.UI.WebControls.ObjectDataSource ods;
} }
} }
+61 -43
View File
@@ -1,49 +1,67 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_BP_sheetList.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_BP_sheetList" %> <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_BP_sheetList.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_BP_sheetList" %>
<asp:HiddenField ID="hfBunkIndex" runat="server" />
<asp:HiddenField ID="hfStackID" runat="server" /> <asp:HiddenField ID="hfStackID" runat="server" />
<asp:GridView runat="server" ID="grView" AutoGenerateColumns="False" DataKeyNames="SheetID" DataSourceID="ods" CssClass="table table-sm table-striped" AllowSorting="True" OnSelectedIndexChanged="grView_SelectedIndexChanged"> <asp:GridView runat="server" ID="grView" AutoGenerateColumns="False" DataKeyNames="SheetID" DataSourceID="ods" CssClass="table table-sm table-striped gridview-comp" AllowSorting="False" OnSelectedIndexChanged="grView_SelectedIndexChanged" AllowPaging="true" PageSize="20" OnPageIndexChanged="grView_PageIndexChanged">
<HeaderStyle CssClass="default" /> <HeaderStyle CssClass="default" />
<PagerStyle CssClass="active GridPager" /> <PagerStyle CssClass="active GridPager" />
<PagerSettings Mode="NumericFirstLast" /> <PagerSettings Mode="NumericFirstLast" />
<SelectedRowStyle CssClass="table-info" /> <SelectedRowStyle CssClass="table-info" />
<EmptyDataTemplate> <EmptyDataTemplate>
<%: traduci("NoRecord") %> <%: traduci("NoRecord") %>
</EmptyDataTemplate> </EmptyDataTemplate>
<Columns> <Columns>
<asp:TemplateField ShowHeader="False"> <asp:TemplateField ShowHeader="False">
<HeaderTemplate> <HeaderTemplate>
<asp:LinkButton ID="lbtReset" runat="server" OnClick="lbtReset_Click" CssClass="btn btn-sm btn-primary" Visible="true" ToolTip="Reset"><i class="fa fa-refresh"></i></asp:LinkButton> <asp:LinkButton ID="lbtReset" runat="server" OnClick="lbtReset_Click" CssClass="btn btn-sm btn-primary" Visible="true" ToolTip="Reset"><i class="fa fa-refresh"></i></asp:LinkButton>
</HeaderTemplate> </HeaderTemplate>
<ItemTemplate> <ItemTemplate>
<asp:LinkButton ID="lbSelect" runat="server" CausesValidation="False" CommandName="Select" CssClass="btn btn-sm btn-primary"><i class="fa fa-search" aria-hidden="true"></i></asp:LinkButton> <asp:LinkButton ID="lbSelect" runat="server" CausesValidation="False" CommandName="Select" CssClass="btn btn-sm btn-primary mx-1"><i class="fa fa-search" aria-hidden="true"></i></asp:LinkButton>
</ItemTemplate> </ItemTemplate>
</asp:TemplateField> </asp:TemplateField>
<asp:BoundField DataField="SheetIndex" HeaderText="#" ReadOnly="True" SortExpression="SheetIndex" /> <asp:BoundField DataField="SheetIndex" HeaderText="#" ReadOnly="True" SortExpression="SheetIndex" ItemStyle-CssClass="px-1" DataFormatString="{0:00}" />
<asp:TemplateField HeaderText="Material" SortExpression="MatExtCode"> <asp:TemplateField HeaderText="Material" SortExpression="MatExtCode">
<ItemTemplate> <ItemTemplate>
<div class="row"> <div class="d-flex justify-content-between text-nowrap px-1">
<div class="col-8 text-left"> <div class="px-0 text-left">
<asp:Label ID="lblMatExtCode" runat="server" Text='<%# Eval("MatExtCode") %>' CssClass="font-weight-bold"></asp:Label> <asp:Label ID="lblMatExtCode" runat="server" Text='<%# Eval("MatExtCode") %>' CssClass="font-weight-bold"></asp:Label>
</div> </div>
<div class="col-4"> <div class="px-0 text-right">
<asp:Label ID="lblSheetID" runat="server" Text='<%# Eval("SheetID") %>' CssClass="small text-right"></asp:Label> <asp:Label ID="lblSheetID" runat="server" Text='<%# Eval("SheetID") %>' CssClass="small text-right"></asp:Label>
</div> </div>
<div class="col-12 text-left"> </div>
<asp:Label ID="lblMatDesc" runat="server" Text='<%# Eval("MatDesc") %>' CssClass="small"></asp:Label> <div class="d-flex justify-content-between text-nowrap">
</div> <div class="px-0 text-left">
</div> <asp:Label ID="lblMatDesc" runat="server" Text='<%# Eval("MatDesc") %>' CssClass="small"></asp:Label>
</ItemTemplate> </div>
</asp:TemplateField> </div>
<asp:TemplateField HeaderText="Estim" SortExpression="WrkTimeEst"> </ItemTemplate>
<ItemTemplate> </asp:TemplateField>
<asp:Label ID="lblWrkTimeEst" runat="server" Text='<%# formatMinSec(Eval("WrkTimeEst", "{0:N0}")) %>'></asp:Label> <asp:TemplateField HeaderText="Estim" SortExpression="WrkTimeEst">
</ItemTemplate> <ItemTemplate>
</asp:TemplateField> <div class="d-flex justify-content-between text-nowrap px-1">
</Columns> <div class="px-0 text-left">
<asp:Label ID="lblWrkTimeEst" runat="server" Text='<%# formatMinSec(Eval("WrkTimeEst", "{0:N0}")) %>'></asp:Label>
</div>
<div class="px-0 text-right" title="Part on current Sheet">
<sup>(<asp:Label ID="lblSheetParts" runat="server" Text='<%# GetSheetPartQty(Eval("SheetIndex")) %>'></asp:Label>)</sup>
</div>
</div>
<div class="d-flex justify-content-between text-nowrap">
<div class="px-0 text-left">
Y:
</div>
<div class="px-0 text-right">
<asp:Label ID="lblSheetYels" runat="server" Text='<%# GetSheetYeld(Eval("SheetIndex")) %>'></asp:Label>
</div>
</div>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView> </asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByStack" TypeName="AppData.DS_AppTableAdapters.SheetListTableAdapter"> <asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByStack" TypeName="AppData.DS_AppTableAdapters.SheetListTableAdapter">
<SelectParameters> <SelectParameters>
<asp:ControlParameter ControlID="hfStackID" DefaultValue="0" Name="StackID" PropertyName="Value" Type="Int32" /> <asp:ControlParameter ControlID="hfStackID" DefaultValue="0" Name="StackID" PropertyName="Value" Type="Int32" />
<asp:Parameter Name="Machine" DefaultValue="" /> <asp:Parameter Name="Machine" DefaultValue="" />
</SelectParameters> </SelectParameters>
</asp:ObjectDataSource> </asp:ObjectDataSource>
+213 -27
View File
@@ -1,13 +1,17 @@
using System; using AppData;
using SteamWare;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace NKC_WF.WebUserControls namespace NKC_WF.WebUserControls
{ {
public partial class cmp_BP_sheetList : BaseUserControl public partial class cmp_BP_sheetList : BaseUserControl
{ {
protected void Page_Load(object sender, EventArgs e) #region Public Properties
{
}
/// <summary> /// <summary>
/// Bunk corrente... /// Bunk corrente...
/// </summary> /// </summary>
@@ -16,6 +20,9 @@ namespace NKC_WF.WebUserControls
set set
{ {
hfStackID.Value = value.ToString(); hfStackID.Value = value.ToString();
// aggiorno dati mongo...
updateMongoData(BatchId, value);
// disegno datagrid...
grView.DataBind(); grView.DataBind();
} }
get get
@@ -25,6 +32,18 @@ namespace NKC_WF.WebUserControls
return answ; return answ;
} }
} }
/// <summary>
/// Num totale Sheets
/// </summary>
public int numSheets
{
get
{
return grView.Rows.Count;
}
}
// <summary> // <summary>
/// Indice selezionato /// Indice selezionato
/// </summary> /// </summary>
@@ -40,6 +59,7 @@ namespace NKC_WF.WebUserControls
grView.DataBind(); grView.DataBind();
} }
} }
/// <summary> /// <summary>
/// SheetId selezionato /// SheetId selezionato
/// </summary> /// </summary>
@@ -63,27 +83,11 @@ namespace NKC_WF.WebUserControls
return answ; return answ;
} }
} }
/// <summary>
/// comando reset
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtReset_Click(object sender, EventArgs e)
{
resetSelezione();
}
public void resetSelezione()
{
//lblStack.Text = "";
grView.SelectedIndex = -1;
grView.DataBind();
raiseEvent();
}
protected void grView_SelectedIndexChanged(object sender, EventArgs e) #endregion Public Properties
{
raiseEvent(); #region Public Methods
}
/// <summary> /// <summary>
/// Formatta in min/sec il tempo in sec decimale /// Formatta in min/sec il tempo in sec decimale
/// </summary> /// </summary>
@@ -101,14 +105,196 @@ namespace NKC_WF.WebUserControls
} }
/// <summary> /// <summary>
/// Num totale Sheets /// Recupera valore YELD dato SheetID
/// </summary> /// </summary>
public int numSheets /// <param name="sId"></param>
/// <returns></returns>
public string GetSheetPartQty(object sId)
{
int answ = 0;
int sheetId = 0;
if (int.TryParse($"{sId}", out sheetId))
{
if (SheetPartQty.ContainsKey(sheetId))
{
answ = SheetPartQty[sheetId];
}
}
return $"{answ:N0}";
}
/// <summary>
/// Recupera valore YELD dato SheetID
/// </summary>
/// <param name="sId"></param>
/// <returns></returns>
public string GetSheetYeld(object sId)
{
double answ = 0;
int sheetId = 0;
if (int.TryParse($"{sId}", out sheetId))
{
if (SheetYeld.ContainsKey(sheetId))
{
answ = SheetYeld[sheetId];
}
}
return $"{answ:P1}";
}
public void resetSelezione()
{
//lblStack.Text = "";
grView.SelectedIndex = -1;
grView.DataBind();
raiseEvent();
}
#endregion Public Methods
#region Protected Fields
/// <summary>
/// Tabella dei dati di quante part siano presenti x foglio recuperato dai dati nesting da mongoDB
/// </summary>
protected Dictionary<int, int> SheetPartQty = new Dictionary<int, int>();
/// <summary>
/// Tabella dei dati di resa (Yeald) x foglio recuperato dai dati nesting da mongoDB
/// </summary>
protected Dictionary<int, double> SheetYeld = new Dictionary<int, double>();
#endregion Protected Fields
#region Protected Properties
/// <summary>
/// Batch corrente...
/// </summary>
protected int BatchId
{ {
get get
{ {
return grView.Rows.Count; int answ = memLayer.ML.QSI("BatchId");
return answ;
} }
} }
#endregion Protected Properties
#region Protected Methods
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
{
raiseEvent();
}
/// <summary>
/// comando reset
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtReset_Click(object sender, EventArgs e)
{
resetSelezione();
}
protected void Page_Load(object sender, EventArgs e)
{
}
#endregion Protected Methods
#region Private Methods
/// <summary>
/// Aggiorna i dati di stima recuperando da Mongo le risposte complete dal supervisor
/// </summary>
/// <param name="BatchId">ID del Batch di cui recuperare le info</param>
/// <param name="BunkId">ID del BUNK da considerare</param>
private void updateMongoData(int BatchId, int BunkId)
{
SheetYeld = new Dictionary<int, double>();
SheetPartQty = new Dictionary<int, int>();
DataLayer dlMan = new DataLayer();
if (memLayer.ML.CRB("enableMongo"))
{
var bunkList = dlMan.taSTL.getByBatch(BatchId);
var bunkRow = bunkList.Where(x => x.StackID == BunkId).FirstOrDefault();
// da eliminare quando testato altro metodo...
#if false
// cerco da lista salvataggi Nest...
var nestAnsw = ComLib.man.getNestAnsw(BatchId);
// recupero bunk da DB
// elenchi x ricerca duplicati
List<int> partListNest = new List<int>();
List<int> partListNestDupl = new List<int>();
if (nestAnsw != null && bunkRow != null)
{
double num = 0;
double den = 1;
double currRatio = 0;
try
{
if (nestAnsw.BunkList != null)
{
foreach (var bunk in nestAnsw.BunkList)
{
if (bunkRow.StackIndex == bunk.BunkIndex)
{
// procedo SOLO per il bunk corrente...
foreach (var sheet in bunk.SheetList)
{
num = sheet.SurfaceWork > 0 ? sheet.SurfaceWork : 0;
den = sheet.SurfaceTotal > 0 ? sheet.SurfaceTotal : 1;
currRatio = ComLib.ratioProt(num, den);
if (SheetYeld.ContainsKey(sheet.SheetIndex))
{
SheetYeld[sheet.SheetIndex] = currRatio;
}
else
{
SheetYeld.Add(sheet.SheetIndex, currRatio);
}
if (SheetPartQty.ContainsKey(sheet.SheetIndex))
{
SheetPartQty[sheet.SheetIndex] = sheet.PartList.Count;
}
else
{
SheetPartQty.Add(sheet.SheetIndex, sheet.PartList.Count);
}
}
}
}
}
}
catch
{ }
}
#endif
// leggo da obj di DlMan
var statData = DLMan.GetYeldStatsFromMongoData(BatchId);
if (statData != null)
{
List<AppData.DTO.SheetYeldStatDTO> sList = statData
.ListBySheet
.Where(x => x.BunkIdx == bunkRow.StackIndex)
.ToList();
// converto...
SheetYeld = sList.ToDictionary(r => r.SheetIdx, r => r.Yeld);
SheetPartQty = sList.ToDictionary(r => r.SheetIdx, r => r.NumParts);
}
}
}
#endregion Private Methods
protected void grView_PageIndexChanged(object sender, EventArgs e)
{
updateMongoData(BatchId, BunkId);
}
} }
} }
@@ -14,6 +14,15 @@ namespace NKC_WF.WebUserControls
public partial class cmp_BP_sheetList public partial class cmp_BP_sheetList
{ {
/// <summary>
/// hfBunkIndex control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfBunkIndex;
/// <summary> /// <summary>
/// hfStackID control. /// hfStackID control.
/// </summary> /// </summary>
+8 -1
View File
@@ -2,7 +2,14 @@
<%@ Register Src="~/WebUserControls/cmp_errDescr.ascx" TagPrefix="uc1" TagName="cmp_errDescr" %> <%@ Register Src="~/WebUserControls/cmp_errDescr.ascx" TagPrefix="uc1" TagName="cmp_errDescr" %>
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="ErrID" DataSourceID="ods" CssClass="table table-striped table-condensed table-sm" AllowSorting="True"> <asp:GridView ID="grView" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="ErrID" DataSourceID="ods" CssClass="table table-striped table-sm table-condensed" AllowSorting="True">
<HeaderStyle CssClass="default" />
<PagerStyle CssClass="active GridPager" />
<PagerSettings Mode="NumericFirstLast" />
<SelectedRowStyle CssClass="table-info" />
<EmptyDataTemplate>
<%: traduci("NoRecord") %>
</EmptyDataTemplate>
<Columns> <Columns>
<asp:BoundField DataField="ErrType" HeaderText="Type" SortExpression="ErrType" /> <asp:BoundField DataField="ErrType" HeaderText="Type" SortExpression="ErrType" />
<asp:BoundField DataField="ParentUid" HeaderText="PUID" SortExpression="ParentUid" /> <asp:BoundField DataField="ParentUid" HeaderText="PUID" SortExpression="ParentUid" />
+32 -32
View File
@@ -1,44 +1,44 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <generato automaticamente> // <auto-generated>
// Codice generato da uno strumento. // This code was generated by a tool.
// //
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se // Changes to this file may cause incorrect behavior and will be lost if
// il codice viene rigenerato. // the code is regenerated.
// </generato automaticamente> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace NKC_WF.WebUserControls namespace NKC_WF.WebUserControls
{ {
public partial class cmp_ErrorsLog public partial class cmp_ErrorsLog
{ {
/// <summary> /// <summary>
/// Controllo grView. /// grView control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView grView; protected global::System.Web.UI.WebControls.GridView grView;
/// <summary> /// <summary>
/// Controllo ods. /// ods control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods; protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary> /// <summary>
/// Controllo hfPuid. /// hfPuid control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfPuid; protected global::System.Web.UI.WebControls.HiddenField hfPuid;
} }
} }
+1 -1
View File
@@ -48,5 +48,5 @@
}); });
} }
</script> </script>
<svg width="2000" height="1000" xmlns='http://www.w3.org/2000/svg' runat="server" id="svgTable" class="img-fluid"> <svg width="1920" height="1080" xmlns='http://www.w3.org/2000/svg' runat="server" id="svgTable" class="img-fluid">
</svg> </svg>
@@ -0,0 +1,31 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_OrderSearch.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_OrderSearch" %>
<asp:GridView runat="server" ID="grView" DataSourceID="odsSearch" AllowPaging="True" AutoGenerateColumns="False" CssClass="table table-striped table-sm table-condensed" OnPageIndexChanged="grView_PageIndexChanged" PageSize="10">
<HeaderStyle CssClass="default" />
<PagerStyle CssClass="active GridPager" />
<PagerSettings Mode="NumericFirstLast" />
<SelectedRowStyle CssClass="table-info" />
<EmptyDataTemplate>
<%: traduci("NoRecord") %>
</EmptyDataTemplate>
<Columns>
<asp:BoundField DataField="OrderExtCode" HeaderText="Order Code" SortExpression="ErrType" />
<asp:BoundField DataField="MODEL" HeaderText="Model" SortExpression="ParentUid" />
<asp:BoundField DataField="MRP_PART" HeaderText="MRP Part Code" SortExpression="Uid" />
<asp:BoundField DataField="FRAME_QTY" HeaderText="Frame qty" SortExpression="Uid" />
<asp:BoundField DataField="Qty" HeaderText="Part Qty" SortExpression="Uid" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="odsSearch" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="AppData.DS_AppTableAdapters.OrderSearchTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="hfCodOrder" DefaultValue="*" Name="CodOrder" PropertyName="Value" Type="String" />
<asp:ControlParameter ControlID="hfCodModel" DefaultValue="*" Name="CodModel" PropertyName="Value" Type="String" />
<asp:ControlParameter ControlID="hfCodPart" DefaultValue="*" Name="CodPart" PropertyName="Value" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:HiddenField ID="hfCodOrder" runat="server" />
<asp:HiddenField ID="hfCodModel" runat="server" />
<asp:HiddenField ID="hfCodPart" runat="server" />
@@ -0,0 +1,98 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace NKC_WF.WebUserControls
{
public partial class cmp_OrderSearch : BaseUserControl
{
#region Public Properties
/// <summary>
/// Filtraggio x Modello
/// </summary>
public string CodModel
{
get
{
return hfCodModel.Value;
}
set
{
if (hfCodModel.Value != value)
{
hfCodModel.Value = value;
grView.DataBind();
}
}
}
/// <summary>
/// Filtraggio x Ordine
/// </summary>
public string CodOrder
{
get
{
return hfCodOrder.Value;
}
set
{
if (hfCodOrder.Value != value)
{
hfCodOrder.Value = value;
grView.DataBind();
}
}
}
/// <summary>
/// Filtraggio x Part
/// </summary>
public string CodPart
{
get
{
return hfCodPart.Value;
}
set
{
if (hfCodPart.Value != value)
{
hfCodPart.Value = value;
grView.DataBind();
}
}
}
public int numRow
{
get
{
return grView.PageSize;
}
set
{
grView.PageSize = value;
}
}
protected void grView_PageIndexChanged(object sender, EventArgs e)
{
//checkFixOds();
}
#endregion Public Properties
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
{
}
#endregion Protected Methods
}
}
+62
View File
@@ -0,0 +1,62 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace NKC_WF.WebUserControls
{
public partial class cmp_OrderSearch
{
/// <summary>
/// grView control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// odsSearch control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsSearch;
/// <summary>
/// hfCodOrder control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfCodOrder;
/// <summary>
/// hfCodModel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfCodModel;
/// <summary>
/// hfCodPart control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfCodPart;
}
}
+9 -8
View File
@@ -13,29 +13,29 @@
<asp:LinkButton runat="server" ID="lbtAccept" CssClass="btn btn-sm btn-block btn-success" <asp:LinkButton runat="server" ID="lbtAccept" CssClass="btn btn-sm btn-block btn-success"
OnClick="lbtAccept_Click" OnClick="lbtAccept_Click"
OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmAcceptNest") %>' OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmAcceptNest") %>'
Visible='<%# checkStatus(Eval("Status"), NKC_SDK.BatchStatus.NestDone) && !checkType(Eval("BatchType"), NKC_SDK.BatchType.Descendant) %>'><%# traduci("AcceptNest") %></asp:LinkButton> Visible='<%# checkStatus(Eval("Status"), NKC_SDK.BatchStatus.NestDone) && !checkType(Eval("BatchType"), NKC_SDK.BatchType.Descendant) && BtnActEnab %>'><%# traduci("AcceptNest") %></asp:LinkButton>
</div> </div>
<div class="col-3"> <div class="col-3">
<asp:LinkButton runat="server" ID="lbtSendEstim" CssClass="btn btn-sm btn-block btn-info" <asp:LinkButton runat="server" ID="lbtSendEstim" CssClass="btn btn-sm btn-block btn-info"
OnClick="lbtSendEstim_Click" OnClick="lbtSendEstim_Click"
OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmStartEstim") %>' OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmStartEstim") %>'
Visible='<%# (checkStatus(Eval("Status"), NKC_SDK.BatchStatus.Imported) || checkStatus(Eval("Status"), NKC_SDK.BatchStatus.Errors) || checkStatus(Eval("Status"), NKC_SDK.BatchStatus.ErrorsOnEstim) || checkStatus(Eval("Status"), NKC_SDK.BatchStatus.ErrorsOnNesting)) && canStartNew %>'><%# traduci("SendToEstim") %></asp:LinkButton> Visible='<%# (checkStatus(Eval("Status"), NKC_SDK.BatchStatus.Imported) || checkStatus(Eval("Status"), NKC_SDK.BatchStatus.Errors) || checkStatus(Eval("Status"), NKC_SDK.BatchStatus.ErrorsOnEstim) || checkStatus(Eval("Status"), NKC_SDK.BatchStatus.ErrorsOnNesting)) && canStartNew && BtnActEnab %>'><%# traduci("SendToEstim") %></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtStopEstim" CssClass="btn btn-sm btn-block btn-dark" <asp:LinkButton runat="server" ID="lbtStopEstim" CssClass="btn btn-sm btn-block btn-dark"
OnClick="lbtStopEstim_Click" OnClick="lbtStopEstim_Click"
OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmStopEstim") %>' OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmStopEstim") %>'
Visible='<%# checkStatus(Eval("Status"), NKC_SDK.BatchStatus.EstimationRequested) %>'><%# traduci("StopEstim") %></asp:LinkButton> Visible='<%# checkStatus(Eval("Status"), NKC_SDK.BatchStatus.EstimationRequested) && BtnActEnab %>'><%# traduci("StopEstim") %></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtSendNesting" CssClass="btn btn-sm btn-block btn-warning" <asp:LinkButton runat="server" ID="lbtSendNesting" CssClass="btn btn-sm btn-block btn-warning"
OnClick="lbtSendNesting_Click" OnClick="lbtSendNesting_Click"
OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmStartNest") %>' OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmStartNest") %>'
Visible='<%# checkStatus(Eval("Status"), NKC_SDK.BatchStatus.EstimationDone) && !checkType(Eval("BatchType"), NKC_SDK.BatchType.Descendant) && canStartNew && isSplitted %>'><%# traduci("SendToNest") %></asp:LinkButton> Visible='<%# checkStatus(Eval("Status"), NKC_SDK.BatchStatus.EstimationDone) && !checkType(Eval("BatchType"), NKC_SDK.BatchType.Descendant) && canStartNew && isSplitted && BtnActEnab %>'><%# traduci("SendToNest") %></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtStopNesting" CssClass="btn btn-sm btn-block btn-dark" <asp:LinkButton runat="server" ID="lbtStopNesting" CssClass="btn btn-sm btn-block btn-dark"
OnClick="lbtStopNesting_Click" OnClick="lbtStopNesting_Click"
OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmStopNest") %>' OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmStopNest") %>'
Visible='<%# checkStatus(Eval("Status"), NKC_SDK.BatchStatus.NestRequested) %>'><%# traduci("StopNest") %></asp:LinkButton> Visible='<%# checkStatus(Eval("Status"), NKC_SDK.BatchStatus.NestRequested) && BtnActEnab %>'><%# traduci("StopNest") %></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtResetNest" CssClass="btn btn-sm btn-block btn-warning" <asp:LinkButton runat="server" ID="lbtResetNest" CssClass="btn btn-sm btn-block btn-warning"
OnClick="lbtResetNest_Click" OnClick="lbtResetNest_Click"
OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmResetNest") %>' OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmResetNest") %>'
Visible='<%# checkStatus(Eval("Status"), NKC_SDK.BatchStatus.NestDone) && !checkType(Eval("BatchType"), NKC_SDK.BatchType.Descendant) %>'><%# traduci("ResetNest") %></asp:LinkButton> Visible='<%# checkStatus(Eval("Status"), NKC_SDK.BatchStatus.NestDone) && !checkType(Eval("BatchType"), NKC_SDK.BatchType.Descendant) && BtnActEnab %>'><%# traduci("ResetNest") %></asp:LinkButton>
</div> </div>
<div class="col-12"> <div class="col-12">
<div class="row"> <div class="row">
@@ -75,6 +75,7 @@
</div> </div>
</ItemTemplate> </ItemTemplate>
</asp:FormView> </asp:FormView>
<asp:CheckBox runat="server" ID="chkActEnab" Checked="true" Visible="false" />
<asp:HiddenField ID="hfBatchId" runat="server" /> <asp:HiddenField ID="hfBatchId" runat="server" />
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByKey" TypeName="AppData.DS_AppTableAdapters.BatchListTableAdapter"> <asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByKey" TypeName="AppData.DS_AppTableAdapters.BatchListTableAdapter">
<SelectParameters> <SelectParameters>
@@ -83,5 +84,5 @@
</asp:ObjectDataSource> </asp:ObjectDataSource>
<uc1:cmp_batchDetailMongo runat="server" ID="cmp_batchDetailMongo" showInline="true" /> <uc1:cmp_batchDetailMongo runat="server" ID="cmp_batchDetailMongo" showInline="true" />
<div runat="server" id="divSplit"> <div runat="server" id="divSplit">
<uc1:cmp_batchDetailSplit runat="server" ID="cmp_batchDetailSplit" /> <uc1:cmp_batchDetailSplit runat="server" ID="cmp_batchDetailSplit" BtnEnabled='<%# BtnActEnab %>' />
</div> </div>
+22 -1
View File
@@ -29,6 +29,22 @@ namespace NKC_WF.WebUserControls
} }
} }
/// <summary>
/// Abilitazione azioni button-based
/// </summary>
public bool BtnActEnab
{
get
{
return chkActEnab.Checked;
}
set
{
chkActEnab.Checked = value;
}
}
/// <summary> /// <summary>
/// verifica possibilità avvio TASK x presenza task NON chiusi /// verifica possibilità avvio TASK x presenza task NON chiusi
/// </summary> /// </summary>
@@ -156,7 +172,7 @@ namespace NKC_WF.WebUserControls
DLMan.taEL.deteteByParent("", bRow.EnvNum); DLMan.taEL.deteteByParent("", bRow.EnvNum);
// cerco se ci siano batch descendant... // cerco se ci siano batch descendant...
var childBatch = DLMan.taBL.getDescendByKey(BatchId); var childBatch = DLMan.taBL.getDescendByKey(BatchId);
if(childBatch!=null && childBatch.Count>0) if (childBatch != null && childBatch.Count > 0)
{ {
foreach (var item in childBatch) foreach (var item in childBatch)
{ {
@@ -280,6 +296,11 @@ namespace NKC_WF.WebUserControls
protected void Page_Load(object sender, EventArgs e) protected void Page_Load(object sender, EventArgs e)
{ {
if (!Page.IsPostBack)
{
// sistemo buttons
cmp_batchDetailSplit.BtnEnabled = BtnActEnab;
}
cmp_batchDetailSplit.eh_doReset += Cmp_batchDetailSplit_eh_doReset; cmp_batchDetailSplit.eh_doReset += Cmp_batchDetailSplit_eh_doReset;
} }
+9
View File
@@ -23,6 +23,15 @@ namespace NKC_WF.WebUserControls
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.FormView frmView; protected global::System.Web.UI.WebControls.FormView frmView;
/// <summary>
/// chkActEnab control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkActEnab;
/// <summary> /// <summary>
/// hfBatchId control. /// hfBatchId control.
/// </summary> /// </summary>
@@ -3,7 +3,9 @@
<div class="row small text-dark text-left"> <div class="row small text-dark text-left">
<div class='<%: cssSized %>'> <div class='<%: cssSized %>'>
<div class="form-group my-0 row"> <div class="form-group my-0 row">
<label for="TotalTimeLabel" class="col-4">Mat OEE</label> <label for="TotalTimeLabel" class="col-4">
Mat OEE
<asp:CheckBox runat="server" ID="chkExcludeMin" Checked="true" Text="All Sheets" OnCheckedChanged="chkExcludeMin_CheckedChanged" /></label>
<div class="col-8 font-weight-bold"> <div class="col-8 font-weight-bold">
<asp:Label runat="server" ID="lblMatDet" /> <asp:Label runat="server" ID="lblMatDet" />
</div> </div>
@@ -17,7 +19,7 @@
</div> </div>
</div> </div>
</div> </div>
<div runat="server" id="divDetJson" class="col-12" Style="height: 12rem; overflow-y: scroll;" > <div runat="server" id="divDetJson" class="col-12" style="height: 12rem; overflow-y: scroll;">
<asp:Label runat="server" ID="lblTestJson" /> <asp:Label runat="server" ID="lblTestJson" />
</div> </div>
</div> </div>
@@ -60,15 +60,19 @@ namespace NKC_WF.WebUserControls
#region Private Methods #region Private Methods
private void updateMongoData(int value) /// <summary>
/// Aggiorna i dati di stima recuperando da Mongo le risposte complete dal supervisor
/// </summary>
/// <param name="batchId">BatchId di cui recuperare le info</param>
private void updateMongoData(int batchId)
{ {
lblMatDet.Text = ""; lblMatDet.Text = "";
lblProdDet.Text = ""; lblProdDet.Text = "";
if (memLayer.ML.CRB("enableMongo")) if (memLayer.ML.CRB("enableMongo"))
{ {
// cerco da lista salvataggi Estim/Nest... // cerco da lista salvataggi Estim/Nest...
var estimAnsw = ComLib.man.getEstAnsw(value); var estimAnsw = ComLib.man.getEstAnsw(batchId);
var nestAnsw = ComLib.man.getNestAnsw(value); var nestAnsw = ComLib.man.getNestAnsw(batchId);
StringBuilder sbDebug = new StringBuilder(); StringBuilder sbDebug = new StringBuilder();
sbDebug.AppendLine("Debug Info:"); sbDebug.AppendLine("Debug Info:");
// elenchi x ricerca duplicati // elenchi x ricerca duplicati
@@ -188,11 +192,15 @@ namespace NKC_WF.WebUserControls
{ {
// ordino le medie // ordino le medie
workRatio.Sort(); workRatio.Sort();
// controllo di averne + di 1... // filtro i valori + bassi solo se richiesto in conf
if (workRatio.Count > materialsList.Count * 2) if (!chkExcludeMin.Checked)
{ {
// elimino le + basse quanti materiali ci sono... // controllo di averne + di 1...
workRatio.RemoveRange(0, materialsList.Count); if (workRatio.Count > materialsList.Count * 2)
{
// elimino le + basse quanti materiali ci sono...
workRatio.RemoveRange(0, materialsList.Count);
}
} }
double avgRatio = workRatio.Average(); double avgRatio = workRatio.Average();
double minRatio = workRatio.Min(); double minRatio = workRatio.Min();
@@ -260,5 +268,10 @@ namespace NKC_WF.WebUserControls
} }
#endregion Protected Methods #endregion Protected Methods
protected void chkExcludeMin_CheckedChanged(object sender, EventArgs e)
{
updateMongoData(BatchId);
}
} }
} }
@@ -14,6 +14,15 @@ namespace NKC_WF.WebUserControls
public partial class cmp_batchDetailMongo public partial class cmp_batchDetailMongo
{ {
/// <summary>
/// chkExcludeMin control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkExcludeMin;
/// <summary> /// <summary>
/// lblMatDet control. /// lblMatDet control.
/// </summary> /// </summary>
@@ -8,16 +8,22 @@
<asp:HiddenField runat="server" ID="hfEnabled01" /> <asp:HiddenField runat="server" ID="hfEnabled01" />
<asp:HiddenField runat="server" ID="hfEnabled02" /> <asp:HiddenField runat="server" ID="hfEnabled02" />
<asp:HiddenField runat="server" ID="hfEnabled03" /> <asp:HiddenField runat="server" ID="hfEnabled03" />
<asp:HiddenField runat="server" ID="hfCodEnabPrev" />
<div class="card"> <div class="card">
<div class="card-header text-center"> <div class="card-header text-center">
<div class="row"> <div class="row">
<div class="col-4"></div> <div class="col-4">
<asp:Label runat="server" ID="lblWarnChange" Visible='<%# enabIsChanged %>'><i class="fa fa-exclamation-triangle fa-2x text-warning" aria-hidden="true"></i> Split Needed?</asp:Label>
<asp:CheckBox runat="server" ID="chkActEnab" Checked="true" Visible="false" />
</div>
<div class="col-4"> <div class="col-4">
<asp:LinkButton runat="server" ID="lbtBalance" CssClass="btn btn-success btn-block" OnClick="lbtBalance_Click" ToolTip="Balance on active Machines"> <asp:LinkButton runat="server" ID="lbtBalance" CssClass="btn btn-success btn-block" OnClick="lbtBalance_Click" ToolTip="Balance on active Machines">
<b><%: traduci("BatchSplit") %></b> <i class="fa fa-balance-scale" aria-hidden="true"></i> <b><%: traduci("BatchSplit") %></b> <i class="fa fa-balance-scale" aria-hidden="true"></i>
</asp:LinkButton> </asp:LinkButton>
</div> </div>
<div class="col-4"></div> <div class="col-4">
<asp:Label runat="server" ID="lblSplitRequest"><i class="fa fa-exclamation-triangle fa-2x text-danger" aria-hidden="true"></i> Something went wrong: rebalance!</asp:Label>
</div>
<div id="divError" runat="server" class="col-12 alert alert-warning" visible="false"> <div id="divError" runat="server" class="col-12 alert alert-warning" visible="false">
<div class="fs-2 text-danger"> <div class="fs-2 text-danger">
<asp:Label ID="lblError" runat="server" CssClass="font-weight-bold" /> <asp:Label ID="lblError" runat="server" CssClass="font-weight-bold" />
@@ -52,7 +58,7 @@
<asp:Label runat="server" ID="lblRat01" CssClass="form-control text-right"></asp:Label> <asp:Label runat="server" ID="lblRat01" CssClass="form-control text-right"></asp:Label>
<div class="input-group-append"> <div class="input-group-append">
<asp:LinkButton runat="server" ID="lbtOrdAdd01" CssClass="btn btn-dark" OnClick="lbtOrdAdd_Click" CommandArgument="NE01" ToolTip="Add 1"><i class="fa fa-plus" aria-hidden="true"></i></asp:LinkButton> <asp:LinkButton runat="server" ID="lbtOrdAdd01" CssClass="btn btn-dark" OnClick="lbtOrdAdd_Click" CommandArgument="NE01" ToolTip="Add 1"><i class="fa fa-plus" aria-hidden="true"></i></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtOrdAddAll01" CssClass="btn btn-success" OnClick="lbtOrdAddAll_Click" CommandArgument="NE01" ToolTip="Add All"><i class="fa fa-star" aria-hidden="true"></i></asp:LinkButton> <asp:LinkButton runat="server" ID="lbtOrdAddAll01" CssClass="btn btn-success" OnClick="lbtOrdAddAll_Click" CommandArgument="NE01" ToolTip="Add All"><i class="fa fa-star" aria-hidden="true" ></i></asp:LinkButton>
</div> </div>
</div> </div>
</div> </div>
@@ -36,6 +36,26 @@ namespace NKC_WF.WebUserControls
} }
} }
public bool enabIsChanged
{
get => codEnabled != codEnabledPrev;
}
/// <summary>
/// Abilitazione azioni button-based
/// </summary>
public bool BtnEnabled
{
get
{
return chkActEnab.Checked;
}
set
{
chkActEnab.Checked = value;
}
}
public bool isSplitted public bool isSplitted
{ {
get get
@@ -122,6 +142,20 @@ namespace NKC_WF.WebUserControls
} }
} }
protected int numKitBatchAncestor
{
get
{
int answ = 0;
if (BatchIsAncestor)
{
DS_App.KitListDataTable tabNeVirt = ComLib.KitListByBatch(BatchId);
answ = tabNeVirt.Count();
}
return answ;
}
}
protected int numOrd01 protected int numOrd01
{ {
get get
@@ -155,6 +189,20 @@ namespace NKC_WF.WebUserControls
} }
} }
protected int numOrdBatchAncestor
{
get
{
int answ = 0;
if (BatchIsAncestor)
{
DS_App.OrderListTreeDataTable tabNeVirt = ComLib.OrdersExtByBatch(BatchId);
answ = tabNeVirt.Count();
}
return answ;
}
}
/// <summary> /// <summary>
/// Tabella dei batch Descendant di quello corrente /// Tabella dei batch Descendant di quello corrente
/// </summary> /// </summary>
@@ -332,12 +380,25 @@ namespace NKC_WF.WebUserControls
protected void lbtBalance_Click(object sender, EventArgs e) protected void lbtBalance_Click(object sender, EventArgs e)
{ {
divError.Visible = false; divError.Visible = false;
codEnabledPrev = codEnabled;
lblWarnChange.Visible = enabIsChanged;
// imposto la % secondo numero di abilitati... // imposto la % secondo numero di abilitati...
Ratio01 = enable01 ? (double)(100 / numEnabled) / 100 : 0; Ratio01 = enable01 ? (double)(100 / numEnabled) / 100 : 0;
Ratio02 = enable02 ? (double)(100 / numEnabled) / 100 : 0; Ratio02 = enable02 ? (double)(100 / numEnabled) / 100 : 0;
Ratio03 = enable03 ? (double)(100 / numEnabled) / 100 : 0; Ratio03 = enable03 ? (double)(100 / numEnabled) / 100 : 0;
Log.Instance.Info($"Rebalance requested (click) | numEnabled: {numEnabled} | R01: {Ratio01:P1} | R02: {Ratio02:P1} | R03: {Ratio03:P1}"); Log.Instance.Info($"Rebalance requested (click) | numEnabled: {numEnabled} | R01: {Ratio01:P1} | R02: {Ratio02:P1} | R03: {Ratio03:P1}");
bool fatto = RebalanceOrder(); bool fatto = RebalanceOrder();
// 2024.12.13 eseguo riassegnazione kit a macchine come OLT...
if (BatchIsAncestor)
{
// effettuo VERA ri-assegnazione ordini/kit a nuovi batch
DLMan.taOLT.setBatchSplit(BatchId, true);
}
// svuoto cache redis per i calcoli...
ComLib.OrdersExtResetCache();
doUpdate(true); doUpdate(true);
lbtBalance.Focus(); lbtBalance.Focus();
string message = fatto ? "Balance done" : "Balance task error!"; string message = fatto ? "Balance done" : "Balance task error!";
@@ -353,6 +414,8 @@ namespace NKC_WF.WebUserControls
{ {
string CodMac = ((LinkButton)sender).CommandArgument; string CodMac = ((LinkButton)sender).CommandArgument;
moveOrderByCodMac(CodMac, true); moveOrderByCodMac(CodMac, true);
codEnabledPrev = codEnabled;
lblWarnChange.Visible = enabIsChanged;
} }
/// <summary> /// <summary>
@@ -364,6 +427,8 @@ namespace NKC_WF.WebUserControls
{ {
string CodMac = ((LinkButton)sender).CommandArgument; string CodMac = ((LinkButton)sender).CommandArgument;
moveAllOrderFromMac(CodMac, true); moveAllOrderFromMac(CodMac, true);
codEnabledPrev = codEnabled;
lblWarnChange.Visible = enabIsChanged;
} }
/// <summary> /// <summary>
@@ -375,6 +440,8 @@ namespace NKC_WF.WebUserControls
{ {
string CodMac = ((LinkButton)sender).CommandArgument; string CodMac = ((LinkButton)sender).CommandArgument;
moveOrderByCodMac(CodMac, false); moveOrderByCodMac(CodMac, false);
codEnabledPrev = codEnabled;
lblWarnChange.Visible = enabIsChanged;
} }
/// <summary> /// <summary>
@@ -386,29 +453,43 @@ namespace NKC_WF.WebUserControls
{ {
string CodMac = ((LinkButton)sender).CommandArgument; string CodMac = ((LinkButton)sender).CommandArgument;
moveAllOrderFromMac(CodMac, false); moveAllOrderFromMac(CodMac, false);
codEnabledPrev = codEnabled;
lblWarnChange.Visible = enabIsChanged;
} }
protected void lbtToggle01_Click(object sender, EventArgs e) protected void lbtToggle01_Click(object sender, EventArgs e)
{ {
enable01 = !enable01; // controllo che ce ne sia ALMENO un altro attivo
checkDisplayMode(); if (enable01 && numEnabled > 1 || !enable01)
fixEnabled(); {
enable01 = !enable01;
checkDisplayMode();
fixEnabled();
}
lbtToggle01.Focus(); lbtToggle01.Focus();
} }
protected void lbtToggle02_Click(object sender, EventArgs e) protected void lbtToggle02_Click(object sender, EventArgs e)
{ {
enable02 = !enable02; // controllo che ce ne sia ALMENO un altro attivo
checkDisplayMode(); if (enable02 && numEnabled > 1 || !enable02)
fixEnabled(); {
enable02 = !enable02;
checkDisplayMode();
fixEnabled();
}
lbtToggle02.Focus(); lbtToggle02.Focus();
} }
protected void lbtToggle03_Click(object sender, EventArgs e) protected void lbtToggle03_Click(object sender, EventArgs e)
{ {
enable03 = !enable03; // controllo che ce ne sia ALMENO un altro attivo
checkDisplayMode(); if (enable03 && numEnabled > 1 || !enable03)
fixEnabled(); {
enable03 = !enable03;
checkDisplayMode();
fixEnabled();
}
lbtToggle03.Focus(); lbtToggle03.Focus();
} }
@@ -418,11 +499,14 @@ namespace NKC_WF.WebUserControls
{ {
// verifica visualizzazione // verifica visualizzazione
toggleAll(true); toggleAll(true);
codEnabledPrev = codEnabled;
fixChildBatch(); fixChildBatch();
fixRatio(); fixRatio();
checkDisplayMode(); checkDisplayMode();
fixEnabled(); fixEnabled();
divError.Visible = false; divError.Visible = false;
// 2024.12.13: controllo che NON ci siano ordini o kit sul batch ancestor
lblSplitRequest.Visible = (numKitBatchAncestor + numOrdBatchAncestor) > 0;
} }
cmp_orderExtListNE01.eh_doRefresh += Cmp_orderExtListNE01_eh_doRefresh; cmp_orderExtListNE01.eh_doRefresh += Cmp_orderExtListNE01_eh_doRefresh;
cmp_orderExtListNE02.eh_doRefresh += Cmp_orderExtListNE02_eh_doRefresh; cmp_orderExtListNE02.eh_doRefresh += Cmp_orderExtListNE02_eh_doRefresh;
@@ -433,6 +517,32 @@ namespace NKC_WF.WebUserControls
#region Private Properties #region Private Properties
private int codEnabled
{
get
{
int answ = 0;
answ += enable01 ? 100 : 0;
answ += enable02 ? 10 : 0;
answ += enable03 ? 1 : 0;
return answ;
}
}
private int codEnabledPrev
{
get
{
int answ = 0;
int.TryParse(hfCodEnabPrev.Value, out answ);
return answ;
}
set
{
hfCodEnabPrev.Value = $"{value}";
}
}
private bool enable01 private bool enable01
{ {
get get
@@ -518,7 +628,7 @@ namespace NKC_WF.WebUserControls
/// </summary> /// </summary>
private void checkDisplayMode() private void checkDisplayMode()
{ {
var splitEnab = (BatchIsAncestor && CurrBatchStatus <= BatchStatus.EstimationDone && numEnabled > 0); var splitEnab = BtnEnabled && (BatchIsAncestor && CurrBatchStatus <= BatchStatus.EstimationDone && numEnabled > 0);
// se non suddiviso --> indico rosso! // se non suddiviso --> indico rosso!
double tmpTime = totTime01 + totTime02 + totTime03; double tmpTime = totTime01 + totTime02 + totTime03;
string baseCssClass = "btn btn-success btn-block"; string baseCssClass = "btn btn-success btn-block";
@@ -539,6 +649,18 @@ namespace NKC_WF.WebUserControls
cmp_batchDetailSplitInfoNE01.Visible = !splitEnab; cmp_batchDetailSplitInfoNE01.Visible = !splitEnab;
cmp_batchDetailSplitInfoNE02.Visible = !splitEnab; cmp_batchDetailSplitInfoNE02.Visible = !splitEnab;
cmp_batchDetailSplitInfoNE03.Visible = !splitEnab; cmp_batchDetailSplitInfoNE03.Visible = !splitEnab;
// controlo il batch sia ancestor e NON abbia ordini associati...
if (BatchIsAncestor)
{
// 2024.12.13: controllo che NON ci siano ordini o kit sul batch ancestor
bool hasErrors = (numKitBatchAncestor + numOrdBatchAncestor) > 0;
lblSplitRequest.Visible = hasErrors;
if (hasErrors)
{
lbtBalance.CssClass = "btn btn-danger btn-block";
isSplitted = false;
}
}
} }
private void Cmp_orderExtListNE01_eh_doRefresh(object sender, EventArgs e) private void Cmp_orderExtListNE01_eh_doRefresh(object sender, EventArgs e)
@@ -567,16 +689,6 @@ namespace NKC_WF.WebUserControls
int origOrdId = cmp_orderExtListNE03.SelOrderId; int origOrdId = cmp_orderExtListNE03.SelOrderId;
moveOrderById(batchId, origBatchId, origOrdId); moveOrderById(batchId, origBatchId, origOrdId);
} }
/// <summary>
/// Toggle generale pulsanti
/// </summary>
/// <param name="enable"></param>
private void toggleAll(bool enable)
{
enable01 = enable;
enable02 = enable;
enable03 = enable;
}
private void fixChildBatch() private void fixChildBatch()
{ {
@@ -605,30 +717,35 @@ namespace NKC_WF.WebUserControls
private void fixEnabled() private void fixEnabled()
{ {
lbtToggle01.CssClass = enable01 ? "btn btn-sm btn-primary" : "btn btn-sm btn-secondary"; lbtToggle01.Enabled = BtnEnabled;
lbtToggle02.CssClass = enable02 ? "btn btn-sm btn-primary" : "btn btn-sm btn-secondary"; lbtToggle02.Enabled = BtnEnabled;
lbtToggle03.CssClass = enable03 ? "btn btn-sm btn-primary" : "btn btn-sm btn-secondary"; lbtToggle03.Enabled = BtnEnabled;
lbtOrdAdd01.CssClass = movEnabled && enable01 ? "btn btn-success px-3" : "btn btn-secondary px-3 disabled"; lblWarnChange.Visible = enabIsChanged;
lbtOrdAdd02.CssClass = movEnabled && enable02 ? "btn btn-success px-3" : "btn btn-secondary px-3 disabled"; string secCss = BtnEnabled ? "btn btn-sm btn-secondary" : "btn btn-sm btn-secondary disabled";
lbtOrdAdd03.CssClass = movEnabled && enable03 ? "btn btn-success px-3" : "btn btn-secondary px-3 disabled"; lbtToggle01.CssClass = BtnEnabled && enable01 ? "btn btn-sm btn-primary" : secCss;
lbtOrdRem01.CssClass = movEnabled && enable01 ? "btn btn-danger px-3" : "btn btn-secondary px-3 disabled"; lbtToggle02.CssClass = BtnEnabled && enable02 ? "btn btn-sm btn-primary" : secCss;
lbtOrdRem02.CssClass = movEnabled && enable02 ? "btn btn-danger px-3" : "btn btn-secondary px-3 disabled"; lbtToggle03.CssClass = BtnEnabled && enable03 ? "btn btn-sm btn-primary" : secCss;
lbtOrdRem03.CssClass = movEnabled && enable03 ? "btn btn-danger px-3" : "btn btn-secondary px-3 disabled"; lbtOrdAdd01.CssClass = BtnEnabled && movEnabled && enable01 ? "btn btn-success px-3" : "btn btn-secondary px-3 disabled";
lbtOrdRemAll01.CssClass = movEnabled && enable01 ? "btn btn-primary" : "btn btn-secondary disabled"; lbtOrdAdd02.CssClass = BtnEnabled && movEnabled && enable02 ? "btn btn-success px-3" : "btn btn-secondary px-3 disabled";
lbtOrdRemAll02.CssClass = movEnabled && enable02 ? "btn btn-primary" : "btn btn-secondary disabled"; lbtOrdAdd03.CssClass = BtnEnabled && movEnabled && enable03 ? "btn btn-success px-3" : "btn btn-secondary px-3 disabled";
lbtOrdRemAll03.CssClass = movEnabled && enable03 ? "btn btn-primary" : "btn btn-secondary disabled"; lbtOrdRem01.CssClass = BtnEnabled && movEnabled && enable01 ? "btn btn-danger px-3" : "btn btn-secondary px-3 disabled";
lbtOrdAddAll01.CssClass = movEnabled && enable01 ? "btn btn-primary" : "btn btn-secondary disabled"; lbtOrdRem02.CssClass = BtnEnabled && movEnabled && enable02 ? "btn btn-danger px-3" : "btn btn-secondary px-3 disabled";
lbtOrdAddAll02.CssClass = movEnabled && enable02 ? "btn btn-primary" : "btn btn-secondary disabled"; lbtOrdRem03.CssClass = BtnEnabled && movEnabled && enable03 ? "btn btn-danger px-3" : "btn btn-secondary px-3 disabled";
lbtOrdAddAll03.CssClass = movEnabled && enable03 ? "btn btn-primary" : "btn btn-secondary disabled"; lbtOrdRemAll01.CssClass = BtnEnabled && movEnabled && enable01 ? "btn btn-primary" : "btn btn-secondary disabled";
cmp_orderExtListNE01.enableMove = enable01 && movEnabled; lbtOrdRemAll02.CssClass = BtnEnabled && movEnabled && enable02 ? "btn btn-primary" : "btn btn-secondary disabled";
cmp_orderExtListNE02.enableMove = enable02 && movEnabled; lbtOrdRemAll03.CssClass = BtnEnabled && movEnabled && enable03 ? "btn btn-primary" : "btn btn-secondary disabled";
cmp_orderExtListNE03.enableMove = enable03 && movEnabled; lbtOrdAddAll01.CssClass = BtnEnabled && movEnabled && enable01 ? "btn btn-primary" : "btn btn-secondary disabled";
lbtOrdAddAll02.CssClass = BtnEnabled && movEnabled && enable02 ? "btn btn-primary" : "btn btn-secondary disabled";
lbtOrdAddAll03.CssClass = BtnEnabled && movEnabled && enable03 ? "btn btn-primary" : "btn btn-secondary disabled";
cmp_orderExtListNE01.enableMove = BtnEnabled && enable01 && movEnabled;
cmp_orderExtListNE02.enableMove = BtnEnabled && enable02 && movEnabled;
cmp_orderExtListNE03.enableMove = BtnEnabled && enable03 && movEnabled;
divHeadNe01.Attributes.Remove("class"); divHeadNe01.Attributes.Remove("class");
divHeadNe02.Attributes.Remove("class"); divHeadNe02.Attributes.Remove("class");
divHeadNe03.Attributes.Remove("class"); divHeadNe03.Attributes.Remove("class");
divHeadNe01.Attributes.Add("class", enable01 ? "card-header bg-dark text-light py-1" : "card-header py-1"); divHeadNe01.Attributes.Add("class", BtnEnabled && enable01 ? "card-header bg-dark text-light py-1" : "card-header py-1");
divHeadNe02.Attributes.Add("class", enable02 ? "card-header bg-dark text-light py-1" : "card-header py-1"); divHeadNe02.Attributes.Add("class", BtnEnabled && enable02 ? "card-header bg-dark text-light py-1" : "card-header py-1");
divHeadNe03.Attributes.Add("class", enable03 ? "card-header bg-dark text-light py-1" : "card-header py-1"); divHeadNe03.Attributes.Add("class", BtnEnabled && enable03 ? "card-header bg-dark text-light py-1" : "card-header py-1");
} }
private void fixRatio() private void fixRatio()
@@ -711,6 +828,12 @@ namespace NKC_WF.WebUserControls
DLMan.taOLT.updateBatch(batchOrigId, ordine.OrdID, batchDestId); DLMan.taOLT.updateBatch(batchOrigId, ordine.OrdID, batchDestId);
} }
} }
// 2024.12.13 eseguo riassegnazione kit a macchine come OLT...
if (BatchIsAncestor)
{
// effettuo VERA ri-assegnazione ordini/kit a nuovi batch
DLMan.taOLT.setBatchSplit(BatchId, true);
}
// resetto batch ordini... // resetto batch ordini...
ComLib.OrdersExtResetCache(); ComLib.OrdersExtResetCache();
// ricalcolo // ricalcolo
@@ -778,6 +901,14 @@ namespace NKC_WF.WebUserControls
{ {
DLMan.taOLT.updateBatch(batchOrigId, ordId, batchDestId); DLMan.taOLT.updateBatch(batchOrigId, ordId, batchDestId);
} }
// 2024.12.13 eseguo riassegnazione kit a macchine come OLT...
if (BatchIsAncestor)
{
// effettuo VERA ri-assegnazione ordini/kit a nuovi batch
DLMan.taOLT.setBatchSplit(BatchId, true);
}
codEnabledPrev = codEnabled;
lblWarnChange.Visible = enabIsChanged;
// resetto batch ordini... // resetto batch ordini...
ComLib.OrdersExtResetCache(); ComLib.OrdersExtResetCache();
// ricalcolo // ricalcolo
@@ -795,6 +926,14 @@ namespace NKC_WF.WebUserControls
private void moveOrderById(int batchId, int origBatchId, int origOrdId) private void moveOrderById(int batchId, int origBatchId, int origOrdId)
{ {
DLMan.taOLT.updateBatch(origBatchId, origOrdId, batchId); DLMan.taOLT.updateBatch(origBatchId, origOrdId, batchId);
// 2024.12.13 eseguo riassegnazione kit a macchine come OLT...
if (BatchIsAncestor)
{
// effettuo VERA ri-assegnazione ordini/kit a nuovi batch
DLMan.taOLT.setBatchSplit(BatchId, true);
}
codEnabledPrev = codEnabled;
lblWarnChange.Visible = enabIsChanged;
// resetto batch ordini... // resetto batch ordini...
ComLib.OrdersExtResetCache(); ComLib.OrdersExtResetCache();
fixChildBatch(); fixChildBatch();
@@ -851,7 +990,11 @@ namespace NKC_WF.WebUserControls
directAssign = true; directAssign = true;
StartSet.OrderSet = OrderedList.OrderByDescending(x => x.Value).Take(num2proc).ToDictionary(t => t.Key, t => t.Value); StartSet.OrderSet = OrderedList.OrderByDescending(x => x.Value).Take(num2proc).ToDictionary(t => t.Key, t => t.Value);
// tolgo ordini lunghi tra quelli da processare // tolgo ordini lunghi tra quelli da processare
OrderedList = OrderedList.Take(OrderedList.Count - num2proc).ToDictionary(t => t.Key, t => t.Value); foreach (var ordTaken in StartSet.OrderSet)
{
OrderedList.Remove(ordTaken.Key);
}
//OrderedList = OrderedList.OrderBy(x => x.Value).Take(OrderedList.Count - num2proc).ToDictionary(t => t.Key, t => t.Value);
// imposto nuovi target secondo sia abilitato // imposto nuovi target secondo sia abilitato
int idx = 0; int idx = 0;
SetNe01.TargetValue -= enable01 ? StartSet.OrderSet.Skip(idx++).FirstOrDefault().Value : 0; SetNe01.TargetValue -= enable01 ? StartSet.OrderSet.Skip(idx++).FirstOrDefault().Value : 0;
@@ -959,6 +1102,7 @@ namespace NKC_WF.WebUserControls
{ {
Log.Instance.Error($"Exception durante rebalance 01:{Environment.NewLine}{exc}"); Log.Instance.Error($"Exception durante rebalance 01:{Environment.NewLine}{exc}");
} }
// 2024.09.20: controllo che il numero ordini torni o LO SEGNALO come errore... // 2024.09.20: controllo che il numero ordini torni o LO SEGNALO come errore...
int numAssigned = SetNe01.OrderSet.Count + SetNe02.OrderSet.Count + SetNe03.OrderSet.Count; int numAssigned = SetNe01.OrderSet.Count + SetNe02.OrderSet.Count + SetNe03.OrderSet.Count;
if (numAssigned != numOrdOrig) if (numAssigned != numOrdOrig)
@@ -1037,6 +1181,21 @@ namespace NKC_WF.WebUserControls
return answ; return answ;
} }
/// <summary>
/// Toggle generale pulsanti
/// </summary>
/// <param name="enable"></param>
private void toggleAll(bool enable)
{
// solo in caso di true...
if (enable)
{
enable01 = enable;
enable02 = enable;
enable03 = enable;
}
}
#endregion Private Methods #endregion Private Methods
} }
} }
@@ -68,6 +68,33 @@ namespace NKC_WF.WebUserControls
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfEnabled03; protected global::System.Web.UI.WebControls.HiddenField hfEnabled03;
/// <summary>
/// hfCodEnabPrev control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfCodEnabPrev;
/// <summary>
/// lblWarnChange control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblWarnChange;
/// <summary>
/// chkActEnab control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkActEnab;
/// <summary> /// <summary>
/// lbtBalance control. /// lbtBalance control.
/// </summary> /// </summary>
@@ -77,6 +104,15 @@ namespace NKC_WF.WebUserControls
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtBalance; protected global::System.Web.UI.WebControls.LinkButton lbtBalance;
/// <summary>
/// lblSplitRequest control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblSplitRequest;
/// <summary> /// <summary>
/// divError control. /// divError control.
/// </summary> /// </summary>
+2 -1
View File
@@ -4,6 +4,7 @@
<asp:HiddenField runat="server" ID="hfLastSelRow" /> <asp:HiddenField runat="server" ID="hfLastSelRow" />
<asp:HiddenField runat="server" ID="hfCreatePng" /> <asp:HiddenField runat="server" ID="hfCreatePng" />
<asp:CheckBox runat="server" ID="chkActEnab" Checked="true" Visible="false" />
<asp:UpdatePanel ID="updPanelDetail" runat="server" UpdateMode="Conditional"> <asp:UpdatePanel ID="updPanelDetail" runat="server" UpdateMode="Conditional">
<ContentTemplate> <ContentTemplate>
<div class="row"> <div class="row">
@@ -74,7 +75,7 @@
<ItemTemplate> <ItemTemplate>
<div class="text-center"> <div class="text-center">
<asp:LinkButton ID="lbRedoEval" runat="server" CausesValidation="False" CommandName="Cancel" CommandArgument='<%# Eval("Takt") %>' CssClass="btn btn-sm btn-info" Visible='<%# listMode== NKC_SDK.BatchListMode.PartsEval %>' ToolTip="Re-Validate single ITEM" OnClick="lbRedoEval_Click" OnClientClick='return confirm("ITEM Re-Validation requested. Are you sure to proceed?")'><i class="fa fa-check-circle-o" aria-hidden="true"></i></asp:LinkButton> <asp:LinkButton ID="lbRedoEval" runat="server" CausesValidation="False" CommandName="Cancel" CommandArgument='<%# Eval("Takt") %>' CssClass="btn btn-sm btn-info" Visible='<%# listMode== NKC_SDK.BatchListMode.PartsEval %>' ToolTip="Re-Validate single ITEM" OnClick="lbRedoEval_Click" OnClientClick='return confirm("ITEM Re-Validation requested. Are you sure to proceed?")'><i class="fa fa-check-circle-o" aria-hidden="true"></i></asp:LinkButton>
<asp:LinkButton ID="lbSelect" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="" CssClass="btn btn-sm btn-primary" Visible='<%# listMode== NKC_SDK.BatchListMode.Standard %>'><i class="fa fa-search" aria-hidden="true"></i></asp:LinkButton> <asp:LinkButton ID="lbSelect" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="" CssClass="btn btn-sm btn-primary" Visible='<%# listMode == NKC_SDK.BatchListMode.Standard || listMode == NKC_SDK.BatchListMode.FullHistory %>'><i class="fa fa-search" aria-hidden="true"></i></asp:LinkButton>
</div> </div>
</ItemTemplate> </ItemTemplate>
</asp:TemplateField> </asp:TemplateField>
@@ -11,6 +11,20 @@ namespace NKC_WF.WebUserControls
{ {
#region Public Properties #region Public Properties
public bool ActionEnab
{
get
{
return chkActEnab.Checked;
}
set
{
chkActEnab.Checked = value;
}
}
public bool deleteEnabled public bool deleteEnabled
{ {
get get
@@ -399,6 +413,7 @@ namespace NKC_WF.WebUserControls
// in base al ListMode decido cosa mostrare... // in base al ListMode decido cosa mostrare...
checkFixOds(); checkFixOds();
checkFixMode(); checkFixMode();
cmp_batchDetail.BtnActEnab = ActionEnab;
} }
cmp_batchDetail.eh_doRefresh += Cmp_batchDetail_eh_doRefresh; cmp_batchDetail.eh_doRefresh += Cmp_batchDetail_eh_doRefresh;
cmp_numRow.eh_doRefresh += Cmp_numRow_eh_doRefresh; cmp_numRow.eh_doRefresh += Cmp_numRow_eh_doRefresh;
+9
View File
@@ -32,6 +32,15 @@ namespace NKC_WF.WebUserControls
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfCreatePng; protected global::System.Web.UI.WebControls.HiddenField hfCreatePng;
/// <summary>
/// chkActEnab control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkActEnab;
/// <summary> /// <summary>
/// updPanelDetail control. /// updPanelDetail control.
/// </summary> /// </summary>
+2 -9
View File
@@ -1,11 +1,4 @@
using Newtonsoft.Json; using System;
using NKC_SDK;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace NKC_WF.WebUserControls namespace NKC_WF.WebUserControls
{ {
@@ -37,7 +30,7 @@ namespace NKC_WF.WebUserControls
set set
{ {
hfDescription.Value = value; hfDescription.Value = value;
} }
} }
+27 -30
View File
@@ -1,35 +1,32 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_footer.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_footer" %> <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_footer.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_footer" %>
<footer class="fixed-bottom bg-dark text-light small textCondens p-1"> <footer class="fixed-bottom bg-dark text-light textCondens">
<div class="container-flow px-1"> <asp:UpdatePanel runat="server" ID="upnlFooter" UpdateMode="Conditional" ChildrenAsTriggers="true">
<asp:UpdatePanel runat="server" ID="upnlFooter" UpdateMode="Conditional" ChildrenAsTriggers="true"> <ContentTemplate>
<ContentTemplate> <div class="d-flex justify-content-between px-1">
<div class="d-flex justify-content-between"> <div class="px-1 text-nowrap">
<div class="px-1"> <asp:Label ID="lblDateTime" runat="server" Text="..." />
<span class="d-none d-lg-inline"> &nbsp;|&nbsp;
<asp:Label ID="lblDateTime" runat="server" Text="..." /> <asp:Label ID="lblCodOperatore" runat="server" Text="-" />
&nbsp;|&nbsp;</span> </div>
<asp:Label ID="lblCodOperatore" runat="server" Text="-" /> <div class="px-1 text-right text-nowrap">
</div> <div class="d-flex">
<div class="px-1 text-right"> <div class="px-1">
<div class="d-flex flex-row-reverse"> <asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="5" DynamicLayout="false">
<div class="px-1"> <ProgressTemplate>
<asp:Label runat="server" ID="lblApp" Text="." /> <i class="fa fa-circle-o-notch fa-spin fa-fw text-primary" aria-hidden="true"></i>
</div> <i class="fa fa-circle-o-notch fa-spin fa-fw text-info" aria-hidden="true"></i>
<div class="px-1"> <i class="fa fa-circle-o-notch fa-spin fa-fw" aria-hidden="true"></i>
<asp:UpdateProgress ID="UpdateProgressDisplay" runat="server" DisplayAfter="5"> </ProgressTemplate>
<ProgressTemplate> </asp:UpdateProgress>
<i class="fa fa-circle-o-notch fa-spin fa-fw text-primary" aria-hidden="true"></i> </div>
<i class="fa fa-circle-o-notch fa-spin fa-fw text-info" aria-hidden="true"></i> <div class="px-1">
<i class="fa fa-circle-o-notch fa-spin fa-fw" aria-hidden="true"></i> <asp:Label runat="server" ID="lblApp" Text="0.0.0.0" />
</ProgressTemplate>
</asp:UpdateProgress>
</div>
</div> </div>
</div> </div>
</div> </div>
<asp:Timer ID="Timer1" runat="server" Interval="1000" OnTick="Timer1_Tick"> </div>
</asp:Timer> <asp:Timer ID="Timer1" runat="server" Interval="1000" OnTick="Timer1_Tick">
</ContentTemplate> </asp:Timer>
</asp:UpdatePanel> </ContentTemplate>
</div> </asp:UpdatePanel>
</footer> </footer>
+9 -9
View File
@@ -41,6 +41,15 @@ namespace NKC_WF.WebUserControls
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblCodOperatore; protected global::System.Web.UI.WebControls.Label lblCodOperatore;
/// <summary>
/// UpdateProgress1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdateProgress UpdateProgress1;
/// <summary> /// <summary>
/// lblApp control. /// lblApp control.
/// </summary> /// </summary>
@@ -50,15 +59,6 @@ namespace NKC_WF.WebUserControls
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblApp; protected global::System.Web.UI.WebControls.Label lblApp;
/// <summary>
/// UpdateProgressDisplay control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdateProgress UpdateProgressDisplay;
/// <summary> /// <summary>
/// Timer1 control. /// Timer1 control.
/// </summary> /// </summary>
+3 -1
View File
@@ -22,7 +22,9 @@
<div class="col-2"> <div class="col-2">
<asp:HyperLink runat="server" ID="hlShowErrors" Target="_blank" CssClass="btn btn-danger btn-block"><i class="fa fa-bug" aria-hidden="true"></i></asp:HyperLink> <asp:HyperLink runat="server" ID="hlShowErrors" Target="_blank" CssClass="btn btn-danger btn-block"><i class="fa fa-bug" aria-hidden="true"></i></asp:HyperLink>
</div> </div>
<asp:Label runat="server" ID="lblOutTask" CssClass="col-12 text-truncate"></asp:Label> <div style="max-height: 96px; overflow: auto;">
<asp:Label runat="server" ID="lblOutTask" CssClass="col-12 text-truncate"></asp:Label>
</div>
</div> </div>
</div> </div>
</div> </div>
+14 -1
View File
@@ -2,6 +2,7 @@
using NKC_SDK; using NKC_SDK;
using SteamWare; using SteamWare;
using System; using System;
using System.Text;
namespace NKC_WF.WebUserControls namespace NKC_WF.WebUserControls
{ {
@@ -137,11 +138,17 @@ namespace NKC_WF.WebUserControls
var risultati = DLMan.taImpLog.importCsvKit($"{dirImport}", fileName, batchName, ";", "\n", "2", numTask, 0, 0, testOnly); var risultati = DLMan.taImpLog.importCsvKit($"{dirImport}", fileName, batchName, ";", "\n", "2", numTask, 0, 0, testOnly);
// se ho delle righe di log processo... // se ho delle righe di log processo...
bool allCheck = true; bool allCheck = true;
StringBuilder sb = new StringBuilder();
string errorTxt = "";
foreach (var item in risultati) foreach (var item in risultati)
{ {
if (!item.IsOk) if (!item.IsOk)
{ {
allCheck = false; allCheck = false;
sb.AppendLine("----------------------");
sb.AppendLine("Error reported:");
sb.AppendLine($"{item.Note}");
sb.AppendLine("----------------------");
} }
} }
checkOk = allCheck; checkOk = allCheck;
@@ -149,7 +156,13 @@ namespace NKC_WF.WebUserControls
imported = checkOk && !testOnly; imported = checkOk && !testOnly;
// ora effettua validazione e mostra eventuale esito... // ora effettua validazione e mostra eventuale esito...
processValidation(); processValidation();
displayMessage($"{traduci("KitDataImportExecuted")}: {traduci("Validated")}: {checkOk} | {traduci("Imported")} : {imported}", false); string baseMsg = $"{traduci("KitDataImportExecuted")}: {traduci("Validated")}: {checkOk} | {traduci("Imported")} : {imported}";
// se ho errori aggiungo...
if(!checkOk)
{
baseMsg += $"{Environment.NewLine}{sb.ToString()}".Replace(Environment.NewLine, "<br/>");
}
displayMessage(baseMsg, !checkOk);
} }
catch (Exception exc) catch (Exception exc)
{ {
+38 -38
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <generato automaticamente> // <auto-generated>
// Codice generato da uno strumento. // This code was generated by a tool.
// //
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se // Changes to this file may cause incorrect behavior and will be lost if
// il codice viene rigenerato. // the code is regenerated.
// </generato automaticamente> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace NKC_WF.WebUserControls namespace NKC_WF.WebUserControls
@@ -15,101 +15,101 @@ namespace NKC_WF.WebUserControls
{ {
/// <summary> /// <summary>
/// Controllo hfFileName. /// hfFileName control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfFileName; protected global::System.Web.UI.WebControls.HiddenField hfFileName;
/// <summary> /// <summary>
/// Controllo hfBatchName. /// hfBatchName control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfBatchName; protected global::System.Web.UI.WebControls.HiddenField hfBatchName;
/// <summary> /// <summary>
/// Controllo hfNumTask. /// hfNumTask control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfNumTask; protected global::System.Web.UI.WebControls.HiddenField hfNumTask;
/// <summary> /// <summary>
/// Controllo hfCheckOk. /// hfCheckOk control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfCheckOk; protected global::System.Web.UI.WebControls.HiddenField hfCheckOk;
/// <summary> /// <summary>
/// Controllo hfImported. /// hfImported control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfImported; protected global::System.Web.UI.WebControls.HiddenField hfImported;
/// <summary> /// <summary>
/// Controllo lbtDoAction. /// lbtDoAction control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtDoAction; protected global::System.Web.UI.WebControls.LinkButton lbtDoAction;
/// <summary> /// <summary>
/// Controllo hlShowErrors. /// hlShowErrors control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.HyperLink hlShowErrors; protected global::System.Web.UI.WebControls.HyperLink hlShowErrors;
/// <summary> /// <summary>
/// Controllo lblOutTask. /// lblOutTask control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblOutTask; protected global::System.Web.UI.WebControls.Label lblOutTask;
/// <summary> /// <summary>
/// Controllo divStep1. /// divStep1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divStep1; protected global::System.Web.UI.HtmlControls.HtmlGenericControl divStep1;
/// <summary> /// <summary>
/// Controllo divStep2. /// divStep2 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divStep2; protected global::System.Web.UI.HtmlControls.HtmlGenericControl divStep2;
/// <summary> /// <summary>
/// Controllo divStep3. /// divStep3 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divStep3; protected global::System.Web.UI.HtmlControls.HtmlGenericControl divStep3;
} }
+15 -8
View File
@@ -4,23 +4,30 @@
<%@ Register Src="~/WebUserControls/cmp_MU_svgViewer.ascx" TagPrefix="uc1" TagName="cmp_MU_svgViewer" %> <%@ Register Src="~/WebUserControls/cmp_MU_svgViewer.ascx" TagPrefix="uc1" TagName="cmp_MU_svgViewer" %>
<%@ Register Src="~/WebUserControls/cmp_BP_sheetList.ascx" TagPrefix="uc1" TagName="cmp_BP_sheetList" %> <%@ Register Src="~/WebUserControls/cmp_BP_sheetList.ascx" TagPrefix="uc1" TagName="cmp_BP_sheetList" %>
<%@ Register Src="~/WebUserControls/cmp_slider.ascx" TagPrefix="uc1" TagName="cmp_slider" %> <%@ Register Src="~/WebUserControls/cmp_slider.ascx" TagPrefix="uc1" TagName="cmp_slider" %>
<%@ Register Src="~/WebUserControls/cmp_BP_MaterialYeld.ascx" TagPrefix="uc1" TagName="cmp_BP_MaterialYeld" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<asp:UpdatePanel runat="server" ID="uplBody"> <asp:UpdatePanel runat="server" ID="uplBody">
<ContentTemplate> <ContentTemplate>
<asp:HiddenField ID="hfBatchID" runat="server" /> <asp:HiddenField ID="hfBatchID" runat="server" />
<div class="row text-center small"> <div class="d-flex justify-content-between small px-1">
<div class="col-2 pr-0 small"> <div class="px-2">
<uc1:cmp_BP_bunkList runat="server" ID="cmp_BP_bunkList" /> <uc1:cmp_BP_bunkList runat="server" ID="cmp_BP_bunkList" />
<uc1:cmp_BP_MaterialYeld runat="server" ID="cmp_BP_MaterialYeld" />
</div> </div>
<div class="col-8 px-0"> <div class="p-2">
<h3><%# traduci("BatchPreview") %></h3> <div class="card shadow">
<uc1:cmp_slider runat="server" ID="cmp_slider" /> <div class="card-header">
<uc1:cmp_MU_svgViewer runat="server" ID="cmp_MU_svgViewer" /> <h4>Sheet Preview</h4>
</div>
<div class="card-body">
<uc1:cmp_slider runat="server" ID="cmp_slider" />
<uc1:cmp_MU_svgViewer runat="server" ID="cmp_MU_svgViewer" />
</div>
</div>
</div> </div>
<div class="col-2 pl-0 small"> <div class="px-12">
<uc1:cmp_BP_sheetList runat="server" ID="cmp_BP_sheetList" /> <uc1:cmp_BP_sheetList runat="server" ID="cmp_BP_sheetList" />
</div> </div>
</div> </div>
+32 -23
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <generato automaticamente> // <auto-generated>
// Codice generato da uno strumento. // This code was generated by a tool.
// //
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se // Changes to this file may cause incorrect behavior and will be lost if
// il codice viene rigenerato. // the code is regenerated.
// </generato automaticamente> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace NKC_WF.site namespace NKC_WF.site
@@ -15,56 +15,65 @@ namespace NKC_WF.site
{ {
/// <summary> /// <summary>
/// Controllo uplBody. /// uplBody control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.UpdatePanel uplBody; protected global::System.Web.UI.UpdatePanel uplBody;
/// <summary> /// <summary>
/// Controllo hfBatchID. /// hfBatchID control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfBatchID; protected global::System.Web.UI.WebControls.HiddenField hfBatchID;
/// <summary> /// <summary>
/// Controllo cmp_BP_bunkList. /// cmp_BP_bunkList control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::NKC_WF.WebUserControls.cmp_BP_bunkList cmp_BP_bunkList; protected global::NKC_WF.WebUserControls.cmp_BP_bunkList cmp_BP_bunkList;
/// <summary> /// <summary>
/// Controllo cmp_slider. /// cmp_BP_MaterialYeld control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::NKC_WF.WebUserControls.cmp_BP_MaterialYeld cmp_BP_MaterialYeld;
/// <summary>
/// cmp_slider control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::NKC_WF.WebUserControls.cmp_slider cmp_slider; protected global::NKC_WF.WebUserControls.cmp_slider cmp_slider;
/// <summary> /// <summary>
/// Controllo cmp_MU_svgViewer. /// cmp_MU_svgViewer control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::NKC_WF.WebUserControls.cmp_MU_svgViewer cmp_MU_svgViewer; protected global::NKC_WF.WebUserControls.cmp_MU_svgViewer cmp_MU_svgViewer;
/// <summary> /// <summary>
/// Controllo cmp_BP_sheetList. /// cmp_BP_sheetList control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Campo generato automaticamente. /// Auto-generated field.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::NKC_WF.WebUserControls.cmp_BP_sheetList cmp_BP_sheetList; protected global::NKC_WF.WebUserControls.cmp_BP_sheetList cmp_BP_sheetList;
} }
+3 -3
View File
@@ -1,8 +1,8 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/SiteContent.master" AutoEventWireup="true" CodeBehind="OrderHistory.aspx.cs" Inherits="NKC_WF.site.OrderHistory" %> <%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="OrderHistory.aspx.cs" Inherits="NKC_WF.site.OrderHistory" %>
<%@ Register Src="~/WebUserControls/cmp_batchList.ascx" TagPrefix="uc1" TagName="cmp_batchList" %> <%@ Register Src="~/WebUserControls/cmp_batchList.ascx" TagPrefix="uc1" TagName="cmp_batchList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<div class="container"> <div class="container-fluid">
<div class="card" style="width: 100%;"> <div class="card" style="width: 100%;">
<div class="card-header"> <div class="card-header">
<h3><%: traduci("OrderHistory") %></h3> <h3><%: traduci("OrderHistory") %></h3>
@@ -10,7 +10,7 @@
<div class="card-body"> <div class="card-body">
<div class="row"> <div class="row">
<div class="col-12" runat="server" id="divFileList"> <div class="col-12" runat="server" id="divFileList">
<uc1:cmp_batchList runat="server" ID="cmp_batchList" listMode="FullHistory" showSplit="true" forceCreatePng="false"/> <uc1:cmp_batchList runat="server" ID="cmp_batchList" listMode="FullHistory" showSplit="true" forceCreatePng="false" ActionEnab="false"/>
</div> </div>
</div> </div>
</div> </div>
+70
View File
@@ -0,0 +1,70 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="OrderSearch.aspx.cs" Inherits="NKC_WF.site.WebForm1" %>
<%@ Register Src="~/WebUserControls/cmp_fileUpload.ascx" TagPrefix="uc1" TagName="cmp_fileUpload" %>
<%@ Register Src="~/WebUserControls/cmp_OrderSearch.ascx" TagPrefix="uc1" TagName="cmp_OrderSearch" %>
<%@ Register Src="~/WebUserControls/cmp_numRow.ascx" TagPrefix="uc1" TagName="cmp_numRow" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<asp:UpdatePanel runat="server" ID="uplBody">
<ContentTemplate>
<div class="container-fluid">
<div class="card mb-5" style="width: 100%;">
<div class="card-header">
<div class="row">
<div class="col-3">
<h3><%: traduci("OrderSearchLong") %></h3>
<small>Search for matching open order and part code</small>
</div>
<div class="col-3">
<asp:UpdateProgress ID="updProg" runat="Server" AssociatedUpdatePanelID="uplBody" DisplayAfter="10">
<ProgressTemplate>
searching <i class="fa fa-spinner fa-spin fa-2x" aria-hidden="true"></i>
</ProgressTemplate>
</asp:UpdateProgress>
</div>
<div class="col-6">
<div class="row">
<div class="col-6">
<div class="form-group mb-0">
<label class="small mb-0">Order Code</label>
<asp:TextBox runat="server" ID="txtOrder" type="text" class="form-control form-control-sm" placeholder="Order Code (3+ char)" title="Order Code (ex: 40P1CAN032425)" OnTextChanged="txtOrder_TextChanged" AutoPostBack="true"></asp:TextBox>
</div>
</div>
<div class="col-4">
<div class="form-group mb-0">
<label class="small mb-0">Part Code</label>
<asp:TextBox runat="server" ID="txtPart" type="text" class="form-control form-control-sm" placeholder="MRP Part code (3+ char)" title="Part Code (ex: 143159)" OnTextChanged="txtPart_TextChanged" AutoPostBack="true"></asp:TextBox>
</div>
</div>
<div class="col-2 pl-0">
<div class="form-group mb-0">
<label class="small mb-0">Model (3+ char)</label>
<asp:TextBox runat="server" ID="txtModel" type="text" class="form-control form-control-sm" placeholder="Model (3+ char)" title="Model (ex: CANYON)" OnTextChanged="txtModel_TextChanged" AutoPostBack="true"></asp:TextBox>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="card-body py-1">
<div class="row">
<div class="col-12" runat="server" id="divBatchList">
<uc1:cmp_OrderSearch runat="server" ID="cmp_OrderSearch" />
</div>
</div>
</div>
<div class="card-footer py-1">
<div class="row">
<div class="col-9 col-md-10 col-lg-11">
<small>Preview limited to 1000 results for performances reason, at least 1 parameter to search</small>
</div>
<div class="col-3 col-md-2 col-lg-1">
<uc1:cmp_numRow runat="server" ID="cmp_numRow" />
</div>
</div>
</div>
</div>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Content>
+154
View File
@@ -0,0 +1,154 @@
using AppData;
using MongoDB.Driver.Search;
using NKC_SDK;
using SteamWare;
using System;
using System.Collections.Generic;
using System.IO;
using System.Web.UI;
namespace NKC_WF.site
{
public partial class WebForm1 : BasePage
{
#region Protected Fields
/// <summary>
/// Folder REMOTA x copia verso SQL
/// </summary>
protected string _SqlCopyDir = memLayer.ML.CRS("_SqlCopyDir");
/// <summary>
/// Folder x SQL import
/// </summary>
protected string _SqlImportDir = memLayer.ML.CRS("_SqlImportDir");
/// <summary>
/// Path base x nesting
/// </summary>
protected string cadBasePath = $"{memLayer.ML.CRS("nestBasePath")}{memLayer.ML.CRS("drawingFolder")}/";
/// <summary>
/// Path base x server
/// </summary>
protected string srvCadBasePath = $"{memLayer.ML.CRS("servBasePath")}{memLayer.ML.CRS("drawingFolder")}/";
#endregion Protected Fields
#region Private Methods
private void Cmp_batchList_eh_doRefresh(object sender, EventArgs e)
{
doUpdate();
}
private void Cmp_fileUpload_eh_doRefresh(object sender, EventArgs e)
{
doUpdate();
}
protected void ddlModel_SelectedIndexChanged(object sender, EventArgs e)
{
doUpdate();
}
/// <summary>
/// evento modifica testo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void txtOrder_TextChanged(object sender, EventArgs e)
{
string sVal = "*";
if (txtOrder.Text.Length > 2)
{
sVal = txtOrder.Text;
}
cmp_OrderSearch.CodOrder = sVal;
}
/// <summary>
/// evento modifica testo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void txtPart_TextChanged(object sender, EventArgs e)
{
string sVal = "*";
if (txtPart.Text.Length > 2)
{
sVal = txtPart.Text;
}
cmp_OrderSearch.CodPart = sVal;
}
/// <summary>
/// evento modifica testo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void txtModel_TextChanged(object sender, EventArgs e)
{
string sVal = "*";
if (txtModel.Text.Length > 2)
{
sVal = txtModel.Text;
}
cmp_OrderSearch.CodModel = sVal;
}
#endregion Private Methods
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
((SiteMaster)this.Master).showSearch = false;
cmp_numRow.numRow = 20;
cmp_OrderSearch.numRow = cmp_numRow.numRow;
doUpdate();
}
cmp_numRow.eh_doRefresh += Cmp_numRow_eh_doRefresh; ;
}
private void Cmp_numRow_eh_doRefresh(object sender, EventArgs e)
{
// recupero num righe ed aggiorno...
cmp_OrderSearch.numRow = cmp_numRow.numRow;
}
#endregion Protected Methods
#region Public Methods
/// <summary>
/// Update interfaccia
/// </summary>
public void doUpdate()
{
#if false
cmp_batchList.doUpdate();
#endif
}
#endregion Public Methods
/// <summary>
/// esegue ricerca effettiva + display
/// </summary>
protected void doSearch()
{
}
private string reqDest = "";
}
}
+89
View File
@@ -0,0 +1,89 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace NKC_WF.site
{
public partial class WebForm1
{
/// <summary>
/// uplBody control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel uplBody;
/// <summary>
/// updProg control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdateProgress updProg;
/// <summary>
/// txtOrder control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtOrder;
/// <summary>
/// txtPart control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtPart;
/// <summary>
/// txtModel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtModel;
/// <summary>
/// divBatchList control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divBatchList;
/// <summary>
/// cmp_OrderSearch control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::NKC_WF.WebUserControls.cmp_OrderSearch cmp_OrderSearch;
/// <summary>
/// cmp_numRow control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::NKC_WF.WebUserControls.cmp_numRow cmp_numRow;
}
}
+73 -4
View File
@@ -11,7 +11,7 @@
</TablixColumns> </TablixColumns>
<TablixRows> <TablixRows>
<TablixRow> <TablixRow>
<Height>8.86829in</Height> <Height>9.63445in</Height>
<TablixCells> <TablixCells>
<TablixCell> <TablixCell>
<CellContents> <CellContents>
@@ -321,6 +321,71 @@
</TablixCell> </TablixCell>
</TablixCells> </TablixCells>
</TablixRow> </TablixRow>
<TablixRow>
<Height>0.2in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="TextEgalware">
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Bin - powered by </Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Value>Egalware Srl</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Value> © </Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Label>PrintData</Label>
<Value>=Format(Globals!ExecutionTime, "yyyy-MM-dd HH:mm" )</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<Style>
<Border>
<Style>None</Style>
</Border>
<VerticalAlign>Top</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows> </TablixRows>
</TablixBody> </TablixBody>
<TablixColumnHierarchy> <TablixColumnHierarchy>
@@ -336,6 +401,10 @@
<GroupExpression>=Fields!ItemExtCode.Value</GroupExpression> <GroupExpression>=Fields!ItemExtCode.Value</GroupExpression>
</GroupExpressions> </GroupExpressions>
</Group> </Group>
<TablixMembers>
<TablixMember />
<TablixMember />
</TablixMembers>
<DataElementOutput>Output</DataElementOutput> <DataElementOutput>Output</DataElementOutput>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
</TablixMember> </TablixMember>
@@ -347,7 +416,7 @@
</PageBreak> </PageBreak>
<Top>0.1343in</Top> <Top>0.1343in</Top>
<Left>0.00001cm</Left> <Left>0.00001cm</Left>
<Height>8.86829in</Height> <Height>9.83445in</Height>
<Width>7.37604in</Width> <Width>7.37604in</Width>
<Style> <Style>
<FontFamily>Tahoma</FontFamily> <FontFamily>Tahoma</FontFamily>
@@ -356,7 +425,7 @@
</Style> </Style>
</Tablix> </Tablix>
</ReportItems> </ReportItems>
<Height>9.5in</Height> <Height>9.96875in</Height>
<Style /> <Style />
</Body> </Body>
<Width>7.5in</Width> <Width>7.5in</Width>
@@ -367,7 +436,7 @@
<BottomMargin>0.5in</BottomMargin> <BottomMargin>0.5in</BottomMargin>
<Style /> <Style />
</Page> </Page>
<Author>v. 1.5.1</Author> <Author>v. 1.5.2</Author>
<AutoRefresh>0</AutoRefresh> <AutoRefresh>0</AutoRefresh>
<DataSources> <DataSources>
<DataSource Name="Sauder_NKC"> <DataSource Name="Sauder_NKC">
+519
View File
@@ -0,0 +1,519 @@
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
<ReportItems>
<Tablix Name="List1">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>7.37604in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>8.86829in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Rectangle Name="List1_Contents">
<ReportItems>
<Image Name="Image_ItemExtCode">
<Source>External</Source>
<Value>=Fields!PathImageFull.Value &amp; First(Fields!ItemExtCode.Value, "stp_prt_Bin") &amp; ".png"</Value>
<Sizing>FitProportional</Sizing>
<Top>3.6in</Top>
<Height>132mm</Height>
<Width>187mm</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Image>
<Rectangle Name="Rectangle2">
<ReportItems>
<Textbox Name="BinIndexChar">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=First(Fields!BinIndexChar.Value)</Value>
<Style>
<FontFamily>Verdana Pro Cond</FontFamily>
<FontSize>80pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>BinIndexChar</rd:DefaultName>
<Top>0.45297cm</Top>
<Height>1.7086in</Height>
<Width>2.27083in</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
<VerticalAlign>Top</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Rectangle Name="Rectangle1">
<ReportItems>
<Textbox Name="BinDtmxRich">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=First(Fields!BinDtmxRich.Value)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>BinDtmxRich</rd:DefaultName>
<Top>0.04041in</Top>
<Height>0.25in</Height>
<Width>2.97049in</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="BinDtmxProc4">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=First(Fields!ItemExtCode.Value)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>BinDtmxProc</rd:DefaultName>
<Top>0.42956in</Top>
<Height>0.25in</Height>
<Width>2.97049in</Width>
<ZIndex>1</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="BinDtmxProc3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=First(Fields!TotItem.Value)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>BinDtmxProc</rd:DefaultName>
<Top>0.8187in</Top>
<Height>0.25in</Height>
<Width>2.97049in</Width>
<ZIndex>2</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="BinDtmxProc2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=First(Fields!ItemDesc.Value)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>BinDtmxProc</rd:DefaultName>
<Top>1.20784in</Top>
<Height>0.25in</Height>
<Width>2.97049in</Width>
<ZIndex>3</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Top>0.17833in</Top>
<Left>2.40278in</Left>
<Height>1.7086in</Height>
<Width>2.97049in</Width>
<ZIndex>1</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Rectangle>
<Image Name="QRCode">
<Source>External</Source>
<Value>=Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!BinDtmxRich.Value.ToString())
' la stringa nel Campo è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]}
' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in
' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']}
'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']}
' 2022 https locale
'https://iis01.egalware.com/zcode/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']}</Value>
<Sizing>FitProportional</Sizing>
<Top>0.41131cm</Top>
<Left>5.44271in</Left>
<Height>1.725in</Height>
<Width>1.93333in</Width>
<ZIndex>2</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Image>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Top>0.26993in</Top>
<Left>0.00001cm</Left>
<Height>2.08333in</Height>
<Width>7.37604in</Width>
<ZIndex>1</ZIndex>
<Style>
<Border>
<Style>Solid</Style>
</Border>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</TopBorder>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
</Style>
</Rectangle>
<Textbox Name="DueDate">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=First(Fields!DueDate.Value)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>48pt</FontSize>
<FontWeight>Bold</FontWeight>
<Format>MMM dd yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>DueDate</rd:DefaultName>
<Top>2.49987in</Top>
<Height>0.97917in</Height>
<Width>7.3622in</Width>
<ZIndex>2</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Rectangle>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="list1_Index">
<GroupExpressions>
<GroupExpression>=Fields!ItemExtCode.Value</GroupExpression>
</GroupExpressions>
</Group>
<DataElementOutput>Output</DataElementOutput>
<KeepTogether>true</KeepTogether>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>stp_prt_Bin</DataSetName>
<PageBreak>
<BreakLocation>End</BreakLocation>
</PageBreak>
<Top>0.1343in</Top>
<Left>0.00001cm</Left>
<Height>8.86829in</Height>
<Width>7.37604in</Width>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>14pt</FontSize>
<Color>SlateGray</Color>
</Style>
</Tablix>
</ReportItems>
<Height>9.5in</Height>
<Style />
</Body>
<Width>7.5in</Width>
<Page>
<LeftMargin>0.5in</LeftMargin>
<RightMargin>0.5in</RightMargin>
<TopMargin>0.5in</TopMargin>
<BottomMargin>0.5in</BottomMargin>
<Style />
</Page>
<Author>v. 1.5.1</Author>
<AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSource Name="Sauder_NKC">
<DataSourceReference>Sauder_NKC</DataSourceReference>
<rd:SecurityType>None</rd:SecurityType>
<rd:DataSourceID>7e875094-37e0-46d4-8db0-d51955773fb0</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="stp_prt_Bin">
<Query>
<DataSourceName>Sauder_NKC</DataSourceName>
<QueryParameters>
<QueryParameter Name="@BinID">
<Value>=Parameters!BinID.Value</Value>
</QueryParameter>
<QueryParameter Name="@flgPrePost">
<Value>=Parameters!flgPrePost.Value</Value>
</QueryParameter>
<QueryParameter Name="@PathImage">
<Value>=Parameters!PathImage.Value</Value>
</QueryParameter>
<QueryParameter Name="@QRCodeBaseUrl">
<Value>=Parameters!QRCodeBaseUrl.Value</Value>
</QueryParameter>
</QueryParameters>
<CommandType>StoredProcedure</CommandType>
<CommandText>prt.stp_prt_Bin</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="flgPreOrPost">
<DataField>flgPreOrPost</DataField>
<rd:TypeName>System.Boolean</rd:TypeName>
</Field>
<Field Name="BinID">
<DataField>BinID</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="BinIndex">
<DataField>BinIndex</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="BinIndexChar">
<DataField>BinIndexChar</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ItemExtCode">
<DataField>ItemExtCode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ItemDesc">
<DataField>ItemDesc</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="BinDtmxRich">
<DataField>BinDtmxRich</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="BinDtmx">
<DataField>BinDtmx</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="BinDtmxProc">
<DataField>BinDtmxProc</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="TotItem">
<DataField>TotItem</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="PathImageFull">
<DataField>PathImageFull</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="QRCodeBaseUrl">
<DataField>QRCodeBaseUrl</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="DueDate">
<DataField>DueDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
</Fields>
</DataSet>
</DataSets>
<ReportParameters>
<ReportParameter Name="QRCodeBaseUrl">
<DataType>String</DataType>
<Nullable>true</Nullable>
<DefaultValue>
<Values>
<Value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
</Values>
</DefaultValue>
<AllowBlank>true</AllowBlank>
<Prompt>QRCodeBaseURL:</Prompt>
</ReportParameter>
<ReportParameter Name="BinID">
<DataType>Integer</DataType>
<DefaultValue>
<Values>
<Value>7985</Value>
</Values>
</DefaultValue>
<Prompt>Bin ID</Prompt>
</ReportParameter>
<ReportParameter Name="flgPrePost">
<DataType>Boolean</DataType>
<DefaultValue>
<Values>
<Value>false</Value>
</Values>
</DefaultValue>
<Prompt>flg Pre Post</Prompt>
</ReportParameter>
<ReportParameter Name="PathImage">
<DataType>String</DataType>
<Nullable>true</Nullable>
<DefaultValue>
<Values>
<Value>file:\C:\PROGETTI\REPORTING_2008_SSTD_2010\Sauder\Sauder\</Value>
</Values>
</DefaultValue>
<AllowBlank>true</AllowBlank>
<Prompt>Path Image</Prompt>
<ValidValues>
<ParameterValues>
<ParameterValue>
<Value>file:\C:\PROGETTI\REPORTING_2008_SSTD_2010\Sauder\Sauder\</Value>
<Label>file:\C:\PROGETTI\REPORTING_2008_SSTD_2010\Sauder\Sauder\</Label>
</ParameterValue>
<ParameterValue>
<Value>http://IIS01/NKC/PartsImg/</Value>
<Label>http://IIS01/NKC/PartsImg/</Label>
</ParameterValue>
<ParameterValue>
<Value>http://seriate.steamware.net:8082/NKC/PartsImg/</Value>
<Label>http://seriate.steamware.net:8082/NKC/PartsImg/</Label>
</ParameterValue>
</ParameterValues>
</ValidValues>
</ReportParameter>
</ReportParameters>
<Language>en-US</Language>
<ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
<rd:ReportUnitType>Inch</rd:ReportUnitType>
<rd:ReportID>42b91d77-5259-4b9b-b313-695cd28dd977</rd:ReportID>
</Report>
+73 -3
View File
@@ -849,18 +849,88 @@
</Style> </Style>
</Tablix> </Tablix>
</ReportItems> </ReportItems>
<Height>9.92027in</Height> <Height>9.60777in</Height>
<Style /> <Style />
</Body> </Body>
<Width>7.46875in</Width> <Width>7.46875in</Width>
<Page> <Page>
<PageFooter>
<Height>0.20958in</Height>
<PrintOnLastPage>true</PrintOnLastPage>
<ReportItems>
<Textbox Name="Footer">
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Cart - powered by </Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Value>Egalware Srl</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Value> © </Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Label>PrintData</Label>
<Value>=Format(Globals!ExecutionTime, "yyyy-MM-dd HH:mm" )</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<Left>3.50916in</Left>
<Height>0.20958in</Height>
<Width>3.845in</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
<VerticalAlign>Top</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</PageFooter>
<LeftMargin>0.5in</LeftMargin> <LeftMargin>0.5in</LeftMargin>
<RightMargin>0.5in</RightMargin> <RightMargin>0.5in</RightMargin>
<TopMargin>0.5in</TopMargin> <TopMargin>0.5in</TopMargin>
<BottomMargin>0.5in</BottomMargin> <BottomMargin>0.5in</BottomMargin>
<Style /> <Style />
</Page> </Page>
<Author>v. 1.4.3</Author> <Author>v. 1.4.4</Author>
<AutoRefresh>0</AutoRefresh> <AutoRefresh>0</AutoRefresh>
<DataSources> <DataSources>
<DataSource Name="Sauder_NKC"> <DataSource Name="Sauder_NKC">
@@ -961,7 +1031,7 @@
<DataType>Integer</DataType> <DataType>Integer</DataType>
<DefaultValue> <DefaultValue>
<Values> <Values>
<Value>1319</Value> <Value>7544</Value>
</Values> </Values>
</DefaultValue> </DefaultValue>
<Prompt>Cart ID:</Prompt> <Prompt>Cart ID:</Prompt>
+974
View File
@@ -0,0 +1,974 @@
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
<ReportItems>
<Tablix Name="List1">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>7.46875in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>9.59847in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Rectangle Name="List1_Contents">
<ReportItems>
<Image Name="QRCode">
<Source>External</Source>
<Value>=Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!CartDtmx.Value.ToString())
' la stringa nel parametro di default è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]}
' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in
' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']}
'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']}</Value>
<Sizing>FitProportional</Sizing>
<Top>0.14639cm</Top>
<Left>0.23438in</Left>
<Height>2.67292in</Height>
<Width>2.8in</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Image>
<Textbox Name="textboxCartIndex">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>="C " &amp; Fields!CartIndex.Value</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>200pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
<LineHeight>1pt</LineHeight>
</Style>
</Paragraph>
</Paragraphs>
<Top>7.86978cm</Top>
<Height>3.45027in</Height>
<Width>7.46875in</Width>
<ZIndex>1</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<VerticalAlign>Top</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Textbox>
<Tablix Name="Tablix2">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>4.57812in</Width>
</TablixColumn>
<TablixColumn>
<Width>2.65104in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.28646in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox8">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Work Order Number</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>16pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox8</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox12">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Kit Qty</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>16pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox12</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.68229in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="OrderExtCode">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!OrderExtCode.Value</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>40pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>OrderExtCode</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</TopBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="TotKit">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!TotKit.Value</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>40pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>TotKit</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
</TopBorder>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
</BottomBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
</LeftBorder>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.3125in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox6">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Parent Number</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>16pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox6</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
</TopBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox7">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Model</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>16pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox6</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
</TopBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.68875in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="OrdParent">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!OrdParent.Value</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>40pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>OrdParent</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<TopBorder>
<Color>Black</Color>
</TopBorder>
<RightBorder>
<Color>Black</Color>
</RightBorder>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="FamilyCode2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!FamilyCode.Value</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>40pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>FamilyCode</rd:DefaultName>
<Style>
<Border>
<Style>Solid</Style>
</Border>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
</TopBorder>
<BottomBorder>
<Color>Black</Color>
</BottomBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
</RightBorder>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.3125in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox5">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>ATO REQUIRED DATE</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>16pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName>
<Style>
<Border>
<Style>Solid</Style>
</Border>
<RightBorder>
<Color>Black</Color>
</RightBorder>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<ColSpan>2</ColSpan>
</CellContents>
</TablixCell>
<TablixCell />
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.68229in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox10">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!AtoReqDate.Value</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>40pt</FontSize>
<Format>MM/dd/yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox10</rd:DefaultName>
<Style>
<Border>
<Style>Solid</Style>
</Border>
<TopBorder>
<Color>Black</Color>
</TopBorder>
<BottomBorder>
<Color>Black</Color>
</BottomBorder>
<RightBorder>
<Color>Black</Color>
</RightBorder>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<ColSpan>2</ColSpan>
</CellContents>
</TablixCell>
<TablixCell />
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<KeepWithGroup>After</KeepWithGroup>
</TablixMember>
<TablixMember>
<Group Name="Details" />
<TablixMembers>
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>stp_prt_Cart</DataSetName>
<Top>6.58in</Top>
<Left>0.125in</Left>
<Height>2.96479in</Height>
<Width>7.22916in</Width>
<ZIndex>2</ZIndex>
<Style>
<Border>
<Style>Solid</Style>
</Border>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</TopBorder>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
</Style>
</Tablix>
<Textbox Name="Textbox3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!CartDtmx.Value.ToString()</Value>
<Style>
<FontSize>11pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName>
<Top>2.77222in</Top>
<Left>0.23438in</Left>
<Height>0.25in</Height>
<Width>2.80833in</Width>
<ZIndex>3</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Rectangle Name="Rectangle1">
<ReportItems>
<Textbox Name="DueDate">
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=First(Fields!DueDate.Value)</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>36pt</FontSize>
<FontWeight>Bold</FontWeight>
<Format>MMM dd yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>DueDate</rd:DefaultName>
<Top>0.37375in</Top>
<Height>0.77208in</Height>
<Width>3.845in</Width>
<Style>
<Border>
<Style>Solid</Style>
</Border>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox4">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>MRP FRAMING KIT REQUIRED DATE</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>16pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Top>0.07167in</Top>
<Height>0.30208in</Height>
<Width>3.845in</Width>
<ZIndex>1</ZIndex>
<Style>
<Border>
<Style>Solid</Style>
</Border>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</TopBorder>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Top>0.6782in</Top>
<Left>3.50916in</Left>
<Height>1.25in</Height>
<Width>3.845in</Width>
<ZIndex>4</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Rectangle>
<Textbox Name="Textbox1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!CartDtmx.Value.ToString())
' la stringa nel parametro di default è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]}
' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in
' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']}
'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']}</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox1</rd:DefaultName>
<Top>2.77222in</Top>
<Left>3.11215in</Left>
<Height>0.25in</Height>
<Width>4.13666in</Width>
<ZIndex>5</ZIndex>
<Visibility>
<Hidden>true</Hidden>
</Visibility>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Style />
</Rectangle>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="list1_Index">
<GroupExpressions>
<GroupExpression>=Fields!CartIndex.Value</GroupExpression>
</GroupExpressions>
<PageBreak>
<BreakLocation>Between</BreakLocation>
</PageBreak>
</Group>
<DataElementOutput>Output</DataElementOutput>
<KeepTogether>true</KeepTogether>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>stp_prt_Cart</DataSetName>
<PageBreak>
<BreakLocation>End</BreakLocation>
</PageBreak>
<Top>0.0093in</Top>
<Left>0.00001cm</Left>
<Height>9.59847in</Height>
<Width>7.46875in</Width>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>14pt</FontSize>
<Color>SlateGray</Color>
</Style>
</Tablix>
</ReportItems>
<Height>9.92027in</Height>
<Style />
</Body>
<Width>7.46875in</Width>
<Page>
<LeftMargin>0.5in</LeftMargin>
<RightMargin>0.5in</RightMargin>
<TopMargin>0.5in</TopMargin>
<BottomMargin>0.5in</BottomMargin>
<Style />
</Page>
<Author>v. 1.4.3</Author>
<AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSource Name="Sauder_NKC">
<DataSourceReference>Sauder_NKC</DataSourceReference>
<rd:SecurityType>None</rd:SecurityType>
<rd:DataSourceID>7e875094-37e0-46d4-8db0-d51955773fb0</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="stp_prt_Cart">
<Query>
<DataSourceName>Sauder_NKC</DataSourceName>
<QueryParameters>
<QueryParameter Name="@CartID">
<Value>=Parameters!CartID.Value</Value>
</QueryParameter>
<QueryParameter Name="@QRCodeBaseUrl">
<Value>=Parameters!QRCodeBaseUrl.Value</Value>
</QueryParameter>
</QueryParameters>
<CommandType>StoredProcedure</CommandType>
<CommandText>prt.stp_prt_Cart</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="BatchID">
<DataField>BatchID</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="CartID">
<DataField>CartID</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="CartIndex">
<DataField>CartIndex</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="CartDtmx">
<DataField>CartDtmx</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="OrderExtCode">
<DataField>OrderExtCode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="FamilyCode">
<DataField>FamilyCode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="TotKit">
<DataField>TotKit</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="QRCodeBaseUrl">
<DataField>QRCodeBaseUrl</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="OrdParent">
<DataField>OrdParent</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="AtoReqDate">
<DataField>AtoReqDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="DueDate">
<DataField>DueDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
</Fields>
</DataSet>
</DataSets>
<ReportParameters>
<ReportParameter Name="QRCodeBaseUrl">
<DataType>String</DataType>
<Nullable>true</Nullable>
<DefaultValue>
<Values>
<Value>https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']}</Value>
</Values>
</DefaultValue>
<AllowBlank>true</AllowBlank>
<Prompt>QRCodeBaseURL:</Prompt>
<ValidValues>
<ParameterValues>
<ParameterValue>
<Value>https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']}</Value>
<Label>https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']}</Label>
</ParameterValue>
<ParameterValue>
<Value>https://iis01.egalware.com/zcode/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']}</Value>
<Label>https://iis01.egalware.com/zcode</Label>
</ParameterValue>
</ParameterValues>
</ValidValues>
</ReportParameter>
<ReportParameter Name="CartID">
<DataType>Integer</DataType>
<DefaultValue>
<Values>
<Value>1319</Value>
</Values>
</DefaultValue>
<Prompt>Cart ID:</Prompt>
</ReportParameter>
</ReportParameters>
<Language>en-US</Language>
<ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
<rd:ReportUnitType>Inch</rd:ReportUnitType>
<rd:ReportID>42b91d77-5259-4b9b-b313-695cd28dd977</rd:ReportID>
</Report>
+22 -10
View File
@@ -18,8 +18,8 @@
<FullPath>Bin per Test Image.rdl</FullPath> <FullPath>Bin per Test Image.rdl</FullPath>
</ProjectItem> </ProjectItem>
<ProjectItem> <ProjectItem>
<Name>Bin.rdl</Name> <Name>Bin_ver_1.5.1.rdl</Name>
<FullPath>Bin.rdl</FullPath> <FullPath>Bin_ver_1.5.1.rdl</FullPath>
</ProjectItem> </ProjectItem>
<ProjectItem> <ProjectItem>
<Name>Bin_ver_1.0.1.rdl</Name> <Name>Bin_ver_1.0.1.rdl</Name>
@@ -58,8 +58,8 @@
<FullPath>BunkList_ver_1.1.1.rdl</FullPath> <FullPath>BunkList_ver_1.1.1.rdl</FullPath>
</ProjectItem> </ProjectItem>
<ProjectItem> <ProjectItem>
<Name>Cart.rdl</Name> <Name>Cart_ver_1.4.3.rdl</Name>
<FullPath>Cart.rdl</FullPath> <FullPath>Cart_ver_1.4.3.rdl</FullPath>
</ProjectItem> </ProjectItem>
<ProjectItem> <ProjectItem>
<Name>Cart_ver_1.1.1.rdl</Name> <Name>Cart_ver_1.1.1.rdl</Name>
@@ -94,13 +94,17 @@
<FullPath>OtherPart.rdl</FullPath> <FullPath>OtherPart.rdl</FullPath>
</ProjectItem> </ProjectItem>
<ProjectItem> <ProjectItem>
<Name>Part_v_2.1.1.rdl</Name> <Name>Part.rdl</Name>
<FullPath>Part_v_2.1.1.rdl</FullPath> <FullPath>Part.rdl</FullPath>
</ProjectItem> </ProjectItem>
<ProjectItem> <ProjectItem>
<Name>Part_v_1.1.1.rdl</Name> <Name>Part_v_1.1.1.rdl</Name>
<FullPath>Part_v_1.1.1.rdl</FullPath> <FullPath>Part_v_1.1.1.rdl</FullPath>
</ProjectItem> </ProjectItem>
<ProjectItem>
<Name>Part_v_2.1.1.rdl</Name>
<FullPath>Part_v_2.1.1.rdl</FullPath>
</ProjectItem>
<ProjectItem> <ProjectItem>
<Name>ProductionDay.rdl</Name> <Name>ProductionDay.rdl</Name>
<FullPath>ProductionDay.rdl</FullPath> <FullPath>ProductionDay.rdl</FullPath>
@@ -118,8 +122,8 @@
<FullPath>Remnant.rdl</FullPath> <FullPath>Remnant.rdl</FullPath>
</ProjectItem> </ProjectItem>
<ProjectItem> <ProjectItem>
<Name>SpecialParts.rdl</Name> <Name>SpecialParts_v_1.4.1.rdl</Name>
<FullPath>SpecialParts.rdl</FullPath> <FullPath>SpecialParts_v_1.4.1.rdl</FullPath>
</ProjectItem> </ProjectItem>
<ProjectItem> <ProjectItem>
<Name>SpecialParts_Test_Code.rdl</Name> <Name>SpecialParts_Test_Code.rdl</Name>
@@ -138,8 +142,16 @@
<FullPath>SpecialParts_v_1.3.1.rdl</FullPath> <FullPath>SpecialParts_v_1.3.1.rdl</FullPath>
</ProjectItem> </ProjectItem>
<ProjectItem> <ProjectItem>
<Name>Part.rdl</Name> <Name>Cart.rdl</Name>
<FullPath>Part.rdl</FullPath> <FullPath>Cart.rdl</FullPath>
</ProjectItem>
<ProjectItem>
<Name>SpecialParts.rdl</Name>
<FullPath>SpecialParts.rdl</FullPath>
</ProjectItem>
<ProjectItem>
<Name>Bin.rdl</Name>
<FullPath>Bin.rdl</FullPath>
</ProjectItem> </ProjectItem>
</Reports> </Reports>
<Configurations> <Configurations>
+77 -9
View File
@@ -11,7 +11,7 @@
</TablixColumns> </TablixColumns>
<TablixRows> <TablixRows>
<TablixRow> <TablixRow>
<Height>9.9907in</Height> <Height>9.76979in</Height>
<TablixCells> <TablixCells>
<TablixCell> <TablixCell>
<CellContents> <CellContents>
@@ -23,7 +23,7 @@
' viene creata un'immagine apposita da DXF file validation per gli special part con dimensioni diverse</Value> ' viene creata un'immagine apposita da DXF file validation per gli special part con dimensioni diverse</Value>
<Sizing>FitProportional</Sizing> <Sizing>FitProportional</Sizing>
<Top>6in</Top> <Top>5.88367in</Top>
<Left>0.02648cm</Left> <Left>0.02648cm</Left>
<Height>78.24611mm</Height> <Height>78.24611mm</Height>
<Width>187.17581mm</Width> <Width>187.17581mm</Width>
@@ -470,7 +470,6 @@
</Textbox> </Textbox>
</ReportItems> </ReportItems>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Top>0.01993in</Top>
<Left>0.00445cm</Left> <Left>0.00445cm</Left>
<Height>2.91471in</Height> <Height>2.91471in</Height>
<Width>7.37604in</Width> <Width>7.37604in</Width>
@@ -502,7 +501,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>DueDate</rd:DefaultName> <rd:DefaultName>DueDate</rd:DefaultName>
<Top>3in</Top> <Top>2.91471in</Top>
<Left>0.02203cm</Left> <Left>0.02203cm</Left>
<Height>2.96896in</Height> <Height>2.96896in</Height>
<Width>7.3622in</Width> <Width>7.3622in</Width>
@@ -716,7 +715,7 @@
</TablixMembers> </TablixMembers>
</TablixRowHierarchy> </TablixRowHierarchy>
<DataSetName>stp_prt_SpecialPart</DataSetName> <DataSetName>stp_prt_SpecialPart</DataSetName>
<Top>9.15in</Top> <Top>8.96423in</Top>
<Left>0.82in</Left> <Left>0.82in</Left>
<Height>0.80556in</Height> <Height>0.80556in</Height>
<Width>5.70574in</Width> <Width>5.70574in</Width>
@@ -759,6 +758,71 @@
</TablixCell> </TablixCell>
</TablixCells> </TablixCells>
</TablixRow> </TablixRow>
<TablixRow>
<Height>0.2in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="TextEgalware">
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>SpecialParts - powered by </Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Value>Egalware Srl</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Value> © </Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
<TextRun>
<Label>PrintData</Label>
<Value>=Format(Globals!ExecutionTime, "yyyy-MM-dd HH:mm" )</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Color>Gray</Color>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<Style>
<Border>
<Style>None</Style>
</Border>
<VerticalAlign>Top</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows> </TablixRows>
</TablixBody> </TablixBody>
<TablixColumnHierarchy> <TablixColumnHierarchy>
@@ -774,6 +838,10 @@
<GroupExpression>=Fields!ItemExtCode.Value</GroupExpression> <GroupExpression>=Fields!ItemExtCode.Value</GroupExpression>
</GroupExpressions> </GroupExpressions>
</Group> </Group>
<TablixMembers>
<TablixMember />
<TablixMember />
</TablixMembers>
<DataElementOutput>Output</DataElementOutput> <DataElementOutput>Output</DataElementOutput>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
</TablixMember> </TablixMember>
@@ -783,9 +851,9 @@
<PageBreak> <PageBreak>
<BreakLocation>End</BreakLocation> <BreakLocation>End</BreakLocation>
</PageBreak> </PageBreak>
<Top>0.0093in</Top> <Top>0in</Top>
<Left>0.00001cm</Left> <Left>0.00001cm</Left>
<Height>9.9907in</Height> <Height>9.96979in</Height>
<Width>7.37954in</Width> <Width>7.37954in</Width>
<Style> <Style>
<FontFamily>Tahoma</FontFamily> <FontFamily>Tahoma</FontFamily>
@@ -794,7 +862,7 @@
</Style> </Style>
</Tablix> </Tablix>
</ReportItems> </ReportItems>
<Height>10in</Height> <Height>9.96979in</Height>
<Style /> <Style />
</Body> </Body>
<Width>7.5in</Width> <Width>7.5in</Width>
@@ -805,7 +873,7 @@
<BottomMargin>0.5in</BottomMargin> <BottomMargin>0.5in</BottomMargin>
<Style /> <Style />
</Page> </Page>
<Author>v. 1.4.1</Author> <Author>v. 1.4.2</Author>
<AutoRefresh>0</AutoRefresh> <AutoRefresh>0</AutoRefresh>
<DataSources> <DataSources>
<DataSource Name="Sauder_NKC"> <DataSource Name="Sauder_NKC">
@@ -0,0 +1,966 @@
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
<ReportItems>
<Tablix Name="List1">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>7.37954in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>9.9907in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Rectangle Name="List1_Contents">
<ReportItems>
<Image Name="Image_ItemExtCode">
<Source>External</Source>
<Value>=Fields!PathImageFull.Value &amp; First(Fields!ItemExtCode.Value, "list1_Index") &amp; "_SP.png"
' viene creata un'immagine apposita da DXF file validation per gli special part con dimensioni diverse</Value>
<Sizing>FitProportional</Sizing>
<Top>6in</Top>
<Left>0.02648cm</Left>
<Height>78.24611mm</Height>
<Width>187.17581mm</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Image>
<Rectangle Name="Rectangle2">
<ReportItems>
<Rectangle Name="Rectangle1">
<ReportItems>
<Tablix Name="Tablix4">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>2.03125in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.56925in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.25in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox21">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>MPR FRAMING KIT REQUIRED DATE</Value>
<Style>
<FontSize>12pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox21</rd:DefaultName>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<ColSpan>2</ColSpan>
</CellContents>
</TablixCell>
<TablixCell />
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.55048in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="ReqDate">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!ReqDate.Value</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>34pt</FontSize>
<FontWeight>Bold</FontWeight>
<Format>MMM dd yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>ReqDate</rd:DefaultName>
<Style>
<Border>
<Style>None</Style>
</Border>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</TopBorder>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<ColSpan>2</ColSpan>
</CellContents>
</TablixCell>
<TablixCell />
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.25in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox28">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Model</Value>
<Style>
<FontSize>12pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox28</rd:DefaultName>
<Style>
<Border>
<Style>None</Style>
</Border>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox34">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Kit Qty</Value>
<Style>
<FontSize>12pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox34</rd:DefaultName>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.53125in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="ModelCod">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!ModelCod.Value</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>28pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>ModelCod</rd:DefaultName>
<Style>
<Border>
<Style>None</Style>
</Border>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</TopBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="TotItem">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>TotItem</Label>
<Value>=First(Fields!TotItem.Value)</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>32pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>TotItem</rd:DefaultName>
<Style>
<Border>
<Style>None</Style>
</Border>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</TopBorder>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<KeepWithGroup>After</KeepWithGroup>
</TablixMember>
<TablixMember>
<Group Name="Details1" />
</TablixMember>
<TablixMember>
<KeepWithGroup>Before</KeepWithGroup>
</TablixMember>
<TablixMember>
<KeepWithGroup>Before</KeepWithGroup>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>stp_prt_SpecialPart</DataSetName>
<Top>0.12687in</Top>
<Left>0.17161in</Left>
<Height>1.58173in</Height>
<Width>3.6005in</Width>
<Style>
<Border>
<Style>Solid</Style>
</Border>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</TopBorder>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
</Style>
</Tablix>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Top>0.1638in</Top>
<Left>3.28643in</Left>
<Height>1.7086in</Height>
<Width>3.92161in</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Rectangle>
<Image Name="QRCode">
<Source>External</Source>
<Value>=Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!DocDtmx.Value.ToString())
' la stringa nel Campo è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]}
' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in
' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']}
'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']}</Value>
<Sizing>FitProportional</Sizing>
<Top>0.0938cm</Top>
<Left>0.25691in</Left>
<Height>2.6in</Height>
<Width>2.6in</Width>
<ZIndex>1</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Image>
<Textbox Name="CartDtmx">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=First(Fields!CartDtmx.Value)</Value>
<Style>
<FontSize>11pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>CartDtmx</rd:DefaultName>
<Top>2.66471in</Top>
<Left>0.65256cm</Left>
<Height>0.25in</Height>
<Width>2.6in</Width>
<ZIndex>2</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox35">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!PathImageFull.Value</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox35</rd:DefaultName>
<Top>2.15429in</Top>
<Left>3.13018in</Left>
<Height>0.25in</Height>
<Width>4.1091in</Width>
<ZIndex>3</ZIndex>
<Visibility>
<Hidden>true</Hidden>
</Visibility>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Top>0.01993in</Top>
<Left>0.00445cm</Left>
<Height>2.91471in</Height>
<Width>7.37604in</Width>
<ZIndex>1</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Rectangle>
<Textbox Name="DueDate">
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>DocID</Label>
<Value>=First(Fields!DocID.Value)</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>180pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>DueDate</rd:DefaultName>
<Top>3in</Top>
<Left>0.02203cm</Left>
<Height>2.96896in</Height>
<Width>7.3622in</Width>
<ZIndex>2</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<VerticalAlign>Top</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Tablix Name="Tablix2">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>2.80208in</Width>
</TablixColumn>
<TablixColumn>
<Width>2.90366in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.21875in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox11">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Part number</Value>
<Style>
<FontSize>12pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox11</rd:DefaultName>
<Style>
<Border>
<Style>None</Style>
</Border>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox12">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Plant destination</Value>
<Style>
<FontSize>12pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox12</rd:DefaultName>
<Style>
<Border>
<Style>None</Style>
</Border>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.58681in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="ItemExtCode">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!ItemExtCode.Value</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>30pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>ItemExtCode</rd:DefaultName>
<Style>
<Border>
<Style>None</Style>
</Border>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="DestPlant">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!DestPlant.Value</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>30pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>DestPlant</rd:DefaultName>
<Style>
<Border>
<Style>None</Style>
</Border>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<KeepWithGroup>After</KeepWithGroup>
</TablixMember>
<TablixMember>
<Group Name="Details" />
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>stp_prt_SpecialPart</DataSetName>
<Top>9.15in</Top>
<Left>0.82in</Left>
<Height>0.80556in</Height>
<Width>5.70574in</Width>
<ZIndex>3</ZIndex>
<Style>
<Border>
<Style>Solid</Style>
</Border>
<TopBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</TopBorder>
<BottomBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</BottomBorder>
<LeftBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</LeftBorder>
<RightBorder>
<Color>Black</Color>
<Style>Solid</Style>
<Width>1pt</Width>
</RightBorder>
</Style>
</Tablix>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Rectangle>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="list1_Index">
<GroupExpressions>
<GroupExpression>=Fields!ItemExtCode.Value</GroupExpression>
</GroupExpressions>
</Group>
<DataElementOutput>Output</DataElementOutput>
<KeepTogether>true</KeepTogether>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>stp_prt_SpecialPart</DataSetName>
<PageBreak>
<BreakLocation>End</BreakLocation>
</PageBreak>
<Top>0.0093in</Top>
<Left>0.00001cm</Left>
<Height>9.9907in</Height>
<Width>7.37954in</Width>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>14pt</FontSize>
<Color>SlateGray</Color>
</Style>
</Tablix>
</ReportItems>
<Height>10in</Height>
<Style />
</Body>
<Width>7.5in</Width>
<Page>
<LeftMargin>0.5in</LeftMargin>
<RightMargin>0.5in</RightMargin>
<TopMargin>0.5in</TopMargin>
<BottomMargin>0.5in</BottomMargin>
<Style />
</Page>
<Author>v. 1.4.1</Author>
<AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSource Name="Sauder_NKC">
<DataSourceReference>Sauder_NKC</DataSourceReference>
<rd:SecurityType>None</rd:SecurityType>
<rd:DataSourceID>7e875094-37e0-46d4-8db0-d51955773fb0</rd:DataSourceID>
</DataSource>
<DataSource Name="Sauder_NKC_Test">
<ConnectionProperties>
<DataProvider>SQL</DataProvider>
<ConnectString>Data Source=SQL2016PROD;Initial Catalog=Sauder_NKC2_Prod</ConnectString>
<IntegratedSecurity>true</IntegratedSecurity>
</ConnectionProperties>
<rd:SecurityType>Integrated</rd:SecurityType>
<rd:DataSourceID>05160673-9ecd-4988-94ad-7181e78f1b58</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="stp_prt_SpecialPart">
<Query>
<DataSourceName>Sauder_NKC</DataSourceName>
<QueryParameters>
<QueryParameter Name="@CartID">
<Value>=Parameters!CartID.Value</Value>
</QueryParameter>
<QueryParameter Name="@PathImage">
<Value>=Parameters!PathImage.Value</Value>
</QueryParameter>
<QueryParameter Name="@QRCodeBaseUrl">
<Value>=Parameters!QRCodeBaseUrl.Value</Value>
</QueryParameter>
</QueryParameters>
<CommandType>StoredProcedure</CommandType>
<CommandText>prt.stp_prt_SpecialPart</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="DocID">
<DataField>DocID</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="DocDtmx">
<DataField>DocDtmx</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="CartDtmx">
<DataField>CartDtmx</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ItemExtCode">
<DataField>ItemExtCode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ModelCod">
<DataField>ModelCod</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ItemDesc">
<DataField>ItemDesc</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="TotItem">
<DataField>TotItem</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="OrdParent">
<DataField>OrdParent</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="PathImageFull">
<DataField>PathImageFull</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ReqDate">
<DataField>ReqDate</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="DestPlant">
<DataField>DestPlant</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="QRCodeBaseUrl">
<DataField>QRCodeBaseUrl</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="DueDate">
<DataField>DueDate</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
</DataSet>
</DataSets>
<ReportParameters>
<ReportParameter Name="QRCodeBaseUrl">
<DataType>String</DataType>
<Nullable>true</Nullable>
<DefaultValue>
<Values>
<Value xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
</Values>
</DefaultValue>
<AllowBlank>true</AllowBlank>
<Prompt>QRCodeBaseURL:</Prompt>
<ValidValues>
<ParameterValues>
<ParameterValue>
<Value>=Nothing</Value>
<Label>Default_Stored</Label>
</ParameterValue>
<ParameterValue>
<Value>="https://iis01.egalware.com/zcode/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']}"</Value>
<Label>https://iis01.egalware.com/zcode</Label>
</ParameterValue>
</ParameterValues>
</ValidValues>
</ReportParameter>
<ReportParameter Name="PathImage">
<DataType>String</DataType>
<Nullable>true</Nullable>
<DefaultValue>
<Values>
<Value>http://IIS01/NKC/PartsImg/</Value>
</Values>
</DefaultValue>
<AllowBlank>true</AllowBlank>
<Prompt>Path Image</Prompt>
<ValidValues>
<ParameterValues>
<ParameterValue>
<Value>file:\C:\PROGETTI\REPORTING_2008_SSTD_2010\Sauder\Sauder\</Value>
<Label>file:\C:\PROGETTI\REPORTING_2008_SSTD_2010\Sauder\Sauder\</Label>
</ParameterValue>
<ParameterValue>
<Value>http://IIS01/NKC/PartsImg/</Value>
<Label>IIS01</Label>
</ParameterValue>
<ParameterValue>
<Value xml:space="preserve"> </Value>
<Label>DEFAUT_Stored</Label>
</ParameterValue>
</ParameterValues>
</ValidValues>
</ReportParameter>
<ReportParameter Name="CartID">
<DataType>Integer</DataType>
<DefaultValue>
<Values>
<Value>11334</Value>
</Values>
</DefaultValue>
<Prompt>Cart ID</Prompt>
</ReportParameter>
</ReportParameters>
<Language>en-US</Language>
<ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
<rd:ReportUnitType>Inch</rd:ReportUnitType>
<rd:ReportID>42b91d77-5259-4b9b-b313-695cd28dd977</rd:ReportID>
</Report>