TrxTransactionStageApprovalLog Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

TrxTransactionStageApprovalLog Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

TrxTransactionStageApprovalLog Table

Collapse All Expand All

iVend Database Database : TrxTransactionStageApprovalLog Table

Description

Stores the Approval log for the transactions.

Properties

Creation Date

6/5/2015 5:11 PM

File Group

PRIMARY

Text File Group

 

System Object

dbimages_boolean-false

Published for Replication

dbimages_boolean-false

Rows

0

Data Space Used

0.00 KB

Index Space Used

0.00 KB

Columns

 

Column Name

Description

Datatype

Length

Allow Nulls

Default

Formula

Primary Key

TransactionStageApprovalLogKey

Primary key for the table

VarWChar

50

 

 

 

 

TransactionKey

Reference key for the Transaction. See TrxTransaction

VarWChar

50

dbimages_tick

 

 

 

SourceKey

Value is the Transaction key of the transaction on which the authorization is performed

VarWChar

50

dbimages_tick

 

 

 

SourceDetailKey

Value is the key for the line item on which authorization is performed

VarWChar

50

dbimages_tick

 

 

 

ConditionType

Value is the condition for the authorization can be done. Valid Values are:

CreditLimitOverride = 1,

ReprintTransactionReceipt = 2,

ChangeSalePersonInSpecialOrderEdit = 3,

ChangeSalePersonInRefund = 4,

DeletingSuspendedTransaction = 5,

VoidSale = 6,

VoidItem = 7,

TransactionModeChange = 8,

CustomerSearch = 9,

ProductSearch = 10,

SaleInformationEdit = 11,

ItemInformationEdit = 12,

TransactionSearch = 13,

Fulfillment = 14,

ReturnProductAfterReturnDateExpired = 15,

SuspendRecall = 16,

ProductSurchargeWaiverWhileReturn = 17,

PaymentCancellation = 19,

TransactionRefund = 20,

TransactionTotalGreaterThan = 21

Integer

4

dbimages_tick

 

 

 

StoreKey

Reference Key for the Store. See RtlStore

VarWChar

50

dbimages_tick

 

 

 

POSKey

Reference Key for the POS. See RtlPos

VarWChar

50

dbimages_tick

 

 

 

OriginatorUserKey

Reference Key for the CfgStageApprover.

VarWChar

50

dbimages_tick

 

 

 

ApproverUserKey

Reference key for the Approver. See the CfgStageApprover.

VarWChar

50

dbimages_tick

 

 

 

Comment

Value is the comment entered by the approver.

VarWChar

2000

dbimages_tick

 

 

 

IsApproved

Value is true if the stage has been approved.

Boolean

1

dbimages_tick

((0))

 

 

StageKey

Reference Key for the Stage. See CfgStage

VarWChar

50

dbimages_tick

 

 

 

ApprovalDate

Value is the date on which the approval has been done.

DBTimeStamp

4

dbimages_tick

 

 

 

Created

Date of creation of this record

DBTimeStamp

4

 

 

 

 

CreatedBy

Reference of user who has created this record. See also Security User

VarWChar

50

 

 

 

 

Modified

Date of last modification of this record

DBTimeStamp

4

 

 

 

 

ModifiedBy

Reference of user who has modified this record. See also Security User

VarWChar

50

 

 

 

 

IsDeleted

Value is True if the record has been deleted from the system. Record is always Soft Deleted

Boolean

1

 

 

 

 

StageAuthorizationTemplateKey

Reference Key for the Stage authorization template. See CfgStageTemplateAuthorization

VarWChar

50

 

 

 

Indexes

Index

Description

Primary

Unique

IX_TrxTransactionStageApprovalLog

 

 

 

PK_TrxTransactionStageApprovalLog

 

dbimages_tick

dbimages_tick

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[TrxTransactionStageApprovalLog](

[TransactionStageApprovalLogKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[TransactionKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[SourceKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[SourceDetailKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[ConditionType] [int] NULL,

[StoreKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[POSKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[OriginatorUserKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[ApproverUserKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[Comment] [nvarchar](2000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[IsApproved] [bit] NULL,

[StageKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[ApprovalDate] [datetime] NULL,

[Created] [datetime] NOT NULL,

[CreatedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[Modified] [datetime] NOT NULL,

[ModifiedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[IsDeleted] [bit] NOT NULL,

[StageAuthorizationTemplateKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

CONSTRAINT [PK_TrxTransactionStageApprovalLog] PRIMARY KEY CLUSTERED

(

[TransactionStageApprovalLogKey] ASC

)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]

) ON [PRIMARY]

ALTER TABLE [dbo].[TrxTransactionStageApprovalLog] ADD CONSTRAINT [DF_TrxTransactionStageApprovalLog_IsApproved] DEFAULT ((0)) FOR [IsApproved]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.