update 20250413

This commit is contained in:
Stefan Hutter
2025-04-13 13:47:09 +02:00
parent 2ac3265dcd
commit a65bc81881
41 changed files with 1878 additions and 164 deletions

View File

@@ -1645,7 +1645,7 @@ namespace OnDoc.UICintrols
}
private void ribbonButtonVersandstrasse_Click(object sender, EventArgs e)
{
var records = sfDataGrid1.View.GetSelectedRecords();
if (records.Count < 1) { return; }
int i = 0;
@@ -1675,7 +1675,7 @@ namespace OnDoc.UICintrols
vp.Mitteilung = "";
vp.GAS = "";
vp.GASAdresse = "";
vp.PaketNr = i.ToString();
vp.PaketNr = Guid.NewGuid().ToString();
vp.Dokument.Add(new Versanddokument(datarow["dokumentid"].ToString(), datarow["doktyp"].ToString(), datarow["partner-nr"].ToString()));
reserve_vs_dokument(datarow["dokumentid"].ToString(), 1);