Integration_TransactionAttribute Stored Procedure

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Stored Procedures >

Integration_TransactionAttribute Stored Procedure

Navigation: iVend Database Database > Stored Procedures >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

Integration_TransactionAttribute Stored Procedure

Collapse All Expand All

iVend Database Database : Integration_TransactionAttribute Stored Procedure

Properties

Creation Date

4/13/2015 12:00 PM

Encrypted

dbimages_boolean-false

Ansi Nulls

dbimages_boolean-true

Parameters

Parameter

Direction

Description

Data Type

Size

@TransactionKey

In

transaction key for which the various transactions that needs to be pulled FROM iVend

VarWChar

50

@RETURN_VALUE

Return Value

 

Integer

4

Objects that Integration_TransactionAttribute depends on

 

Database Object

Object Type

Description

Dep Level

CfgSaleAttribute table

CfgSaleAttribute

Table

Stores the sales attributes (Added information that can be attached to each transaction at POS) created in the system. Maximum of 10 attributes are allowed to be created.

1

TrxTransactionSaleAttribute table

TrxTransactionSaleAttribute

Table

Stores the Sale attribute details for the transaction

1

Procedure Source Code

CREATE PROCEDURE [dbo].[Integration_TransactionAttribute]

@TransactionKey NVARCHAR(50)

AS

BEGIN

SET NOCOUNT ON;

SELECT  A.AttributeValue, B.IntegratedFieldName FROM TrxTransactionSaleAttribute A

INNER JOIN CfgSaleAttribute B ON A.SaleAttributeKey = B.SaleAttributeKey

AND   B.IsIntegrated = 'TRUE'

WHERE A.TransactionKey = @TransactionKey

END

--EXEC [Integration_TransactionAttribute] 10000000000057

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.