RepReplicationTransaction Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

RepReplicationTransaction Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

RepReplicationTransaction Table

Collapse All Expand All

iVend Database Database : RepReplicationTransaction Table

Description

Stores the Transaction details for them the data needs to be replicated

Properties

Creation Date

4/13/2015 12:00 PM

File Group

PRIMARY

Text File Group

 

System Object

dbimages_boolean-false

Published for Replication

dbimages_boolean-false

Rows

217

Data Space Used

32.00 KB

Index Space Used

120.00 KB

Columns

 

Column Name

Description

Datatype

Length

Allow Nulls

Default

Formula

Primary Key

ReplicationTransactionKey

System Generated Primary key of the Table.

VarWChar

50

 

 

 

 

SourceType

Refers to the Object Id of the record to be replicated.

Integer

4

 

 

 

 

SourceKey

Refers to the Primary Key of the record to be replicated.

VarWChar

50

 

 

 

 

BatchKey

Refers to the Batch Key of the record to be replicated.

VarWChar

50

 

 

 

 

OperationType

Refers to the Operation Type of the record to be replicated. Add -0, Edit -1, Soft delete - 2, Hard Delete - 3

SmallInt

2

 

 

 

 

Flag

Refers to the flag of the record to be replicated.

Boolean

1

 

 

 

 

StoreId

Refers to the Site Id of the record to be replicated.

VarWChar

50

dbimages_tick

 

 

 

FromSBO

Refers to whether the record originated from SBO.

Boolean

1

dbimages_tick

 

 

 

Sender

For future use

VarWChar

50

dbimages_tick

 

 

 

Receiver

For future use

VarWChar

50

dbimages_tick

 

 

 

SeqenceNo

Refers to the Sequence in which replication record was created.

BigInt

8

 

 

 

 

ProcessDate

Refers to the date time when the record was created.

DBTimeStamp

4

dbimages_tick

([dbo].[GetCompanyDateTime]())

 

 

SendDumpSequenceNumber

Sequence number for the Replication. Do not update or modify.

BigInt

8

dbimages_tick

 

 

Indexes

Index

Description

Primary

Unique

IX_RepReplicationTransaction

 

 

 

IX_RepReplicationTransaction_1

 

 

 

IX_RepReplicationTransaction_2

 

 

 

PK_ReplicationTransaction

 

dbimages_tick

dbimages_tick

Triggers

Trigger

Description

Trg_ReplicationTransactionMobile

 

Objects that depend on RepReplicationTransaction

 

Database Object

Object Type

Description

Dep Level

AssignTill procedure

AssignTill

Stored Procedure

Assigns a Till to the selected POS

1

CancelStockTransfer procedure

CancelStockTransfer

Stored Procedure

 

1

ClearOfflinePOSData procedure

ClearOfflinePOSData

Stored Procedure

 

1

DataNotification procedure

DataNotification

Stored Procedure

 

1

DeleteSuspendedTransactionDetails procedure

DeleteSuspendedTransactionDetails

Stored Procedure

 

1

GetNextDocumentNumberForPOS procedure

GetNextDocumentNumberForPOS

Stored Procedure

Generates the next Transaction Number depending on the Parameters provided

1

Integration_InventoryItemPrice procedure

Integration_InventoryItemPrice

Stored Procedure

 

1

InvWarehouseInventoryLocation procedure

InvWarehouseInventoryLocation

Stored Procedure

 

1

LogAuditInformation procedure

LogAuditInformation

Stored Procedure

 

1

RemoveTill procedure

RemoveTill

Stored Procedure

Removes a Till from the selected POS

1

ReplicationRecordsToSend procedure

ReplicationRecordsToSend

Stored Procedure

 

1

Trg_RepNotification trigger

Trg_RepNotification

Trigger

 

1

TrgSBOBatchUpdate trigger

TrgSBOBatchUpdate

Trigger

Handles updates made to Batch table from ERP system (Business One in this case)

1

TrgSBOInventoryUpdate trigger

TrgSBOInventoryUpdate

Trigger

Handles updates made to item inventory in the ERP system (Business One in this case)

1

TrgSBOSerialUpdate trigger

TrgSBOSerialUpdate

Trigger

Handles updates made to Serial table from ERP system (Business One in this case)

1

TrxCompleteTransactionUpdates procedure

TrxCompleteTransactionUpdates

Stored Procedure

 

1

TrxGenerateLayawayInstallments procedure

TrxGenerateLayawayInstallments

Stored Procedure

Generates Layaway installments for the Layaway transaction

1

TrxGenerateLayawayInstallmentsForSaleLevel procedure

TrxGenerateLayawayInstallmentsForSaleLevel

Stored Procedure

Generates Layaway installments for the Layaway transaction

1

TrxHandleARPayments procedure

TrxHandleARPayments

Stored Procedure

Handles updates related to On Account payments

1

TrxInventoryUpdateLaybyCancellationItem procedure

TrxInventoryUpdateLaybyCancellationItem

Stored Procedure

 

1

TrxInventoryUpdateLaybyItem procedure

TrxInventoryUpdateLaybyItem

Stored Procedure

 

2

TrxInventoryUpdateOrder procedure

TrxInventoryUpdateOrder

Stored Procedure

Handles updates related to Order item

1

TrxInventoryUpdateQuotation procedure

TrxInventoryUpdateQuotation

Stored Procedure

Handles updates related to Quotation item

1

TrxInventoryUpdateSaleDelivery procedure

TrxInventoryUpdateSaleDelivery

Stored Procedure

Handles updates related to delivery of a Sale item

1

TrxInventoryUpdatesSaleRefund procedure

TrxInventoryUpdatesSaleRefund

Stored Procedure

Handles updates related to On Account payments

1

TrxUpdateCustomerBalance procedure

TrxUpdateCustomerBalance

Stored Procedure

 

1

UpdateTillAmounts procedure

UpdateTillAmounts

Stored Procedure

Handles updates to Till once payment against a transaction has been taken

1

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[RepReplicationTransaction](

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

[SourceType] [int] NOT NULL,

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

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

[OperationType] [smallint] NOT NULL,

[Flag] [bit] NOT NULL,

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

[FromSBO] [bit] NULL,

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

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

[SeqenceNo] [bigint] IDENTITY(1,1) NOT NULL,

[ProcessDate] [datetime] NULL,

[SendDumpSequenceNumber] [bigint] NULL,

CONSTRAINT [PK_ReplicationTransaction] PRIMARY KEY CLUSTERED

(

[ReplicationTransactionKey] 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].[RepReplicationTransaction] ADD CONSTRAINT [DF_RepReplicationTransaction_ProcessDate] DEFAULT ([dbo].[GetCompanyDateTime]()) FOR [ProcessDate]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.