3.0.1.9 Portal styling. Interfaces controller/model.
This commit is contained in:
@@ -36,8 +36,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Consoles
|
||||
protected SbmInterfaceConsole_Dbas(SbmInternals internals) : base(internals.BusMgrDatabase)
|
||||
{
|
||||
mbr = new DataMembers(internals);
|
||||
dataItemTypes = Internals.GetSystemCodes(Sbm.SystemCode.ItemType);
|
||||
interfaceDataTypes = internals.GetSystemCodes(Sbm.SystemCode.InterfaceDataType);
|
||||
dataItemTypes = Internals.GetApplicationCodes(Sbm.ApplicationCode.ItemType);
|
||||
interfaceDataTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.InterfaceDataType);
|
||||
}
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
@@ -75,13 +75,13 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Consoles
|
||||
private List<TypeCodeDesc> GetInterfaceTypesForCategory(SaInterfaceCategory interfaceCategory)
|
||||
{
|
||||
if (interfaceCategory == SaInterfaceCategory.Website)
|
||||
return Internals.GetSystemCodes(Sbm.SystemCode.InterfaceType_Website);
|
||||
return Internals.GetApplicationCodes(Sbm.ApplicationCode.InterfaceType_Website);
|
||||
if (interfaceCategory == SaInterfaceCategory.Accounts)
|
||||
return Internals.GetSystemCodes(Sbm.SystemCode.InterfaceType_Accounts);
|
||||
return Internals.GetApplicationCodes(Sbm.ApplicationCode.InterfaceType_Accounts);
|
||||
if (interfaceCategory == SaInterfaceCategory.System)
|
||||
return Internals.GetSystemCodes(Sbm.SystemCode.InterfaceType_System);
|
||||
return Internals.GetApplicationCodes(Sbm.ApplicationCode.InterfaceType_System);
|
||||
if (interfaceCategory == SaInterfaceCategory.File)
|
||||
return Internals.GetSystemCodes(Sbm.SystemCode.InterfaceType_File);
|
||||
return Internals.GetApplicationCodes(Sbm.ApplicationCode.InterfaceType_File);
|
||||
return new List<TypeCodeDesc>();
|
||||
}
|
||||
public void RegisterInterfaces(String context)
|
||||
|
||||
@@ -129,7 +129,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Consoles
|
||||
{
|
||||
// Construct list of transaction types and statuses to use in security rights.
|
||||
List<SysIdString> transactionTypesStatus = new List<SysIdString>();
|
||||
foreach (TypeCodeDesc transactionType in Internals.GetSystemCodes(Sbm.SystemCode.TransactionType))
|
||||
foreach (TypeCodeDesc transactionType in Internals.GetApplicationCodes(Sbm.ApplicationCode.TransactionType))
|
||||
{
|
||||
Sbm.TransactionType transType = (Sbm.TransactionType)transactionType.Type;
|
||||
// Only interested in sales quotes and orders for now.
|
||||
@@ -208,7 +208,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Consoles
|
||||
// Transaction types:
|
||||
List<SysIdString> transactionTypesDesc = new List<SysIdString>();
|
||||
List<SysIdString> transactionTypesDescAllowed = new List<SysIdString>();
|
||||
foreach (TypeCodeDesc transactionType in Internals.GetSystemCodes(Sbm.SystemCode.TransactionType))
|
||||
foreach (TypeCodeDesc transactionType in Internals.GetApplicationCodes(Sbm.ApplicationCode.TransactionType))
|
||||
{
|
||||
if (SessionConsole.AllowTransactionType((Sbm.TransactionType)transactionType.Type))
|
||||
transactionTypesDescAllowed.Add(new SysId(transactionType.Type), transactionType.Desc);
|
||||
@@ -235,7 +235,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Consoles
|
||||
// Financial types:
|
||||
List<SysIdString> financialTypesDesc = new List<SysIdString>();
|
||||
List<SysIdString> financialTypesDescAllowed = new List<SysIdString>();
|
||||
foreach (TypeCodeDesc financialType in Internals.GetSystemCodes(Sbm.SystemCode.FinancialType))
|
||||
foreach (TypeCodeDesc financialType in Internals.GetApplicationCodes(Sbm.ApplicationCode.FinancialType))
|
||||
{
|
||||
financialTypesDescAllowed.Add(new SysId(financialType.Type), financialType.Desc);
|
||||
financialTypesDesc.Add(new SysId(financialType.Type), financialType.Desc);
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Thu 13-Feb-2025 11:12:01
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:25:21
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal.Control
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Thu 13-Feb-2025 11:12:01
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:25:21
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal.Control
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Thu 13-Feb-2025 11:12:01
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:25:21
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal.Control
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Thu 13-Feb-2025 11:12:01
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:25:21
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal.Control
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Thu 13-Feb-2025 11:12:01
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:25:21
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal.Control
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 11-Feb-2025 12:43:45
|
||||
// Code generated by Sarand Database Utilities Thu 30-Oct-2025 11:27:05
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Internal
|
||||
{
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
using Org.BouncyCastle.Asn1.Cmp;
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.App;
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.App;
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.Bus;
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.Bus.Control;
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.Mgr;
|
||||
using Sarand.BusinessMgr.Net.Standard.Dbas.Bus;
|
||||
using Sarand.BusinessMgr.Net.Standard.Dbas.Internal;
|
||||
using Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog;
|
||||
@@ -10,7 +7,6 @@ using Sarand.Net.Standard.Base.App;
|
||||
using Sarand.Net.Standard.Base.Bus;
|
||||
using Sarand.Net.Standard.Base.Core;
|
||||
using Sarand.Net.Standard.Base.Dbas;
|
||||
using Sarand.Net.Standard.Base.Interfaces;
|
||||
using Sarand.Net.Standard.Base.Utils;
|
||||
using Sarand.Net.Standard.Dbas.Data;
|
||||
using System;
|
||||
@@ -451,7 +447,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
affiliate.Email = dbAffiliate._Email;
|
||||
affiliate.Website = dbAffiliate._Website;
|
||||
// Ogranisation.
|
||||
affiliate.AffiliateIdParent = new SysId(dbAffiliate._AffIdParent ?? 0);
|
||||
affiliate.AffiliateIdParent = new SysId(dbAffiliate._AffIdParent);
|
||||
affiliate.Name = dbAffiliate._Name;
|
||||
affiliate.Abbr = dbAffiliate._Abbrev;
|
||||
affiliate.Nature = dbAffiliate._Nature;
|
||||
@@ -473,12 +469,12 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
affiliate.Spouse = dbAffiliate._Spouse;
|
||||
affiliate.Children = dbAffiliate._Children;
|
||||
affiliate.Hometown = dbAffiliate._Hometown;
|
||||
affiliate.UserId = new SysId(dbAffiliate._UserId ?? 0);
|
||||
affiliate.UserId = new SysId(dbAffiliate._UserId);
|
||||
// Common properties.
|
||||
affiliate.Notes = dbAffiliate._Notes;
|
||||
affiliate.Status = SacsSystem.GetStatusForCode(dbAffiliate._Status);
|
||||
affiliate.SetCreateStamp(dbAffiliate._CreateOn, new SysId(dbAffiliate._CreateBy ?? 0), dbAffiliate._CreateHost);
|
||||
affiliate.SetUpdateStamp(dbAffiliate._UpdateOn ?? default(DateTime), new SysId(dbAffiliate._UpdateBy ?? 0), dbAffiliate._UpdateHost);
|
||||
affiliate.SetCreateStamp(dbAffiliate._CreateOn, new SysId(dbAffiliate._CreateBy), dbAffiliate._CreateHost);
|
||||
affiliate.SetUpdateStamp(dbAffiliate._UpdateOn, new SysId(dbAffiliate._UpdateBy), dbAffiliate._UpdateHost);
|
||||
affiliate.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -332,7 +332,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
association.ContactCallCycleCode = dbAssociation._ContactCallCycleCode;
|
||||
association.CallsPerYear = dbAssociation._CallsPerYear ?? 0;
|
||||
association.LastCall = dbAssociation._LastCall ?? default(DateTime);
|
||||
association.CommodityIdSalesDefault = new SysId(dbAssociation._CommodityIdSalesDefault ?? 0);
|
||||
association.CommodityIdSalesDefault = new SysId(dbAssociation._CommodityIdSalesDefault);
|
||||
association.OrderLeadTimeCode = dbAssociation._OrderLeadTimeCode;
|
||||
association.DeliveryTypeCode = dbAssociation._DeliveryTypeCode;
|
||||
association.DeliveryCourierCode = dbAssociation._DeliveryCourierCode;
|
||||
@@ -345,8 +345,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
association.AccountBalance = dbAssociation._AccountBalance ?? 0;
|
||||
association.DiscountType = (Sbm.DiscountType)(dbAssociation._DiscountType ?? 0);
|
||||
association.DiscountRate = dbAssociation._DiscountRate ?? 0;
|
||||
association.PriceSetId = new SysId(dbAssociation._PriceSetId ?? 0);
|
||||
association.TaxCodeId = new SysId(dbAssociation._TaxCodeId ?? 0);
|
||||
association.PriceSetId = new SysId(dbAssociation._PriceSetId);
|
||||
association.TaxCodeId = new SysId(dbAssociation._TaxCodeId);
|
||||
association.PaymentTerms = dbAssociation._PaymentTerms ?? 0;
|
||||
association.InvoiceDesc = dbAssociation._InvoiceDesc;
|
||||
if (dbAssociation._Terminated > 0)
|
||||
@@ -355,8 +355,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
// Common properties.
|
||||
association.Notes = dbAssociation._Notes;
|
||||
association.Status = SacsSystem.GetStatusForCode(dbAssociation._Status);
|
||||
association.SetCreateStamp(dbAssociation._CreateOn, new SysId(dbAssociation._CreateBy ?? 0), dbAssociation._CreateHost);
|
||||
association.SetUpdateStamp(dbAssociation._UpdateOn ?? default(DateTime), new SysId(dbAssociation._UpdateBy ?? 0), dbAssociation._UpdateHost);
|
||||
association.SetCreateStamp(dbAssociation._CreateOn, new SysId(dbAssociation._CreateBy), dbAssociation._CreateHost);
|
||||
association.SetUpdateStamp(dbAssociation._UpdateOn, new SysId(dbAssociation._UpdateBy), dbAssociation._UpdateHost);
|
||||
association.AcceptChanges();
|
||||
}
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
@@ -225,14 +225,14 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
sysparam.Category = (Sbm.SysParamCategory)dbSysParam._Cat;
|
||||
sysparam.Name = dbSysParam._Name;
|
||||
sysparam.Value = dbSysParam._Value;
|
||||
sysparam.AffiliateIdOwner = new SysId(dbSysParam._AffIdOwner ?? 0);
|
||||
sysparam.AffiliateIdTarget = new SysId(dbSysParam._AffIdTarget ?? 0);
|
||||
sysparam.AssociationId = new SysId(dbSysParam._AssocId ?? 0);
|
||||
sysparam.AffiliateIdOwner = new SysId(dbSysParam._AffIdOwner);
|
||||
sysparam.AffiliateIdTarget = new SysId(dbSysParam._AffIdTarget);
|
||||
sysparam.AssociationId = new SysId(dbSysParam._AssocId);
|
||||
// Common properties.
|
||||
//sysparam.Notes = dbSysParam._Notes;
|
||||
sysparam.Status = SacsSystem.GetStatusForCode(dbSysParam._Status);
|
||||
sysparam.SetCreateStamp(dbSysParam._CreateOn ?? default(DateTime), new SysId(dbSysParam._CreateBy ?? 0), dbSysParam._CreateHost);
|
||||
sysparam.SetUpdateStamp(dbSysParam._UpdateOn ?? default(DateTime), new SysId(dbSysParam._UpdateBy ?? 0), dbSysParam._UpdateHost);
|
||||
sysparam.SetCreateStamp(dbSysParam._CreateOn, new SysId(dbSysParam._CreateBy), dbSysParam._CreateHost);
|
||||
sysparam.SetUpdateStamp(dbSysParam._UpdateOn, new SysId(dbSysParam._UpdateBy), dbSysParam._UpdateHost);
|
||||
sysparam.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -256,8 +256,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
// Common properties.
|
||||
systemAccount.Notes = dbSystemAccount._Notes;
|
||||
systemAccount.Status = SacsSystem.GetStatusForCode(dbSystemAccount._Status);
|
||||
systemAccount.SetCreateStamp(dbSystemAccount._CreateOn ?? default(DateTime), new SysId(dbSystemAccount._CreateBy ?? 0), dbSystemAccount._CreateHost);
|
||||
systemAccount.SetUpdateStamp(dbSystemAccount._UpdateOn ?? default(DateTime), new SysId(dbSystemAccount._UpdateBy ?? 0), dbSystemAccount._UpdateHost);
|
||||
systemAccount.SetCreateStamp(dbSystemAccount._CreateOn, new SysId(dbSystemAccount._CreateBy), dbSystemAccount._CreateHost);
|
||||
systemAccount.SetUpdateStamp(dbSystemAccount._UpdateOn, new SysId(dbSystemAccount._UpdateBy), dbSystemAccount._UpdateHost);
|
||||
systemAccount.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -217,8 +217,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
// Common properties.
|
||||
systemAccountUser.Notes = dbSystemAccountUser._Notes;
|
||||
systemAccountUser.Status = SacsSystem.GetStatusForCode(dbSystemAccountUser._Status);
|
||||
systemAccountUser.SetCreateStamp(dbSystemAccountUser._CreateOn ?? default(DateTime), new SysId(dbSystemAccountUser._CreateBy ?? 0), dbSystemAccountUser._CreateHost);
|
||||
systemAccountUser.SetUpdateStamp(dbSystemAccountUser._UpdateOn ?? default(DateTime), new SysId(dbSystemAccountUser._UpdateBy ?? 0), dbSystemAccountUser._UpdateHost);
|
||||
systemAccountUser.SetCreateStamp(dbSystemAccountUser._CreateOn, new SysId(dbSystemAccountUser._CreateBy), dbSystemAccountUser._CreateHost);
|
||||
systemAccountUser.SetUpdateStamp(dbSystemAccountUser._UpdateOn, new SysId(dbSystemAccountUser._UpdateBy), dbSystemAccountUser._UpdateHost);
|
||||
systemAccountUser.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
private SbmSystemUser_Dbas CreateSystemUser(SystemUser_Db dbSystemUser)
|
||||
{
|
||||
ClearErrorState();
|
||||
SbmSystemUser_Dbas systemUser = new SbmSystemUser_Dbas(new SysId(dbSystemUser._Id), new SysId(dbSystemUser._AffIdOwner), new SysId(dbSystemUser._InterfaceId ?? 0), new SysId(dbSystemUser._AffiliateId ?? 0), (ushort)dbSystemUser._Flags);
|
||||
SbmSystemUser_Dbas systemUser = new SbmSystemUser_Dbas(new SysId(dbSystemUser._Id), new SysId(dbSystemUser._AffIdOwner), new SysId(dbSystemUser._InterfaceId), new SysId(dbSystemUser._AffiliateId), (ushort)dbSystemUser._Flags);
|
||||
PopulateFrom(dbSystemUser, systemUser);
|
||||
return systemUser;
|
||||
}
|
||||
@@ -225,15 +225,15 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
{
|
||||
systemUser.Id = new SysId(dbSystemUser._Id);
|
||||
systemUser.AffiliateIdOwner = new SysId(dbSystemUser._AffIdOwner);
|
||||
systemUser.InterfaceId = new SysId(dbSystemUser._InterfaceId ?? 0);
|
||||
systemUser.AffiliateId = new SysId(dbSystemUser._AffiliateId ?? 0);
|
||||
systemUser.InterfaceId = new SysId(dbSystemUser._InterfaceId);
|
||||
systemUser.AffiliateId = new SysId(dbSystemUser._AffiliateId);
|
||||
systemUser.Code = dbSystemUser._Code;
|
||||
systemUser.AuthCodeEnc = dbSystemUser._AuthCodeEnc;
|
||||
// Common properties.
|
||||
systemUser.Notes = dbSystemUser._Notes;
|
||||
systemUser.Status = SacsSystem.GetStatusForCode(dbSystemUser._Status);
|
||||
systemUser.SetCreateStamp(dbSystemUser._CreateOn ?? default(DateTime), new SysId(dbSystemUser._CreateBy ?? 0), dbSystemUser._CreateHost);
|
||||
systemUser.SetUpdateStamp(dbSystemUser._UpdateOn ?? default(DateTime), new SysId(dbSystemUser._UpdateBy ?? 0), dbSystemUser._UpdateHost);
|
||||
systemUser.SetCreateStamp(dbSystemUser._CreateOn, new SysId(dbSystemUser._CreateBy), dbSystemUser._CreateHost);
|
||||
systemUser.SetUpdateStamp(dbSystemUser._UpdateOn, new SysId(dbSystemUser._UpdateBy), dbSystemUser._UpdateHost);
|
||||
systemUser.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@ using Sarand.Net.Standard.Base.App;
|
||||
using Sarand.Net.Standard.Base.Bus;
|
||||
using Sarand.Net.Standard.Base.Core;
|
||||
using Sarand.Net.Standard.Base.Dbas;
|
||||
using Sarand.Net.Standard.Base.Interfaces;
|
||||
using Sarand.Net.Standard.Base.Utils;
|
||||
using Sarand.Net.Standard.Dbas.Data;
|
||||
using System;
|
||||
@@ -264,7 +263,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
private SbmAsset_Dbas CreateAsset(SaAsset_Db dbAsset)
|
||||
{
|
||||
ClearErrorState();
|
||||
SbmAsset_Dbas asset = new SbmAsset_Dbas(new SysId(dbAsset._Id), new SysId(dbAsset._AssetCategoryId ?? 0), (ushort)dbAsset._Flags);
|
||||
SbmAsset_Dbas asset = new SbmAsset_Dbas(new SysId(dbAsset._Id), new SysId(dbAsset._AssetCategoryId), (ushort)dbAsset._Flags);
|
||||
PopulateFrom(dbAsset, asset);
|
||||
return asset;
|
||||
}
|
||||
@@ -434,26 +433,26 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
}
|
||||
private void PopulateFrom(SaAsset_Db dbAsset, SbmAsset asset)
|
||||
{
|
||||
asset.AssetCategoryId = new SysId(dbAsset._AssetCategoryId ?? 0);
|
||||
asset.AssetCategoryId = new SysId(dbAsset._AssetCategoryId);
|
||||
asset.SerialNumber = dbAsset._SerialNumber;
|
||||
asset.RefExt = dbAsset._RefExt;
|
||||
asset.DescBrief = dbAsset._DescBrief;
|
||||
asset.ItemId = new ItemId(dbAsset._ItemType ?? 0, new SysId(dbAsset._ItemId ?? 0));
|
||||
asset.ItemId = new ItemId(dbAsset._ItemType, new SysId(dbAsset._ItemId));
|
||||
asset.PurchaseOn = dbAsset._PurchaseOn ?? default(DateTime);
|
||||
asset.AssocIdSupplier = new SysId(dbAsset._AssocIdSupplier ?? 0);
|
||||
asset.AssocIdSupplier = new SysId(dbAsset._AssocIdSupplier);
|
||||
asset.PurchaseInvoiceRef = dbAsset._PurchaseInvoiceRef;
|
||||
asset.PaymentTerms = dbAsset._PaymentTerms ?? 0;
|
||||
asset.AmountPurchase = dbAsset._AmountPurchase ?? 0.0m;
|
||||
asset.TaxCodeIdPurchase = new SysId(dbAsset._TaxCodeIdPurchase ?? 0);
|
||||
asset.TaxCodeIdPurchase = new SysId(dbAsset._TaxCodeIdPurchase);
|
||||
asset.AmountPurchaseGross = dbAsset._AmountPurchaseGross ?? 0.0m;
|
||||
asset.AmountSettlementGross = dbAsset._AmountSettlementGross ?? 0.0m;
|
||||
asset.AmountEnhancementGross = dbAsset._AmountEnhancementGross ?? 0.0m;
|
||||
asset.AssocIdCustomer = new SysId(dbAsset._AssocIdCustomer ?? 0);
|
||||
asset.AssocIdCustomer = new SysId(dbAsset._AssocIdCustomer);
|
||||
asset.SellCategoryCode = dbAsset._SellCategoryCode;
|
||||
asset.AmountSell = dbAsset._AmountSell ?? 0.0m;
|
||||
asset.TaxCodeIdSell = new SysId(dbAsset._TaxCodeIdSell ?? 0);
|
||||
asset.TaxCodeIdSell = new SysId(dbAsset._TaxCodeIdSell);
|
||||
asset.AmountSellGross = dbAsset._AmountSellGross ?? 0.0m;
|
||||
asset.TaxCodeIdProfit = new SysId(dbAsset._TaxCodeIdProfit ?? 0);
|
||||
asset.TaxCodeIdProfit = new SysId(dbAsset._TaxCodeIdProfit);
|
||||
asset.SoldOn = dbAsset._SoldOn ?? default(DateTime);
|
||||
asset.AmountSold = dbAsset._AmountSold ?? 0.0m;
|
||||
asset.AmountSoldGross = dbAsset._AmountSoldGross ?? 0.0m;
|
||||
@@ -461,17 +460,17 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
asset.DisposeOn = dbAsset._DisposeOn ?? default(DateTime);
|
||||
asset.DueBackOn = dbAsset._DueBackOn ?? default(DateTime);
|
||||
asset.AmountRentalCost = dbAsset._AmountRentalCost ?? 0.0m;
|
||||
asset.UomIdRentalCost = new SysId(dbAsset._UomIdRentalCost ?? 0);
|
||||
asset.TaxCodeIdRentalCost = new SysId(dbAsset._TaxCodeIdRentalCost ?? 0);
|
||||
asset.UomIdRentalCost = new SysId(dbAsset._UomIdRentalCost);
|
||||
asset.TaxCodeIdRentalCost = new SysId(dbAsset._TaxCodeIdRentalCost);
|
||||
asset.AmountRentalPrice = dbAsset._AmountRentalPrice ?? 0.0m;
|
||||
asset.UomIdRentalPrice = new SysId(dbAsset._UomIdRentalPrice ?? 0);
|
||||
asset.TaxCodeIdRentalPrice = new SysId(dbAsset._TaxCodeIdRentalPrice ?? 0);
|
||||
asset.ProcessIdNext = new SysId(dbAsset._ProcessIdNext ?? 0);
|
||||
asset.UomIdRentalPrice = new SysId(dbAsset._UomIdRentalPrice);
|
||||
asset.TaxCodeIdRentalPrice = new SysId(dbAsset._TaxCodeIdRentalPrice);
|
||||
asset.ProcessIdNext = new SysId(dbAsset._ProcessIdNext);
|
||||
// Common properties.
|
||||
asset.Notes = dbAsset._Notes;
|
||||
asset.Status = SacsSystem.GetStatusForCode(dbAsset._Status);
|
||||
asset.SetCreateStamp(dbAsset._CreateOn ?? default(DateTime), new SysId(dbAsset._CreateBy ?? 0), dbAsset._CreateHost);
|
||||
asset.SetUpdateStamp(dbAsset._UpdateOn ?? default(DateTime), new SysId(dbAsset._UpdateBy ?? 0), dbAsset._UpdateHost);
|
||||
asset.SetCreateStamp(dbAsset._CreateOn, new SysId(dbAsset._CreateBy), dbAsset._CreateHost);
|
||||
asset.SetUpdateStamp(dbAsset._UpdateOn, new SysId(dbAsset._UpdateBy), dbAsset._UpdateHost);
|
||||
asset.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@ using Sarand.Net.Standard.Base.App;
|
||||
using Sarand.Net.Standard.Base.Bus;
|
||||
using Sarand.Net.Standard.Base.Core;
|
||||
using Sarand.Net.Standard.Base.Dbas;
|
||||
using Sarand.Net.Standard.Base.Interfaces;
|
||||
using Sarand.Net.Standard.Base.Utils;
|
||||
using Sarand.Net.Standard.Dbas.Data;
|
||||
using System;
|
||||
@@ -349,22 +348,22 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
assetCategory.Code = dbAssetCategory._Code;
|
||||
assetCategory.DescBrief = dbAssetCategory._DescBrief;
|
||||
assetCategory.IncomeType = (Sbm.AssetIncomeType)(dbAssetCategory._IncomeType ?? 0);
|
||||
assetCategory.AssocIdSupplier = new SysId(dbAssetCategory._AssocIdSupplier ?? 0);
|
||||
assetCategory.AssocIdSupplier = new SysId(dbAssetCategory._AssocIdSupplier);
|
||||
assetCategory.PaymentTerms = dbAssetCategory._PaymentTerms ?? 0;
|
||||
assetCategory.TaxCodeIdPurchase = new SysId(dbAssetCategory._TaxCodeIdPurchase ?? 0);
|
||||
assetCategory.AssocIdCustomer = new SysId(dbAssetCategory._AssocIdCustomer ?? 0);
|
||||
assetCategory.TaxCodeIdSell = new SysId(dbAssetCategory._TaxCodeIdSell ?? 0);
|
||||
assetCategory.TaxCodeIdProfit = new SysId(dbAssetCategory._TaxCodeIdProfit ?? 0);
|
||||
assetCategory.TaxCodeIdPurchase = new SysId(dbAssetCategory._TaxCodeIdPurchase);
|
||||
assetCategory.AssocIdCustomer = new SysId(dbAssetCategory._AssocIdCustomer);
|
||||
assetCategory.TaxCodeIdSell = new SysId(dbAssetCategory._TaxCodeIdSell);
|
||||
assetCategory.TaxCodeIdProfit = new SysId(dbAssetCategory._TaxCodeIdProfit);
|
||||
assetCategory.DisposeCode = dbAssetCategory._DisposeCode;
|
||||
assetCategory.UomIdRentalCost = new SysId(dbAssetCategory._UomIdRentalCost ?? 0);
|
||||
assetCategory.TaxCodeIdRentalCost = new SysId(dbAssetCategory._TaxCodeIdRentalCost ?? 0);
|
||||
assetCategory.UomIdRentalPrice = new SysId(dbAssetCategory._UomIdRentalPrice ?? 0);
|
||||
assetCategory.TaxCodeIdRentalPrice = new SysId(dbAssetCategory._TaxCodeIdRentalPrice ?? 0);
|
||||
assetCategory.UomIdRentalCost = new SysId(dbAssetCategory._UomIdRentalCost);
|
||||
assetCategory.TaxCodeIdRentalCost = new SysId(dbAssetCategory._TaxCodeIdRentalCost);
|
||||
assetCategory.UomIdRentalPrice = new SysId(dbAssetCategory._UomIdRentalPrice);
|
||||
assetCategory.TaxCodeIdRentalPrice = new SysId(dbAssetCategory._TaxCodeIdRentalPrice);
|
||||
// Common properties.
|
||||
assetCategory.Notes = dbAssetCategory._Notes;
|
||||
assetCategory.Status = SacsSystem.GetStatusForCode(dbAssetCategory._Status);
|
||||
assetCategory.SetCreateStamp(dbAssetCategory._CreateOn ?? default(DateTime), new SysId(dbAssetCategory._CreateBy ?? 0), dbAssetCategory._CreateHost);
|
||||
assetCategory.SetUpdateStamp(dbAssetCategory._UpdateOn ?? default(DateTime), new SysId(dbAssetCategory._UpdateBy ?? 0), dbAssetCategory._UpdateHost);
|
||||
assetCategory.SetCreateStamp(dbAssetCategory._CreateOn, new SysId(dbAssetCategory._CreateBy), dbAssetCategory._CreateHost);
|
||||
assetCategory.SetUpdateStamp(dbAssetCategory._UpdateOn, new SysId(dbAssetCategory._UpdateBy), dbAssetCategory._UpdateHost);
|
||||
assetCategory.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
private SbmAssetProcess_Dbas CreateAssetProcess(SaAssetProcess_Db dbAssetProcess)
|
||||
{
|
||||
ClearErrorState();
|
||||
SbmAssetProcess_Dbas assetProcess = new SbmAssetProcess_Dbas(new SysId(dbAssetProcess._Id), new SysId(dbAssetProcess._AssetId ?? 0), new SysId(dbAssetProcess._ProcessId ?? 0), (ushort)dbAssetProcess._Flags);
|
||||
SbmAssetProcess_Dbas assetProcess = new SbmAssetProcess_Dbas(new SysId(dbAssetProcess._Id), new SysId(dbAssetProcess._AssetId), new SysId(dbAssetProcess._ProcessId), (ushort)dbAssetProcess._Flags);
|
||||
PopulateFrom(dbAssetProcess, assetProcess);
|
||||
return assetProcess;
|
||||
}
|
||||
@@ -230,17 +230,17 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
private void PopulateFrom(SaAssetProcess_Db dbAssetProcess, SbmAssetProcess assetProcess)
|
||||
{
|
||||
//assetProcess.Id = new SysId(dbAssetProcess._Id);
|
||||
assetProcess.AssetId = new SysId(dbAssetProcess._AssetId ?? 0);
|
||||
assetProcess.AssetId = new SysId(dbAssetProcess._AssetId);
|
||||
assetProcess.Seq = dbAssetProcess._Seq.ToString();
|
||||
assetProcess.ProcessId = new SysId(dbAssetProcess._ProcessId ?? 0);
|
||||
assetProcess.ProcessId = new SysId(dbAssetProcess._ProcessId);
|
||||
assetProcess.RequiredOn = dbAssetProcess._RequiredOn ?? default(DateTime);
|
||||
assetProcess.ExpectedOn = dbAssetProcess._ExpectedOn ?? default(DateTime);
|
||||
assetProcess.ProcessedOn = dbAssetProcess._ProcessedOn ?? default(DateTime);
|
||||
// Common properties.
|
||||
assetProcess.Notes = dbAssetProcess._Notes;
|
||||
assetProcess.Status = SacsSystem.GetStatusForCode(dbAssetProcess._Status);
|
||||
assetProcess.SetCreateStamp(dbAssetProcess._CreateOn ?? default(DateTime), new SysId(dbAssetProcess._CreateBy ?? 0), dbAssetProcess._CreateHost);
|
||||
assetProcess.SetUpdateStamp(dbAssetProcess._UpdateOn ?? default(DateTime), new SysId(dbAssetProcess._UpdateBy ?? 0), dbAssetProcess._UpdateHost);
|
||||
assetProcess.SetCreateStamp(dbAssetProcess._CreateOn, new SysId(dbAssetProcess._CreateBy), dbAssetProcess._CreateHost);
|
||||
assetProcess.SetUpdateStamp(dbAssetProcess._UpdateOn, new SysId(dbAssetProcess._UpdateBy), dbAssetProcess._UpdateHost);
|
||||
assetProcess.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@ using Sarand.Net.Standard.Base.App;
|
||||
using Sarand.Net.Standard.Base.Bus;
|
||||
using Sarand.Net.Standard.Base.Core;
|
||||
using Sarand.Net.Standard.Base.Dbas;
|
||||
using Sarand.Net.Standard.Base.Interfaces;
|
||||
using Sarand.Net.Standard.Base.ItemData;
|
||||
using Sarand.Net.Standard.Base.Utils;
|
||||
using Sarand.Net.Standard.Dbas.Data;
|
||||
@@ -429,7 +428,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
private void PopulateFrom(SaVehicle_Db dbVehicle, SbmVehicle vehicle)
|
||||
{
|
||||
//vehicle.Id = new SysId(dbVehicle._Id);
|
||||
vehicle.VehicleClassId = new SysId(dbVehicle._VehicleClassId ?? 0);
|
||||
vehicle.VehicleClassId = new SysId(dbVehicle._VehicleClassId);
|
||||
vehicle.RegNumber = dbVehicle._RegNumber;
|
||||
vehicle.Vin = dbVehicle._VIN;
|
||||
vehicle.CapCode = dbVehicle._CapCode;
|
||||
@@ -459,8 +458,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
// Common properties.
|
||||
vehicle.Notes = dbVehicle._Notes;
|
||||
vehicle.Status = SacsSystem.GetStatusForCode(dbVehicle._Status);
|
||||
vehicle.SetCreateStamp(dbVehicle._CreateOn ?? default(DateTime), new SysId(dbVehicle._CreateBy ?? 0), dbVehicle._CreateHost);
|
||||
vehicle.SetUpdateStamp(dbVehicle._UpdateOn ?? default(DateTime), new SysId(dbVehicle._UpdateBy ?? 0), dbVehicle._UpdateHost);
|
||||
vehicle.SetCreateStamp(dbVehicle._CreateOn, new SysId(dbVehicle._CreateBy), dbVehicle._CreateHost);
|
||||
vehicle.SetUpdateStamp(dbVehicle._UpdateOn, new SysId(dbVehicle._UpdateBy), dbVehicle._UpdateHost);
|
||||
vehicle.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ using Sarand.Net.Standard.Base.Bus;
|
||||
using Sarand.Net.Standard.Base.CodeTypes;
|
||||
using Sarand.Net.Standard.Base.Core;
|
||||
using Sarand.Net.Standard.Base.Dbas;
|
||||
using Sarand.Net.Standard.Base.Interfaces;
|
||||
using Sarand.Net.Standard.Base.Utils;
|
||||
using Sarand.Net.Standard.Dbas.Data;
|
||||
using System;
|
||||
@@ -409,14 +408,14 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
vehicleClass.ServiceOdo = dbVehicleClass._ServiceOdo ?? 0;
|
||||
vehicleClass.ServiceWeeks = dbVehicleClass._ServiceWeeks ?? 0;
|
||||
vehicleClass.AmountRentalCost = dbVehicleClass._AmountRentalCost ?? 0;
|
||||
vehicleClass.UomIdRentalCost = new SysId(dbVehicleClass._UomIdRentalCost ?? 0);
|
||||
vehicleClass.UomIdRentalCost = new SysId(dbVehicleClass._UomIdRentalCost);
|
||||
vehicleClass.AmountRentalPrice = dbVehicleClass._AmountRentalPrice ?? 0;
|
||||
vehicleClass.UomIdRentalPrice = new SysId(dbVehicleClass._UomIdRentalPrice ?? 0);
|
||||
vehicleClass.UomIdRentalPrice = new SysId(dbVehicleClass._UomIdRentalPrice);
|
||||
// Common properties.
|
||||
vehicleClass.Notes = dbVehicleClass._Notes;
|
||||
vehicleClass.Status = SacsSystem.GetStatusForCode(dbVehicleClass._Status);
|
||||
vehicleClass.SetCreateStamp(dbVehicleClass._CreateOn ?? default(DateTime), new SysId(dbVehicleClass._CreateBy ?? 0), dbVehicleClass._CreateHost);
|
||||
vehicleClass.SetUpdateStamp(dbVehicleClass._UpdateOn ?? default(DateTime), new SysId(dbVehicleClass._UpdateBy ?? 0), dbVehicleClass._UpdateHost);
|
||||
vehicleClass.SetCreateStamp(dbVehicleClass._CreateOn, new SysId(dbVehicleClass._CreateBy), dbVehicleClass._CreateHost);
|
||||
vehicleClass.SetUpdateStamp(dbVehicleClass._UpdateOn, new SysId(dbVehicleClass._UpdateBy), dbVehicleClass._UpdateHost);
|
||||
vehicleClass.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
private SbmVehicleEvent_Dbas CreateVehicleEvent(SaVehicleEvent_Db dbVehicleEvent)
|
||||
{
|
||||
ClearErrorState();
|
||||
SbmVehicleEvent_Dbas vehicleEvent = new SbmVehicleEvent_Dbas(new SysId(dbVehicleEvent._VehicleId ?? 0), (Sbm.VehicleEventType)dbVehicleEvent._EventType, (ushort)dbVehicleEvent._Flags);
|
||||
SbmVehicleEvent_Dbas vehicleEvent = new SbmVehicleEvent_Dbas(new SysId(dbVehicleEvent._VehicleId), (Sbm.VehicleEventType)dbVehicleEvent._EventType, (ushort)dbVehicleEvent._Flags);
|
||||
PopulateFrom(dbVehicleEvent, vehicleEvent);
|
||||
return vehicleEvent;
|
||||
}
|
||||
@@ -236,7 +236,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
private void PopulateFrom(SaVehicleEvent_Db dbVehicleEvent, SbmVehicleEvent vehicleEvent)
|
||||
{
|
||||
//vehicleEvent.Id = new SysId(dbVehicleEvent._Id);
|
||||
vehicleEvent.VehicleId = new SysId(dbVehicleEvent._VehicleId ?? 0);
|
||||
vehicleEvent.VehicleId = new SysId(dbVehicleEvent._VehicleId);
|
||||
vehicleEvent.VehicleEventType = (Sbm.VehicleEventType)(dbVehicleEvent._EventType ?? 0);
|
||||
vehicleEvent.StartOn = dbVehicleEvent._StartOn ?? default(DateTime);
|
||||
vehicleEvent.FinishOn = dbVehicleEvent._FinishOn ?? default(DateTime);
|
||||
@@ -244,15 +244,15 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
vehicleEvent.DescBrief = dbVehicleEvent._DescBrief;
|
||||
vehicleEvent.DescDetail = dbVehicleEvent._DescDetail;
|
||||
vehicleEvent.AmountNet = dbVehicleEvent._AmountNet ?? 0.0m;
|
||||
vehicleEvent.TaxCodeId = new SysId(dbVehicleEvent._TaxCodeId ?? 0);
|
||||
vehicleEvent.TaxCodeId = new SysId(dbVehicleEvent._TaxCodeId);
|
||||
vehicleEvent.TaxRate = dbVehicleEvent._TaxRate ?? 0.0m;
|
||||
vehicleEvent.AmountTax = dbVehicleEvent._AmountTax ?? 0.0m;
|
||||
vehicleEvent.AmountTot = dbVehicleEvent._AmountTot ?? 0.0m;
|
||||
// Common properties.
|
||||
vehicleEvent.Notes = dbVehicleEvent._Notes;
|
||||
vehicleEvent.Status = SacsSystem.GetStatusForCode(dbVehicleEvent._Status);
|
||||
vehicleEvent.SetCreateStamp(dbVehicleEvent._CreateOn ?? default(DateTime), new SysId(dbVehicleEvent._CreateBy ?? 0), dbVehicleEvent._CreateHost);
|
||||
vehicleEvent.SetUpdateStamp(dbVehicleEvent._UpdateOn ?? default(DateTime), new SysId(dbVehicleEvent._UpdateBy ?? 0), dbVehicleEvent._UpdateHost);
|
||||
vehicleEvent.SetCreateStamp(dbVehicleEvent._CreateOn, new SysId(dbVehicleEvent._CreateBy), dbVehicleEvent._CreateHost);
|
||||
vehicleEvent.SetUpdateStamp(dbVehicleEvent._UpdateOn, new SysId(dbVehicleEvent._UpdateBy), dbVehicleEvent._UpdateHost);
|
||||
vehicleEvent.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -327,8 +327,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
// Common properties.
|
||||
vehicleFeature.Notes = dbVehicleFeature._Notes;
|
||||
vehicleFeature.Status = SacsSystem.GetStatusForCode(dbVehicleFeature._Status);
|
||||
vehicleFeature.SetCreateStamp(dbVehicleFeature._CreateOn ?? default(DateTime), new SysId(dbVehicleFeature._CreateBy ?? 0), dbVehicleFeature._CreateHost);
|
||||
vehicleFeature.SetUpdateStamp(dbVehicleFeature._UpdateOn ?? default(DateTime), new SysId(dbVehicleFeature._UpdateBy ?? 0), dbVehicleFeature._UpdateHost);
|
||||
vehicleFeature.SetCreateStamp(dbVehicleFeature._CreateOn, new SysId(dbVehicleFeature._CreateBy), dbVehicleFeature._CreateHost);
|
||||
vehicleFeature.SetUpdateStamp(dbVehicleFeature._UpdateOn, new SysId(dbVehicleFeature._UpdateBy), dbVehicleFeature._UpdateHost);
|
||||
vehicleFeature.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.App;
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.Bus;
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.Mgr;
|
||||
using Sarand.BusinessMgr.Net.Standard.Dbas.Bus;
|
||||
using Sarand.BusinessMgr.Net.Standard.Dbas.Internal;
|
||||
using Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog;
|
||||
@@ -836,7 +835,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
commodity.DescDetail = dbCommodity._DescDetail;
|
||||
commodity.DrawingNumber = dbCommodity._DrawingNo;
|
||||
commodity.DrawingIssue = dbCommodity._DrawingIssue;
|
||||
commodity.AssetCatId = new SysId(dbCommodity._AssetCatId ?? 0);
|
||||
commodity.AssetCatId = new SysId(dbCommodity._AssetCatId);
|
||||
commodity.ImagePath = dbCommodity._ImagePath;
|
||||
commodity.Category1 = dbCommodity._Category;
|
||||
commodity.Category2 = dbCommodity._Category2;
|
||||
@@ -845,15 +844,15 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
commodity.Department = dbCommodity._Department;
|
||||
commodity.CatalogRef = dbCommodity._CatalogRef;
|
||||
commodity.Weight = dbCommodity._Weight ?? 0.0m;
|
||||
commodity.UomIdWeight = new SysId(dbCommodity._UomIdWeight ?? 0);
|
||||
commodity.UomIdWeight = new SysId(dbCommodity._UomIdWeight);
|
||||
commodity.Length = dbCommodity._Length ?? 0.0m;
|
||||
commodity.UomIdLength = new SysId(dbCommodity._UomIdLength ?? 0);
|
||||
commodity.UomIdLength = new SysId(dbCommodity._UomIdLength);
|
||||
commodity.Volume = dbCommodity._Volume ?? 0.0m;
|
||||
commodity.UomIdVolume = new SysId(dbCommodity._UomIdVolume ?? 0);
|
||||
commodity.UomIdVolume = new SysId(dbCommodity._UomIdVolume);
|
||||
commodity.Density = dbCommodity._Density ?? 0;
|
||||
commodity.UomIdDensity = new SysId(dbCommodity._UomIdDensity ?? 0);
|
||||
commodity.UomIdDensity = new SysId(dbCommodity._UomIdDensity);
|
||||
commodity.BoxQuantity = dbCommodity._BoxQuantity ?? 0;
|
||||
commodity.UomIdBox = new SysId(dbCommodity._UomIdBox ?? 0);
|
||||
commodity.UomIdBox = new SysId(dbCommodity._UomIdBox);
|
||||
commodity.Dimensions = dbCommodity._Dimensions;
|
||||
commodity.SpecSummary = dbCommodity._SpecSummary;
|
||||
commodity.RangeCode = dbCommodity._RangeCode;
|
||||
@@ -869,27 +868,27 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
commodity.NominalCodePurchase = dbCommodity._NominalCodePurchase;
|
||||
commodity.ICNTariffCode = dbCommodity._ICNTariffCode;
|
||||
commodity.TimeProd = dbCommodity._TimeProd ?? 0.0m;
|
||||
commodity.UomIdTimeProd = new SysId(dbCommodity._UomIdTimeProd ?? 0);
|
||||
commodity.AssociationIdSupplier = new SysId(dbCommodity._AssIdSupplier ?? 0);
|
||||
commodity.UomIdTimeProd = new SysId(dbCommodity._UomIdTimeProd);
|
||||
commodity.AssociationIdSupplier = new SysId(dbCommodity._AssIdSupplier);
|
||||
commodity.SupplierRef = dbCommodity._SupplierRef;
|
||||
commodity.CostPrice = dbCommodity._CostPrice ?? 0.0m;
|
||||
commodity.PlaceOfOrigin = dbCommodity._PlaceOfOrigin;
|
||||
commodity.MaterialCost = dbCommodity._MaterialCost ?? 0.0m;
|
||||
commodity.CurrencyIdMaterial = new SysId(dbCommodity._CurrencyIdMaterial ?? 0);
|
||||
commodity.CurrencyIdMaterial = new SysId(dbCommodity._CurrencyIdMaterial);
|
||||
commodity.ExWorksCost = dbCommodity._ExWorksCost ?? 0.0m;
|
||||
commodity.CurrencyIdExWorks = new SysId(dbCommodity._CurrencyIdExWorks ?? 0);
|
||||
commodity.CurrencyIdExWorks = new SysId(dbCommodity._CurrencyIdExWorks);
|
||||
commodity.ReorderLevel = dbCommodity._ReorderLevel ?? 0.0m;
|
||||
commodity.ReorderQty = dbCommodity._ReorderQty ?? 0.0m;
|
||||
commodity.QtyOnOrder = dbCommodity._QtyOnOrder ?? 0.0m;
|
||||
commodity.AssociationIdCustomer = new SysId(dbCommodity._AssIdCustomer ?? 0);
|
||||
commodity.AssociationIdCustomer = new SysId(dbCommodity._AssIdCustomer);
|
||||
commodity.SalesPrice = dbCommodity._SalesPrice ?? 0.0m;
|
||||
commodity.RetailPrice = dbCommodity._RetailPrice ?? 0.0m;
|
||||
commodity.RetailPricePlanned = dbCommodity._RetailPricePlanned ?? 0.0m;
|
||||
commodity.UomIdSale = new SysId(dbCommodity._UomIdSale ?? 0);
|
||||
commodity.UomIdSale = new SysId(dbCommodity._UomIdSale);
|
||||
commodity.CarriageCostIndicative = dbCommodity._CarriageCostIndicative ?? 0.0m;
|
||||
commodity.MinOrderQty = dbCommodity._MinOrderQty ?? 0.0m;
|
||||
commodity.PackQtySale = dbCommodity._PackQty ?? 0.0m;
|
||||
commodity.TaxCodeId = new SysId(dbCommodity._TaxCodeId ?? 0);
|
||||
commodity.TaxCodeId = new SysId(dbCommodity._TaxCodeId);
|
||||
commodity.LastOrderDate = dbCommodity._LastOrderDate ?? default(DateTime);
|
||||
commodity.LastOrderQty = dbCommodity._LastOrderQty ?? 0.0m;
|
||||
commodity.QtyInStock = dbCommodity._QtyInStock ?? 0.0m;
|
||||
@@ -897,7 +896,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
commodity.FreeStock = dbCommodity._FreeStock ?? 0.0m;
|
||||
commodity.StockTakeDate = dbCommodity._StockTakeDate ?? default(DateTime);
|
||||
commodity.StockTakeQty = dbCommodity._StockTakeQty ?? 0.0m;
|
||||
commodity.CommodityIdSalesProj = new SysId(dbCommodity._CommodityIdSalesProj ?? 0);
|
||||
commodity.CommodityIdSalesProj = new SysId(dbCommodity._CommodityIdSalesProj);
|
||||
commodity.SalesProjAnnual = dbCommodity._SalesProjAnnual ?? 0.0m;
|
||||
commodity.SalesProjMonth01 = dbCommodity._SalesProjMonth01 ?? 0.0m;
|
||||
commodity.SalesProjMonth02 = dbCommodity._SalesProjMonth02 ?? 0.0m;
|
||||
@@ -914,8 +913,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
// Common properties.
|
||||
commodity.Notes = dbCommodity._Notes;
|
||||
commodity.Status = SacsSystem.GetStatusForCode(dbCommodity._Status);
|
||||
commodity.SetCreateStamp(dbCommodity._CreateOn, new SysId(dbCommodity._CreateBy ?? 0), dbCommodity._CreateHost);
|
||||
commodity.SetUpdateStamp(dbCommodity._UpdateOn ?? default(DateTime), new SysId(dbCommodity._UpdateBy ?? 0), dbCommodity._UpdateHost);
|
||||
commodity.SetCreateStamp(dbCommodity._CreateOn, new SysId(dbCommodity._CreateBy), dbCommodity._CreateHost);
|
||||
commodity.SetUpdateStamp(dbCommodity._UpdateOn, new SysId(dbCommodity._UpdateBy), dbCommodity._UpdateHost);
|
||||
commodity.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -338,8 +338,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
// Common properties.
|
||||
commodityCustomer.Notes = dbCommodityCustomer._Notes;
|
||||
commodityCustomer.Status = SacsSystem.GetStatusForCode(dbCommodityCustomer._Status);
|
||||
commodityCustomer.SetCreateStamp(dbCommodityCustomer._CreateOn, new SysId(dbCommodityCustomer._CreateBy ?? 0), dbCommodityCustomer._CreateHost);
|
||||
commodityCustomer.SetUpdateStamp(dbCommodityCustomer._UpdateOn ?? default(DateTime), new SysId(dbCommodityCustomer._UpdateBy ?? 0), dbCommodityCustomer._UpdateHost);
|
||||
commodityCustomer.SetCreateStamp(dbCommodityCustomer._CreateOn, new SysId(dbCommodityCustomer._CreateBy), dbCommodityCustomer._CreateHost);
|
||||
commodityCustomer.SetUpdateStamp(dbCommodityCustomer._UpdateOn, new SysId(dbCommodityCustomer._UpdateBy), dbCommodityCustomer._UpdateHost);
|
||||
commodityCustomer.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -245,12 +245,12 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
commoditySupplier.AssocIdSupplier = new SysId(dbCommoditySupplier._AssocIdSupplier);
|
||||
commoditySupplier.ProductCode = dbCommoditySupplier._ProductCode;
|
||||
commoditySupplier.AmountCost = dbCommoditySupplier._AmountCost ?? 0.0m;
|
||||
commoditySupplier.CurrencyIdCost = new SysId(dbCommoditySupplier._CurrencyIdCost ?? 0);
|
||||
commoditySupplier.CurrencyIdCost = new SysId(dbCommoditySupplier._CurrencyIdCost);
|
||||
// Common properties.
|
||||
commoditySupplier.Notes = dbCommoditySupplier._Notes;
|
||||
commoditySupplier.Status = SacsSystem.GetStatusForCode(dbCommoditySupplier._Status);
|
||||
commoditySupplier.SetCreateStamp(dbCommoditySupplier._CreateOn, new SysId(dbCommoditySupplier._CreateBy ?? 0), dbCommoditySupplier._CreateHost);
|
||||
commoditySupplier.SetUpdateStamp(dbCommoditySupplier._UpdateOn ?? default(DateTime), new SysId(dbCommoditySupplier._UpdateBy ?? 0), dbCommoditySupplier._UpdateHost);
|
||||
commoditySupplier.SetCreateStamp(dbCommoditySupplier._CreateOn, new SysId(dbCommoditySupplier._CreateBy), dbCommoditySupplier._CreateHost);
|
||||
commoditySupplier.SetUpdateStamp(dbCommoditySupplier._UpdateOn, new SysId(dbCommoditySupplier._UpdateBy), dbCommoditySupplier._UpdateHost);
|
||||
commoditySupplier.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -642,12 +642,12 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
portfolioItem.Caption = dbPortfolioItem._Caption;
|
||||
portfolioItem.DescBrief = dbPortfolioItem._DescBrief;
|
||||
portfolioItem.DescDetail = dbPortfolioItem._DescDetail;
|
||||
portfolioItem.CommodityId = new SysId(dbPortfolioItem._CommodityId ?? 0);
|
||||
portfolioItem.CommodityId = new SysId(dbPortfolioItem._CommodityId);
|
||||
// Common properties.
|
||||
portfolioItem.Notes = dbPortfolioItem._Notes;
|
||||
portfolioItem.Status = SacsSystem.GetStatusForCode(dbPortfolioItem._Status);
|
||||
portfolioItem.SetCreateStamp(dbPortfolioItem._CreateOn ?? default(DateTime), new SysId(dbPortfolioItem._CreateBy ?? 0), dbPortfolioItem._CreateHost);
|
||||
portfolioItem.SetUpdateStamp(dbPortfolioItem._UpdateOn ?? default(DateTime), new SysId(dbPortfolioItem._UpdateBy ?? 0), dbPortfolioItem._UpdateHost);
|
||||
portfolioItem.SetCreateStamp(dbPortfolioItem._CreateOn, new SysId(dbPortfolioItem._CreateBy), dbPortfolioItem._CreateHost);
|
||||
portfolioItem.SetUpdateStamp(dbPortfolioItem._UpdateOn, new SysId(dbPortfolioItem._UpdateBy), dbPortfolioItem._UpdateHost);
|
||||
portfolioItem.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -351,8 +351,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
// Common properties.
|
||||
itemLink.Notes = dbItemLink._Notes;
|
||||
itemLink.Status = SacsSystem.GetStatusForCode(dbItemLink._Status);
|
||||
itemLink.SetCreateStamp(dbItemLink._CreateOn ?? default(DateTime), new SysId(dbItemLink._CreateBy ?? 0), dbItemLink._CreateHost);
|
||||
itemLink.SetUpdateStamp(dbItemLink._UpdateOn ?? default(DateTime), new SysId(dbItemLink._UpdateBy ?? 0), dbItemLink._UpdateHost);
|
||||
itemLink.SetCreateStamp(dbItemLink._CreateOn, new SysId(dbItemLink._CreateBy), dbItemLink._CreateHost);
|
||||
itemLink.SetUpdateStamp(dbItemLink._UpdateOn, new SysId(dbItemLink._UpdateBy), dbItemLink._UpdateHost);
|
||||
itemLink.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -232,8 +232,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
// Common properties.
|
||||
price.Notes = dbPrice._Notes;
|
||||
price.Status = SacsSystem.GetStatusForCode(dbPrice._Status);
|
||||
price.SetCreateStamp(dbPrice._CreateOn ?? default(DateTime), new SysId(dbPrice._CreateBy ?? 0), dbPrice._CreateHost);
|
||||
price.SetUpdateStamp(dbPrice._UpdateOn ?? default(DateTime), new SysId(dbPrice._UpdateBy ?? 0), dbPrice._UpdateHost);
|
||||
price.SetCreateStamp(dbPrice._CreateOn, new SysId(dbPrice._CreateBy), dbPrice._CreateHost);
|
||||
price.SetUpdateStamp(dbPrice._UpdateOn, new SysId(dbPrice._UpdateBy), dbPrice._UpdateHost);
|
||||
price.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -243,12 +243,12 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
//priceSet.Reference = dbPriceSet._Ref;
|
||||
priceSet.PriceType = (Sbm.PriceType)(dbPriceSet._Type ?? 0);
|
||||
priceSet.Name = dbPriceSet._Name;
|
||||
priceSet.CurrencyId = new SysId(dbPriceSet._CurrencyId ?? 0);
|
||||
priceSet.CurrencyId = new SysId(dbPriceSet._CurrencyId);
|
||||
// Common properties.
|
||||
priceSet.Notes = dbPriceSet._Notes;
|
||||
priceSet.Status = SacsSystem.GetStatusForCode(dbPriceSet._Status);
|
||||
priceSet.SetCreateStamp(dbPriceSet._CreateOn ?? default(DateTime), new SysId(dbPriceSet._CreateBy ?? 0), dbPriceSet._CreateHost);
|
||||
priceSet.SetUpdateStamp(dbPriceSet._UpdateOn ?? default(DateTime), new SysId(dbPriceSet._UpdateBy ?? 0), dbPriceSet._UpdateHost);
|
||||
priceSet.SetCreateStamp(dbPriceSet._CreateOn, new SysId(dbPriceSet._CreateBy), dbPriceSet._CreateHost);
|
||||
priceSet.SetUpdateStamp(dbPriceSet._UpdateOn, new SysId(dbPriceSet._UpdateBy), dbPriceSet._UpdateHost);
|
||||
priceSet.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -267,7 +267,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
private SbmProcess_Dbas CreateProcess(Process_Db dbProcess)
|
||||
{
|
||||
ClearErrorState();
|
||||
SbmProcess_Dbas process = new SbmProcess_Dbas(new SysId(dbProcess._Id), new SysId(dbProcess._AffIdOwner ?? 0), (Sbm.ProcessCategory)dbProcess._Category, (ushort)dbProcess._Flags);
|
||||
SbmProcess_Dbas process = new SbmProcess_Dbas(new SysId(dbProcess._Id), new SysId(dbProcess._AffIdOwner), (Sbm.ProcessCategory)dbProcess._Category, (ushort)dbProcess._Flags);
|
||||
PopulateFrom(dbProcess, process);
|
||||
return process;
|
||||
}
|
||||
@@ -417,8 +417,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
// Common properties.
|
||||
process.Notes = dbProcess._Notes;
|
||||
process.Status = SacsSystem.GetStatusForCode(dbProcess._Status);
|
||||
process.SetCreateStamp(dbProcess._CreateOn ?? default(DateTime), new SysId(dbProcess._CreateBy ?? 0), dbProcess._CreateHost);
|
||||
process.SetUpdateStamp(dbProcess._UpdateOn ?? default(DateTime), new SysId(dbProcess._UpdateBy ?? 0), dbProcess._UpdateHost);
|
||||
process.SetCreateStamp(dbProcess._CreateOn, new SysId(dbProcess._CreateBy), dbProcess._CreateHost);
|
||||
process.SetUpdateStamp(dbProcess._UpdateOn, new SysId(dbProcess._UpdateBy), dbProcess._UpdateHost);
|
||||
process.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -360,7 +360,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
private SbmConstituent_Dbas CreateConstituent(Constituent_Db dbConstituent)
|
||||
{
|
||||
ClearErrorState();
|
||||
SbmConstituent_Dbas constituent = new SbmConstituent_Dbas(new SysId(dbConstituent._Id), new SysId(dbConstituent._AffIdOwner), new SysId(dbConstituent._AssocId ?? 0), (Sbm.ConstituentType)dbConstituent._Type, (ushort)dbConstituent._Flags);
|
||||
SbmConstituent_Dbas constituent = new SbmConstituent_Dbas(new SysId(dbConstituent._Id), new SysId(dbConstituent._AffIdOwner), new SysId(dbConstituent._AssocId), (Sbm.ConstituentType)dbConstituent._Type, (ushort)dbConstituent._Flags);
|
||||
PopulateFrom(dbConstituent, constituent);
|
||||
return constituent;
|
||||
}
|
||||
@@ -531,14 +531,14 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
{
|
||||
//constituent.Id = new SysId(dbConstituent._Id);
|
||||
constituent.AffiliateIdOwner = new SysId(dbConstituent._AffIdOwner);
|
||||
constituent.AffiliateIdTarget = new SysId(dbConstituent._AffIdTarget ?? 0);
|
||||
constituent.AssociationId = new SysId(dbConstituent._AssocId ?? 0);
|
||||
constituent.TransactionId = new SysId(dbConstituent._TransId ?? 0);
|
||||
constituent.RequirementId = new SysId(dbConstituent._ReqntId ?? 0);
|
||||
constituent.ConstituentId = new SysId(dbConstituent._ConstId ?? 0);
|
||||
constituent.AssetId = new SysId(dbConstituent._AssetId ?? 0);
|
||||
constituent.ProcessId = new SysId(dbConstituent._ProcessId ?? 0);
|
||||
constituent.AssociationIdContractor = new SysId(dbConstituent._AssocIdContractor ?? 0);
|
||||
constituent.AffiliateIdTarget = new SysId(dbConstituent._AffIdTarget);
|
||||
constituent.AssociationId = new SysId(dbConstituent._AssocId);
|
||||
constituent.TransactionId = new SysId(dbConstituent._TransId);
|
||||
constituent.RequirementId = new SysId(dbConstituent._ReqntId);
|
||||
constituent.ConstituentId = new SysId(dbConstituent._ConstId);
|
||||
constituent.AssetId = new SysId(dbConstituent._AssetId);
|
||||
constituent.ProcessId = new SysId(dbConstituent._ProcessId);
|
||||
constituent.AssociationIdContractor = new SysId(dbConstituent._AssocIdContractor);
|
||||
constituent.ConstituentType = (Sbm.ConstituentType)(dbConstituent._Type ?? 0);
|
||||
constituent.Seq = dbConstituent._Seq ?? 0;
|
||||
constituent.Effective = dbConstituent._Effective ?? default(DateTime);
|
||||
@@ -553,11 +553,11 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
constituent.Category = dbConstituent._Category;
|
||||
constituent.Reference = dbConstituent._Reference;
|
||||
constituent.Quantity = dbConstituent._Quantity ?? 0.0m;
|
||||
constituent.UomId = new SysId(dbConstituent._UomId ?? 0);
|
||||
constituent.UomId = new SysId(dbConstituent._UomId);
|
||||
constituent.UnitCost = dbConstituent._UnitCost ?? 0.0m;
|
||||
constituent.AmountEst = dbConstituent._AmountEst ?? 0.0m;
|
||||
constituent.AmountNet = dbConstituent._AmountNet ?? 0.0m;
|
||||
constituent.TaxCodeId = new SysId(dbConstituent._TaxCodeId ?? 0);
|
||||
constituent.TaxCodeId = new SysId(dbConstituent._TaxCodeId);
|
||||
constituent.TaxRate = dbConstituent._TaxRate ?? 0.0m;
|
||||
constituent.AmountTax = dbConstituent._AmountTax ?? 0.0m;
|
||||
constituent.AmountTot = dbConstituent._AmountTot ?? 0.0m;
|
||||
@@ -566,8 +566,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
// Common properties.
|
||||
constituent.Notes = dbConstituent._Notes;
|
||||
constituent.Status = SacsSystem.GetStatusForCode(dbConstituent._Status);
|
||||
constituent.SetCreateStamp(dbConstituent._CreateOn ?? default(DateTime), new SysId(dbConstituent._CreateBy ?? 0), dbConstituent._CreateHost);
|
||||
constituent.SetUpdateStamp(dbConstituent._UpdateOn ?? default(DateTime), new SysId(dbConstituent._UpdateBy ?? 0), dbConstituent._UpdateHost);
|
||||
constituent.SetCreateStamp(dbConstituent._CreateOn, new SysId(dbConstituent._CreateBy), dbConstituent._CreateHost);
|
||||
constituent.SetUpdateStamp(dbConstituent._UpdateOn, new SysId(dbConstituent._UpdateBy), dbConstituent._UpdateHost);
|
||||
constituent.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using Org.BouncyCastle.Bcpg;
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.App;
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.App;
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.Bus;
|
||||
using Sarand.BusinessMgr.Net.Standard.Dbas.Bus;
|
||||
using Sarand.BusinessMgr.Net.Standard.Dbas.Internal;
|
||||
@@ -17,7 +16,6 @@ using System.Collections.Generic;
|
||||
using System.Data.Common;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Transactions;
|
||||
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
{
|
||||
@@ -571,7 +569,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
private SbmRequirement_Dbas CreateRequirement(Requirement_Db dbRequirement)
|
||||
{
|
||||
ClearErrorState();
|
||||
SbmRequirement_Dbas requirement = new SbmRequirement_Dbas(new SysId(dbRequirement._Id), new SysId(dbRequirement._AffIdOwner), new SysId(dbRequirement._AssocId ?? 0), new SysId(dbRequirement._TransId ?? 0), (Sbm.RequirementType)dbRequirement._Type, (ushort)dbRequirement._Flags);
|
||||
SbmRequirement_Dbas requirement = new SbmRequirement_Dbas(new SysId(dbRequirement._Id), new SysId(dbRequirement._AffIdOwner), new SysId(dbRequirement._AssocId), new SysId(dbRequirement._TransId), (Sbm.RequirementType)dbRequirement._Type, (ushort)dbRequirement._Flags);
|
||||
PopulateFrom(dbRequirement, requirement);
|
||||
return requirement;
|
||||
}
|
||||
@@ -753,19 +751,19 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
{
|
||||
//requirement.Id = new SysId(dbRequirement._Id);
|
||||
requirement.AffiliateIdOwner = new SysId(dbRequirement._AffIdOwner);
|
||||
requirement.AssociationId = new SysId(dbRequirement._AssocId ?? 0);
|
||||
requirement.TransactionId = new SysId(dbRequirement._TransId ?? 0);
|
||||
requirement.AssociationId = new SysId(dbRequirement._AssocId);
|
||||
requirement.TransactionId = new SysId(dbRequirement._TransId);
|
||||
requirement.RequirementType = (Sbm.RequirementType)(dbRequirement._Type ?? 0);
|
||||
requirement.Seq = dbRequirement._Seq ?? 0;
|
||||
requirement.RequirementIdSource = new SysId(dbRequirement._ReqntIdSource ?? 0);
|
||||
requirement.RequirementIdSource = new SysId(dbRequirement._ReqntIdSource);
|
||||
requirement.Required = dbRequirement._Required ?? default(DateTime);
|
||||
requirement.Started = dbRequirement._Started ?? default(DateTime);
|
||||
requirement.Completed = dbRequirement._Completed ?? default(DateTime);
|
||||
requirement.JobNumber = dbRequirement._JobNumber;
|
||||
requirement.AssociationIdSubContract = new SysId(dbRequirement._AssIdSubcontract ?? 0);
|
||||
requirement.CommodityId = new SysId(dbRequirement._CommodityId ?? 0);
|
||||
requirement.AssociationIdSubContract = new SysId(dbRequirement._AssIdSubcontract);
|
||||
requirement.CommodityId = new SysId(dbRequirement._CommodityId);
|
||||
requirement.ProductCode = dbRequirement._ProductCode;
|
||||
requirement.AssetId = new SysId(dbRequirement._AssetId ?? 0);
|
||||
requirement.AssetId = new SysId(dbRequirement._AssetId);
|
||||
requirement.DescBrief = dbRequirement._DescBrief;
|
||||
requirement.DescIntro = dbRequirement._DescIntro;
|
||||
requirement.DescOutline = dbRequirement._DescOutline;
|
||||
@@ -774,20 +772,20 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
requirement.NominalCode = dbRequirement._NominalCode;
|
||||
requirement.Quantity = (decimal)dbRequirement._Quantity;
|
||||
requirement.QuantityProd = (decimal)dbRequirement._QuantityProd;
|
||||
requirement.UomId = new SysId(dbRequirement._UomId ?? 0);
|
||||
requirement.UomId = new SysId(dbRequirement._UomId);
|
||||
requirement.MaterialSourceCode = dbRequirement._MaterialSourceCode;
|
||||
requirement.AmountUnit = (decimal)dbRequirement._AmountUnit;
|
||||
requirement.AmountAct = (decimal)dbRequirement._AmountAct;
|
||||
requirement.AmountDisc = (decimal)dbRequirement._AmountDisc;
|
||||
requirement.AmountNet = (decimal)dbRequirement._AmountNet;
|
||||
requirement.TaxCodeId = new SysId(dbRequirement._TaxCodeId ?? 0);
|
||||
requirement.TaxCodeId = new SysId(dbRequirement._TaxCodeId);
|
||||
requirement.TaxRate = (decimal)dbRequirement._TaxRate;
|
||||
requirement.AmountTax = (decimal)dbRequirement._AmountTax;
|
||||
requirement.AmountTot = (decimal)dbRequirement._AmountTot;
|
||||
requirement.TimeEst = (decimal)dbRequirement._TimeEst;
|
||||
requirement.TimeAct = (decimal)dbRequirement._TimeAct;
|
||||
requirement.TimeTot = (decimal)dbRequirement._TimeTot;
|
||||
requirement.LocationIdStock = new SysId(dbRequirement._LocationIdStock ?? 0);
|
||||
requirement.LocationIdStock = new SysId(dbRequirement._LocationIdStock);
|
||||
requirement.CostLabourHours = dbRequirement._CostLabourHours ?? 0.0m;
|
||||
requirement.CostLabourRateHour = dbRequirement._CostLabourRateHour ?? 0.0m;
|
||||
requirement.CostLabour = dbRequirement._CostLabour ?? 0.0m;
|
||||
@@ -800,8 +798,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
// Common properties.
|
||||
requirement.Notes = dbRequirement._Notes;
|
||||
requirement.Status = SacsSystem.GetStatusForCode(dbRequirement._Status);
|
||||
requirement.SetCreateStamp(dbRequirement._CreateOn ?? default(DateTime), new SysId(dbRequirement._CreateBy ?? 0), dbRequirement._CreateHost);
|
||||
requirement.SetUpdateStamp(dbRequirement._UpdateOn ?? default(DateTime), new SysId(dbRequirement._UpdateBy ?? 0), dbRequirement._UpdateHost);
|
||||
requirement.SetCreateStamp(dbRequirement._CreateOn, new SysId(dbRequirement._CreateBy), dbRequirement._CreateHost);
|
||||
requirement.SetUpdateStamp(dbRequirement._UpdateOn, new SysId(dbRequirement._UpdateBy), dbRequirement._UpdateHost);
|
||||
requirement.AcceptChanges();
|
||||
}
|
||||
|
||||
|
||||
@@ -566,7 +566,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
private SbmTransaction_Dbas CreateTransaction(Transaction_Db dbTransaction)
|
||||
{
|
||||
ClearErrorState();
|
||||
SbmTransaction_Dbas transaction = new SbmTransaction_Dbas(new SysId(dbTransaction._Id), new SysId(dbTransaction._AffIdOwner ?? 0), new SysId(dbTransaction._AssocId), (Sbm.TransactionType)dbTransaction._Type, (ushort)dbTransaction._Flags);
|
||||
SbmTransaction_Dbas transaction = new SbmTransaction_Dbas(new SysId(dbTransaction._Id), new SysId(dbTransaction._AffIdOwner), new SysId(dbTransaction._AssocId), (Sbm.TransactionType)dbTransaction._Type, (ushort)dbTransaction._Flags);
|
||||
PopulateFrom(dbTransaction, transaction);
|
||||
return transaction;
|
||||
}
|
||||
@@ -821,22 +821,22 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
private void PopulateFrom(Transaction_Db dbTransaction, SbmTransaction transaction)
|
||||
{
|
||||
//transaction.Id = new SysId(dbTransaction._Id);
|
||||
transaction.AffiliateIdOwner = new SysId(dbTransaction._AffIdOwner ?? 0);
|
||||
transaction.AffiliateIdOwner = new SysId(dbTransaction._AffIdOwner);
|
||||
transaction.AssociationId = new SysId(dbTransaction._AssocId);
|
||||
transaction.TransactionType = (Sbm.TransactionType)(dbTransaction._Type ?? 0);
|
||||
transaction.Ref = dbTransaction._Ref;
|
||||
transaction.RefExt = dbTransaction._RefExt;
|
||||
transaction.RaisedBy = dbTransaction._RaisedBy;
|
||||
transaction.AffiliateIdRaise = new SysId(dbTransaction._AffIdRaise ?? 0);
|
||||
transaction.AssociationIdOffice = new SysId(dbTransaction._AssocIdOffice ?? 0);
|
||||
transaction.AffiliateIdRaise = new SysId(dbTransaction._AffIdRaise);
|
||||
transaction.AssociationIdOffice = new SysId(dbTransaction._AssocIdOffice);
|
||||
transaction.ContactName = dbTransaction._ContactName;
|
||||
transaction.Likelihood = dbTransaction._Likelihood;
|
||||
transaction.TransactionIdSource = new SysId(dbTransaction._TransIdSource ?? 0);
|
||||
transaction.TransactionIdSource = new SysId(dbTransaction._TransIdSource);
|
||||
transaction.ReferCode = dbTransaction._ReferCode;
|
||||
transaction.ReferSource = dbTransaction._ReferSource;
|
||||
transaction.AffiliateIdRefer = new SysId(dbTransaction._AffIdRefer ?? 0);
|
||||
transaction.AssociationIdContract = new SysId(dbTransaction._AssocIdContract ?? 0);
|
||||
transaction.AssociationIdDelivery = new SysId(dbTransaction._AssIdDeliver ?? 0);
|
||||
transaction.AffiliateIdRefer = new SysId(dbTransaction._AffIdRefer);
|
||||
transaction.AssociationIdContract = new SysId(dbTransaction._AssocIdContract);
|
||||
transaction.AssociationIdDelivery = new SysId(dbTransaction._AssIdDeliver);
|
||||
transaction.Raised = dbTransaction._Raised ?? default(DateTime);
|
||||
transaction.Required = dbTransaction._Required ?? default(DateTime);
|
||||
transaction.InProgress = dbTransaction._InProgress ?? default(DateTime);
|
||||
@@ -851,8 +851,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
transaction.ResponseCode = dbTransaction._ResponseCode;
|
||||
transaction.ContactAreaCode = dbTransaction._ContactAreaCode;
|
||||
transaction.Postcode = dbTransaction._Postcode;
|
||||
transaction.CurrencyId = new SysId(dbTransaction._CurrencyId ?? 0);
|
||||
transaction.TaxCodeId = new SysId(dbTransaction._TaxCodeId ?? 0);
|
||||
transaction.CurrencyId = new SysId(dbTransaction._CurrencyId);
|
||||
transaction.TaxCodeId = new SysId(dbTransaction._TaxCodeId);
|
||||
transaction.AmountEst = dbTransaction._AmountEst ?? 0.0m;
|
||||
transaction.AmountMax = dbTransaction._AmountMax ?? 0.0m;
|
||||
transaction.AmountNet = dbTransaction._AmountNet ?? 0.0m;
|
||||
@@ -861,9 +861,9 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
transaction.TimeEst = dbTransaction._TimeEst ?? 0.0m;
|
||||
transaction.TimeAct = dbTransaction._TimeAct ?? 0.0m;
|
||||
transaction.TimeTot = dbTransaction._TimeTot ?? 0.0m;
|
||||
transaction.LocationIdStock = new SysId(dbTransaction._LocationIdStock ?? 0);
|
||||
transaction.LocationIdStock = new SysId(dbTransaction._LocationIdStock);
|
||||
transaction.Weight = dbTransaction._Weight ?? 0.0m;
|
||||
transaction.UomIdWeight = new SysId(dbTransaction._UomIdWeight ?? 0);
|
||||
transaction.UomIdWeight = new SysId(dbTransaction._UomIdWeight);
|
||||
transaction.BoxCount = dbTransaction._BoxCount;
|
||||
transaction.DeliveryStatusCode = dbTransaction._DeliveryStatusCode;
|
||||
transaction.DeliveryTypeCode = dbTransaction._DeliveryTypeCode;
|
||||
@@ -874,7 +874,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
transaction.DeliveryRef = dbTransaction._DeliveryRef;
|
||||
transaction.DeliveryComment = dbTransaction._DeliveryComment;
|
||||
transaction.DeliveryAmountNet = dbTransaction._DeliveryAmountNet ?? 0.0m;
|
||||
transaction.TaxCodeIdDelivery = new SysId(dbTransaction._TaxCodeIdDelivery ?? 0);
|
||||
transaction.TaxCodeIdDelivery = new SysId(dbTransaction._TaxCodeIdDelivery);
|
||||
transaction.DeliveryAmountTax = dbTransaction._DeliveryAmountTax ?? 0.0m;
|
||||
transaction.DeliveryAmountTot = dbTransaction._DeliveryAmountTot ?? 0.0m;
|
||||
transaction.DeliveryDepartment = dbTransaction._DeliveryDepartment;
|
||||
@@ -882,8 +882,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
// Common properties.
|
||||
transaction.Notes = dbTransaction._Notes;
|
||||
transaction.Status = SacsSystem.GetStatusForCode(dbTransaction._Status);
|
||||
transaction.SetCreateStamp(dbTransaction._CreateOn ?? default(DateTime), new SysId(dbTransaction._CreateBy ?? 0), dbTransaction._CreateHost);
|
||||
transaction.SetUpdateStamp(dbTransaction._UpdateOn ?? default(DateTime), new SysId(dbTransaction._UpdateBy ?? 0), dbTransaction._UpdateHost);
|
||||
transaction.SetCreateStamp(dbTransaction._CreateOn, new SysId(dbTransaction._CreateBy), dbTransaction._CreateHost);
|
||||
transaction.SetUpdateStamp(dbTransaction._UpdateOn, new SysId(dbTransaction._UpdateBy), dbTransaction._UpdateHost);
|
||||
transaction.AcceptChanges();
|
||||
}
|
||||
|
||||
@@ -1379,7 +1379,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Transaction query filter.
|
||||
public override List<string> GetTransactionQueryFilter(SbmTransaction.Params prm)
|
||||
public override List<string> GetTransactionQueryFilter(SbmTransaction.Params prm, bool forceFullResults = false)
|
||||
{
|
||||
List<String> filter = new List<String>();
|
||||
String tableAlias = StringUtil.OnEmpty(prm.TableAlias, aliasTransaction);
|
||||
@@ -1779,7 +1779,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
|
||||
//---------------------------------------------------------------
|
||||
// 'Archive' filter - restrict transaction dates if no other 'significant' filter in place.
|
||||
if (prm.RequiresVolumeThrottle())
|
||||
if (prm.RequiresVolumeThrottle() && !forceFullResults)
|
||||
{
|
||||
DateTime today = DateTime.Today;
|
||||
DateTime earliestTransaction = new DateTime(today.Year - 1, 1, 1);
|
||||
@@ -1860,7 +1860,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
public override long GetTransactionCount(SbmTransaction.Params prm)
|
||||
{
|
||||
ClearErrorState();
|
||||
return GetTransactionCount(GetTransactionQueryFilter(prm).Concat(" AND ", "(", ")"));
|
||||
return GetTransactionCount(GetTransactionQueryFilter(prm, true).Concat(" AND ", "(", ")"));
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_Address(SbmInternals internals, SbmAddress address) :
|
||||
base(new Config(internals, address.Id))
|
||||
{
|
||||
itemTypes = internals.GetSystemCodes(Sbm.SystemCode.ItemType);
|
||||
addressTypes = internals.GetSystemCodes(Sbm.SystemCode.AddressType);
|
||||
itemTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.ItemType);
|
||||
addressTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.AddressType);
|
||||
RecordAttrValues(address, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_Affiliate(SbmInternals internals, SbmAffiliate affiliate) :
|
||||
base(new Config(internals, affiliate.Id))
|
||||
{
|
||||
affiliateTypes = internals.GetSystemCodes(Sbm.SystemCode.AffiliateType);
|
||||
affiliateTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.AffiliateType);
|
||||
RecordAttrValues(affiliate, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_AssetCategory(SbmInternals internals, SbmAssetCategory assetCategory) :
|
||||
base(new Config(internals, assetCategory.Id))
|
||||
{
|
||||
assetTypes = internals.GetSystemCodes(Sbm.SystemCode.AssetType);
|
||||
incomeTypes = internals.GetSystemCodes(Sbm.SystemCode.AssetIncomeType);
|
||||
assetTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.AssetType);
|
||||
incomeTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.AssetIncomeType);
|
||||
RecordAttrValues(assetCategory, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_Association(SbmInternals internals, SbmAssociation association) :
|
||||
base(new Config(internals, association.Id))
|
||||
{
|
||||
associationTypes = internals.GetSystemCodes(Sbm.SystemCode.AssociationType);
|
||||
discountTypes = internals.GetSystemCodes(Sbm.SystemCode.DiscountType);
|
||||
associationTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.AssociationType);
|
||||
discountTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.DiscountType);
|
||||
RecordAttrValues(association, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_Commodity(SbmInternals internals, SbmCommodity commodity) :
|
||||
base(new Config(internals, commodity.Id))
|
||||
{
|
||||
commodityTypes = internals.GetSystemCodes(Sbm.SystemCode.CommodityType);
|
||||
commodityTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.CommodityType);
|
||||
RecordAttrValues(commodity, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_Constituent(SbmInternals internals, SbmConstituent constituent) :
|
||||
base(new Config(internals, constituent.Id))
|
||||
{
|
||||
constituentTypes = internals.GetSystemCodes(Sbm.SystemCode.ConstituentType);
|
||||
constituentTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.ConstituentType);
|
||||
RecordAttrValues(constituent, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_Container(SbmInternals internals, SbmContainer container) :
|
||||
base(new Config(internals, container.Id))
|
||||
{
|
||||
containerCategories = internals.GetSystemCodes(Sbm.SystemCode.ContainerCategory);
|
||||
containerTypes = internals.GetSystemCodes(Sbm.SystemCode.ContainerType);
|
||||
containerCategories = internals.GetApplicationCodes(Sbm.ApplicationCode.ContainerCategory);
|
||||
containerTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.ContainerType);
|
||||
RecordAttrValues(container, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_ContainerItem(SbmInternals internals, SbmContainerItem containerItem) :
|
||||
base(new Config(internals, containerItem.Id))
|
||||
{
|
||||
itemTypes = internals.GetSystemCodes(Sbm.SystemCode.ItemType);
|
||||
itemTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.ItemType);
|
||||
RecordAttrValues(containerItem, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_ItemBatch(SbmInternals internals, SbmItemBatch itemBatch) :
|
||||
base(new Config(internals, itemBatch.Id))
|
||||
{
|
||||
itemTypes = internals.GetSystemCodes(Sbm.SystemCode.ItemType);
|
||||
itemTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.ItemType);
|
||||
RecordAttrValues(itemBatch, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_ItemLink(SbmInternals internals, SbmItemLink itemLink) :
|
||||
base(new Config(internals, itemLink.Id))
|
||||
{
|
||||
itemTypes = internals.GetSystemCodes(Sbm.SystemCode.ItemType);
|
||||
itemTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.ItemType);
|
||||
RecordAttrValues(itemLink, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_Location(SbmInternals internals, SbmLocation location) :
|
||||
base(new Config(internals, location.Id))
|
||||
{
|
||||
locationCategories = internals.GetSystemCodes(Sbm.SystemCode.LocationCategory);
|
||||
locationCategories = internals.GetApplicationCodes(Sbm.ApplicationCode.LocationCategory);
|
||||
RecordAttrValues(location, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_Movement(SbmInternals internals, SbmMovement movement) :
|
||||
base(new Config(internals, movement.Id))
|
||||
{
|
||||
itemTypes = internals.GetSystemCodes(Sbm.SystemCode.ItemType);
|
||||
movementTypes = internals.GetSystemCodes(Sbm.SystemCode.MovementType);
|
||||
itemTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.ItemType);
|
||||
movementTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.MovementType);
|
||||
RecordAttrValues(movement, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_PortfolioItem(SbmInternals internals, SbmPortfolioItem portfolioItem) :
|
||||
base(new Config(internals, portfolioItem.Id))
|
||||
{
|
||||
portfolioItemTypes = internals.GetSystemCodes(Sbm.SystemCode.PortfolioItemType);
|
||||
portfolioItemTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.PortfolioItemType);
|
||||
RecordAttrValues(portfolioItem, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_Process(SbmInternals internals, SbmProcess process) :
|
||||
base(new Config(internals, process.Id))
|
||||
{
|
||||
processCategories = internals.GetSystemCodes(Sbm.SystemCode.ProcessCategory);
|
||||
processTypes = internals.GetSystemCodes(Sbm.SystemCode.ProcessType);
|
||||
processCategories = internals.GetApplicationCodes(Sbm.ApplicationCode.ProcessCategory);
|
||||
processTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.ProcessType);
|
||||
RecordAttrValues(process, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_Requirement(SbmInternals internals, SbmRequirement requirement) :
|
||||
base(new Config(internals, requirement.Id))
|
||||
{
|
||||
requirementTypes = internals.GetSystemCodes(Sbm.SystemCode.RequirementType);
|
||||
requirementTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.RequirementType);
|
||||
RecordAttrValues(requirement, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_StockLevel(SbmInternals internals, SbmStockLevel stockLevel) :
|
||||
base(new Config(internals, stockLevel.Id))
|
||||
{
|
||||
stockLevelTypes = internals.GetSystemCodes(Sbm.SystemCode.StockLevelType);
|
||||
stockLevelSources = internals.GetSystemCodes(Sbm.SystemCode.StockLevelSource);
|
||||
stockLevelTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.StockLevelType);
|
||||
stockLevelSources = internals.GetApplicationCodes(Sbm.ApplicationCode.StockLevelSource);
|
||||
RecordAttrValues(stockLevel, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_SysParam(SbmInternals internals, SbmSysParam sysParam) :
|
||||
base(new Config(internals, sysParam.Id))
|
||||
{
|
||||
sysParamCategories = internals.GetSystemCodes(Sbm.SystemCode.SysParamCategory);
|
||||
sysParamCategories = internals.GetApplicationCodes(Sbm.ApplicationCode.SysParamCategory);
|
||||
RecordAttrValues(sysParam, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_Transaction(SbmInternals internals, SbmTransaction transaction) :
|
||||
base(new Config(internals, transaction.Id))
|
||||
{
|
||||
transactionTypes = internals.GetSystemCodes(Sbm.SystemCode.TransactionType);
|
||||
transactionTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.TransactionType);
|
||||
RecordAttrValues(transaction, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,9 +32,9 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_VehicleClass(SbmInternals internals, SbmVehicleClass vehicleClass) :
|
||||
base(new Config(internals, vehicleClass.Id))
|
||||
{
|
||||
vehicleTypes = internals.GetSystemCodes(Sbm.SystemCode.VehicleType);
|
||||
fuelTypes = internals.GetSystemCodes(Sbm.SystemCode.FuelType);
|
||||
odometerUnits = SbmSystem.GetSystemCodes(Sbm.SystemCode.OdometerUnits);
|
||||
vehicleTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.VehicleType);
|
||||
fuelTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.FuelType);
|
||||
odometerUnits = SbmSystem.GetSystemCodes(Sbm.ApplicationCode.OdometerUnits);
|
||||
RecordAttrValues(vehicleClass, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_VehicleEvent(SbmInternals internals, SbmVehicleEvent vehicleEvent) :
|
||||
base(new Config(internals, vehicleEvent.Id))
|
||||
{
|
||||
vehicleEventTypes = internals.GetSystemCodes(Sbm.SystemCode.VehicleEventType);
|
||||
vehicleEventTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.VehicleEventType);
|
||||
RecordAttrValues(vehicleEvent, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.UpdateLog
|
||||
public SbmUpdateLogItemMonitor_VehicleFeature(SbmInternals internals, SbmVehicleFeature vehicleFeature) :
|
||||
base(new Config(internals, vehicleFeature.Id))
|
||||
{
|
||||
vehicleFeatureSources = internals.GetSystemCodes(Sbm.SystemCode.VehicleFeatureSource);
|
||||
vehicleFeatureTypes = internals.GetSystemCodes(Sbm.SystemCode.VehicleFeatureType);
|
||||
vehicleFeatureSources = internals.GetApplicationCodes(Sbm.ApplicationCode.VehicleFeatureSource);
|
||||
vehicleFeatureTypes = internals.GetApplicationCodes(Sbm.ApplicationCode.VehicleFeatureType);
|
||||
RecordAttrValues(vehicleFeature, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -8484,15 +8484,15 @@
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceDataItem</Table>
|
||||
<Pos>9</Pos>
|
||||
<Name>ProcessStatusOn</Name>
|
||||
<DataType>Int</DataType>
|
||||
<Name>ProcessStatusAt</Name>
|
||||
<DataType>DateTime</DataType>
|
||||
<DataTypeName />
|
||||
<DataTypeNative>4</DataTypeNative>
|
||||
<DataTypeNameNative>int</DataTypeNameNative>
|
||||
<DataTypeNative>93</DataTypeNative>
|
||||
<DataTypeNameNative>datetime</DataTypeNameNative>
|
||||
<IsIdentity>false</IsIdentity>
|
||||
<Size>10</Size>
|
||||
<BufferLen>4</BufferLen>
|
||||
<DecimalDigits>0</DecimalDigits>
|
||||
<Size>23</Size>
|
||||
<BufferLen>16</BufferLen>
|
||||
<DecimalDigits>3</DecimalDigits>
|
||||
<Nullable>Nullable</Nullable>
|
||||
<IsNullable>true</IsNullable>
|
||||
<Remarks />
|
||||
@@ -8535,15 +8535,15 @@
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceDataItem</Table>
|
||||
<Pos>12</Pos>
|
||||
<Name>ItemStatusOn</Name>
|
||||
<DataType>Int</DataType>
|
||||
<Name>ItemStatusAt</Name>
|
||||
<DataType>DateTime</DataType>
|
||||
<DataTypeName />
|
||||
<DataTypeNative>4</DataTypeNative>
|
||||
<DataTypeNameNative>int</DataTypeNameNative>
|
||||
<DataTypeNative>93</DataTypeNative>
|
||||
<DataTypeNameNative>datetime</DataTypeNameNative>
|
||||
<IsIdentity>false</IsIdentity>
|
||||
<Size>10</Size>
|
||||
<BufferLen>4</BufferLen>
|
||||
<DecimalDigits>0</DecimalDigits>
|
||||
<Size>23</Size>
|
||||
<BufferLen>16</BufferLen>
|
||||
<DecimalDigits>3</DecimalDigits>
|
||||
<Nullable>Nullable</Nullable>
|
||||
<IsNullable>true</IsNullable>
|
||||
<Remarks />
|
||||
@@ -8972,15 +8972,15 @@
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceProcess</Table>
|
||||
<Pos>6</Pos>
|
||||
<Name>ProcDate</Name>
|
||||
<DataType>Int</DataType>
|
||||
<Name>ProcessAt</Name>
|
||||
<DataType>DateTime</DataType>
|
||||
<DataTypeName />
|
||||
<DataTypeNative>4</DataTypeNative>
|
||||
<DataTypeNameNative>int</DataTypeNameNative>
|
||||
<DataTypeNative>93</DataTypeNative>
|
||||
<DataTypeNameNative>datetime</DataTypeNameNative>
|
||||
<IsIdentity>false</IsIdentity>
|
||||
<Size>10</Size>
|
||||
<BufferLen>4</BufferLen>
|
||||
<DecimalDigits>0</DecimalDigits>
|
||||
<Size>23</Size>
|
||||
<BufferLen>16</BufferLen>
|
||||
<DecimalDigits>3</DecimalDigits>
|
||||
<Nullable>Nullable</Nullable>
|
||||
<IsNullable>true</IsNullable>
|
||||
<Remarks />
|
||||
@@ -8989,15 +8989,15 @@
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceProcess</Table>
|
||||
<Pos>7</Pos>
|
||||
<Name>ProcTime</Name>
|
||||
<DataType>Int</DataType>
|
||||
<Name>BatchAt</Name>
|
||||
<DataType>DateTime</DataType>
|
||||
<DataTypeName />
|
||||
<DataTypeNative>4</DataTypeNative>
|
||||
<DataTypeNameNative>int</DataTypeNameNative>
|
||||
<DataTypeNative>93</DataTypeNative>
|
||||
<DataTypeNameNative>datetime</DataTypeNameNative>
|
||||
<IsIdentity>false</IsIdentity>
|
||||
<Size>10</Size>
|
||||
<BufferLen>4</BufferLen>
|
||||
<DecimalDigits>0</DecimalDigits>
|
||||
<Size>23</Size>
|
||||
<BufferLen>16</BufferLen>
|
||||
<DecimalDigits>3</DecimalDigits>
|
||||
<Nullable>Nullable</Nullable>
|
||||
<IsNullable>true</IsNullable>
|
||||
<Remarks />
|
||||
@@ -9006,40 +9006,6 @@
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceProcess</Table>
|
||||
<Pos>8</Pos>
|
||||
<Name>BatchDate</Name>
|
||||
<DataType>Int</DataType>
|
||||
<DataTypeName />
|
||||
<DataTypeNative>4</DataTypeNative>
|
||||
<DataTypeNameNative>int</DataTypeNameNative>
|
||||
<IsIdentity>false</IsIdentity>
|
||||
<Size>10</Size>
|
||||
<BufferLen>4</BufferLen>
|
||||
<DecimalDigits>0</DecimalDigits>
|
||||
<Nullable>Nullable</Nullable>
|
||||
<IsNullable>true</IsNullable>
|
||||
<Remarks />
|
||||
</DbDfnColumn>
|
||||
<DbDfnColumn>
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceProcess</Table>
|
||||
<Pos>9</Pos>
|
||||
<Name>BatchTime</Name>
|
||||
<DataType>Int</DataType>
|
||||
<DataTypeName />
|
||||
<DataTypeNative>4</DataTypeNative>
|
||||
<DataTypeNameNative>int</DataTypeNameNative>
|
||||
<IsIdentity>false</IsIdentity>
|
||||
<Size>10</Size>
|
||||
<BufferLen>4</BufferLen>
|
||||
<DecimalDigits>0</DecimalDigits>
|
||||
<Nullable>Nullable</Nullable>
|
||||
<IsNullable>true</IsNullable>
|
||||
<Remarks />
|
||||
</DbDfnColumn>
|
||||
<DbDfnColumn>
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceProcess</Table>
|
||||
<Pos>10</Pos>
|
||||
<Name>ElapseSecs</Name>
|
||||
<DataType>Int</DataType>
|
||||
<DataTypeName />
|
||||
@@ -9056,7 +9022,7 @@
|
||||
<DbDfnColumn>
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceProcess</Table>
|
||||
<Pos>11</Pos>
|
||||
<Pos>9</Pos>
|
||||
<Name>ItemCount</Name>
|
||||
<DataType>Int</DataType>
|
||||
<DataTypeName />
|
||||
@@ -9073,7 +9039,7 @@
|
||||
<DbDfnColumn>
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceProcess</Table>
|
||||
<Pos>12</Pos>
|
||||
<Pos>10</Pos>
|
||||
<Name>Flags</Name>
|
||||
<DataType>SmallInt</DataType>
|
||||
<DataTypeName />
|
||||
@@ -9090,7 +9056,7 @@
|
||||
<DbDfnColumn>
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceProcess</Table>
|
||||
<Pos>13</Pos>
|
||||
<Pos>11</Pos>
|
||||
<Name>Status</Name>
|
||||
<DataType>VarChar</DataType>
|
||||
<DataTypeName />
|
||||
@@ -9107,7 +9073,7 @@
|
||||
<DbDfnColumn>
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceProcess</Table>
|
||||
<Pos>14</Pos>
|
||||
<Pos>12</Pos>
|
||||
<Name>CreateOn</Name>
|
||||
<DataType>DateTime</DataType>
|
||||
<DataTypeName />
|
||||
@@ -9124,7 +9090,7 @@
|
||||
<DbDfnColumn>
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceProcess</Table>
|
||||
<Pos>15</Pos>
|
||||
<Pos>13</Pos>
|
||||
<Name>CreateBy</Name>
|
||||
<DataType>Int</DataType>
|
||||
<DataTypeName />
|
||||
@@ -9141,7 +9107,7 @@
|
||||
<DbDfnColumn>
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceProcess</Table>
|
||||
<Pos>16</Pos>
|
||||
<Pos>14</Pos>
|
||||
<Name>CreateHost</Name>
|
||||
<DataType>VarChar</DataType>
|
||||
<DataTypeName />
|
||||
@@ -9158,7 +9124,7 @@
|
||||
<DbDfnColumn>
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceProcess</Table>
|
||||
<Pos>17</Pos>
|
||||
<Pos>15</Pos>
|
||||
<Name>UpdateOn</Name>
|
||||
<DataType>DateTime</DataType>
|
||||
<DataTypeName />
|
||||
@@ -9175,7 +9141,7 @@
|
||||
<DbDfnColumn>
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceProcess</Table>
|
||||
<Pos>18</Pos>
|
||||
<Pos>16</Pos>
|
||||
<Name>UpdateBy</Name>
|
||||
<DataType>Int</DataType>
|
||||
<DataTypeName />
|
||||
@@ -9192,7 +9158,7 @@
|
||||
<DbDfnColumn>
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceProcess</Table>
|
||||
<Pos>19</Pos>
|
||||
<Pos>17</Pos>
|
||||
<Name>UpdateHost</Name>
|
||||
<DataType>VarChar</DataType>
|
||||
<DataTypeName />
|
||||
@@ -9283,36 +9249,6 @@
|
||||
</DbDfnIndexColumn>
|
||||
</Columns>
|
||||
</DbDfnIndex>
|
||||
<DbDfnIndex>
|
||||
<Schema>dbo</Schema>
|
||||
<Table>InterfaceProcess</Table>
|
||||
<Name>IDX_InterfaceProcess_IntProcDate</Name>
|
||||
<IndexType>3</IndexType>
|
||||
<Unique>false</Unique>
|
||||
<Primary>false</Primary>
|
||||
<Clustered>false</Clustered>
|
||||
<Nullable>false</Nullable>
|
||||
<Pages>0</Pages>
|
||||
<UniqueValues>0</UniqueValues>
|
||||
<HasColumns>false</HasColumns>
|
||||
<Columns>
|
||||
<DbDfnIndexColumn>
|
||||
<Seq>1</Seq>
|
||||
<Name>InterfaceId</Name>
|
||||
<Ascend>true</Ascend>
|
||||
</DbDfnIndexColumn>
|
||||
<DbDfnIndexColumn>
|
||||
<Seq>2</Seq>
|
||||
<Name>ProcDate</Name>
|
||||
<Ascend>true</Ascend>
|
||||
</DbDfnIndexColumn>
|
||||
<DbDfnIndexColumn>
|
||||
<Seq>3</Seq>
|
||||
<Name>ProcTime</Name>
|
||||
<Ascend>true</Ascend>
|
||||
</DbDfnIndexColumn>
|
||||
</Columns>
|
||||
</DbDfnIndex>
|
||||
</Indices>
|
||||
</DbDfnTable>
|
||||
<DbDfnTable>
|
||||
|
||||
@@ -375,7 +375,7 @@
|
||||
<Clustered>false</Clustered>
|
||||
<Nullable>false</Nullable>
|
||||
<Pages>1</Pages>
|
||||
<UniqueValues>3</UniqueValues>
|
||||
<UniqueValues>10</UniqueValues>
|
||||
<HasColumns>false</HasColumns>
|
||||
<Columns>
|
||||
<DbDfnIndexColumn>
|
||||
@@ -724,7 +724,7 @@
|
||||
<Clustered>false</Clustered>
|
||||
<Nullable>false</Nullable>
|
||||
<Pages>3</Pages>
|
||||
<UniqueValues>97</UniqueValues>
|
||||
<UniqueValues>98</UniqueValues>
|
||||
<HasColumns>false</HasColumns>
|
||||
<Columns>
|
||||
<DbDfnIndexColumn>
|
||||
@@ -1386,7 +1386,7 @@
|
||||
<Clustered>false</Clustered>
|
||||
<Nullable>false</Nullable>
|
||||
<Pages>1</Pages>
|
||||
<UniqueValues>8</UniqueValues>
|
||||
<UniqueValues>9</UniqueValues>
|
||||
<HasColumns>false</HasColumns>
|
||||
<Columns>
|
||||
<DbDfnIndexColumn>
|
||||
|
||||
Reference in New Issue
Block a user