DataEntry.iPerl.CycleBeginningForm supports up to 10 digit or letter purchase order, ver. 2.31. 2011

This commit is contained in:
Milan Hanajik 2023-01-23 13:20:06 +01:00
parent df386a14f8
commit 5081969fdc
2 changed files with 4 additions and 4 deletions

View File

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("2.31.2009.0")]
[assembly: AssemblyFileVersion("2.31.2009.0")]
[assembly: AssemblyVersion("2.31.2011.0")]
[assembly: AssemblyFileVersion("2.31.2011.0")]

View File

@ -1,5 +1,5 @@
///
/// Copyright (c) 2015-2021 Sensus Slovensko a.s.
/// Copyright (c) 2015-2023 Sensus Slovensko a.s.
///
using System;
using System.Collections.Generic;
@ -193,7 +193,7 @@ namespace TBF.Rig.DataEntry.iPerl
private void okButton_Click(object sender, EventArgs e)
{
if (orderComboBox.Text.Length > 8 ||
if (orderComboBox.Text.Length > 10 ||
(cfg.Orders != Orders.Arbitrary && !orderComboBox.Items.Contains(orderComboBox.Text)))
{
MessageBox.Show(Strings.Invalid_order_number, Strings.Error, MessageBoxButtons.OK,