diff --git a/MP.Data/Controllers/MpSpecController.cs b/MP.Data/Controllers/MpSpecController.cs
index f9229d82..561536ed 100644
--- a/MP.Data/Controllers/MpSpecController.cs
+++ b/MP.Data/Controllers/MpSpecController.cs
@@ -625,6 +625,7 @@ namespace MP.Data.Controllers
currRec.KeyRichiesta = editRec.KeyRichiesta;
currRec.NumPezzi = editRec.NumPezzi;
currRec.Tcassegnato = editRec.Tcassegnato;
+ currRec.Note = editRec.Note;
dbCtx.Entry(currRec).State = EntityState.Modified;
}
else
diff --git a/MP.SPEC/Components/ListPODL.razor b/MP.SPEC/Components/ListPODL.razor
index 966b1e2e..f1112783 100644
--- a/MP.SPEC/Components/ListPODL.razor
+++ b/MP.SPEC/Components/ListPODL.razor
@@ -34,6 +34,7 @@ else
|
+
|
@record.CodArticolo
diff --git a/MP.SPEC/Components/ListPODL.razor.cs b/MP.SPEC/Components/ListPODL.razor.cs
index 6e3d1422..e38b9316 100644
--- a/MP.SPEC/Components/ListPODL.razor.cs
+++ b/MP.SPEC/Components/ListPODL.razor.cs
@@ -73,6 +73,10 @@ namespace MP.SPEC.Components
MsgService.EA_SearchUpdated += OnSeachUpdated;
MsgService.EA_StatoSearch += MsgService_EA_StatoSearch;
ListStati = await MDService.AnagStatiComm();
+ }
+
+ protected override async Task OnParametersSetAsync()
+ {
await reloadData();
}
@@ -101,6 +105,30 @@ namespace MP.SPEC.Components
{
await RecordSel.InvokeAsync(selRec);
}
+ protected async Task cloneRecord(PODLModel selRec)
+ {
+ // creo record duplicato...
+ PODLModel newRec = new PODLModel()
+ {
+ Attivabile = selRec.Attivabile,
+ CodArticolo = selRec.CodArticolo,
+ CodCli = selRec.CodCli,
+ CodGruppo = selRec.CodGruppo,
+ DueDate = selRec.DueDate,
+ IdxMacchina = selRec.IdxMacchina,
+ IdxOdl = selRec.IdxOdl,
+ IdxPromessa = 0,
+ InsertDate = selRec.InsertDate,
+ KeyBCode = selRec.KeyBCode,
+ KeyRichiesta = selRec.KeyRichiesta,
+ Note = selRec.Note,
+ NumPezzi = selRec.NumPezzi,
+ Priorita = selRec.Priorita,
+ PzPallet = selRec.PzPallet,
+ Tcassegnato = selRec.Tcassegnato
+ };
+ await RecordSel.InvokeAsync(newRec);
+ }
protected async Task UpdateData()
{
diff --git a/MP.SPEC/MP.SPEC.csproj b/MP.SPEC/MP.SPEC.csproj
index 1a5d061f..032bbd3f 100644
--- a/MP.SPEC/MP.SPEC.csproj
+++ b/MP.SPEC/MP.SPEC.csproj
@@ -5,7 +5,7 @@
enable
enable
MP.SPEC
- 6.16.2209.2716
+ 6.16.2209.2718
diff --git a/MP.SPEC/Pages/PODL.razor b/MP.SPEC/Pages/PODL.razor
index 274030bd..8f185474 100644
--- a/MP.SPEC/Pages/PODL.razor
+++ b/MP.SPEC/Pages/PODL.razor
@@ -151,13 +151,7 @@
diff --git a/MP.SPEC/Resources/ChangeLog.html b/MP.SPEC/Resources/ChangeLog.html
index 55703e20..f8027d31 100644
--- a/MP.SPEC/Resources/ChangeLog.html
+++ b/MP.SPEC/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MAPOSPEC
- Versione: 6.16.2209.2716
+ Versione: 6.16.2209.2718
Note di rilascio:
-
diff --git a/MP.SPEC/Resources/VersNum.txt b/MP.SPEC/Resources/VersNum.txt
index c950d49c..61ee6211 100644
--- a/MP.SPEC/Resources/VersNum.txt
+++ b/MP.SPEC/Resources/VersNum.txt
@@ -1 +1 @@
-6.16.2209.2716
+6.16.2209.2718
diff --git a/MP.SPEC/Resources/manifest.xml b/MP.SPEC/Resources/manifest.xml
index e107bb05..4548f907 100644
--- a/MP.SPEC/Resources/manifest.xml
+++ b/MP.SPEC/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 6.16.2209.2716
+ 6.16.2209.2718
https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip
https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html
false
|