update 0250704
This commit is contained in:
@@ -666,7 +666,7 @@ namespace OnDoc.UIControls
|
||||
{
|
||||
|
||||
OnDoc.DocMgmt.DokTypSelect DokTypSelect = new OnDoc.DocMgmt.DokTypSelect(false);
|
||||
DokTypSelect.vorlagentype = 1;
|
||||
DokTypSelect.vorlagentype = 4;
|
||||
DokTypSelect.ShowDialog(this);
|
||||
if (DokTypSelect.DialogResult == DialogResult.OK)
|
||||
{
|
||||
@@ -1151,7 +1151,13 @@ namespace OnDoc.UIControls
|
||||
sb.barcode_zusatz = "";
|
||||
|
||||
db.Get_Tabledata("Select bezeichnung,office_vorlagenr, isnull(vertrag,0) as vertrag, isnull(physisches_archiv,0) as archiv from dokumenttyp where dokumenttypnr=" + sb.dokumenttypnr.ToString(), false, true);
|
||||
sb.bezeichnung = db.dsdaten.Tables[0].Rows[0][0].ToString();
|
||||
try
|
||||
{
|
||||
if (sb.bezeichnung == "") { sb.bezeichnung = db.dsdaten.Tables[0].Rows[0][0].ToString(); }
|
||||
}
|
||||
catch { }
|
||||
|
||||
//sb.bezeichnung = db.dsdaten.Tables[0].Rows[0][0].ToString();
|
||||
sb.officevorlagenr = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][1]);
|
||||
sb.vertrag = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][2]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user