|
<< Click to Display Table of Contents >> Navigation: iVend Database Database > Stored Procedures > Loy_GetLayawayPlanKey Stored Procedure |
Navigation: iVend Database Database > Stored Procedures >
iVend 6.6 Database Help
Loy_GetLayawayPlanKey Stored Procedure
Collapse All Expand All
iVend Database Database : Loy_GetLayawayPlanKey Stored Procedure |
Properties
Creation Date |
4/13/2015 12:00 PM |
Encrypted |
|
Ansi Nulls |
|
Parameters
Parameter |
Direction |
Description |
Data Type |
Size |
@TransactionItemKey |
In |
|
VarWChar |
50 |
@RETURN_VALUE |
Return Value |
|
Integer |
4 |
Objects that Loy_GetLayawayPlanKey depends on
|
Database Object |
Object Type |
Description |
Dep Level |
|
Table |
Store layway type of transactions. |
1 |
|
|
Table |
Stores sale/refund/delivery items attached to a transaction |
1 |
Procedure Source Code
-- ============================================= -- Author: Jitesh Kumar -- Create date: 08 Jan 2010 -- Description: Get layaway plan key -- ============================================= CREATE PROCEDURE [dbo].[Loy_GetLayawayPlanKey] @TransactionItemKey nvarchar(50) AS BEGIN SELECT LayawayPlanKey FROM TrxTransactionSaleItem A, TrxTransactionLayaway B Where A.OriginalDocumentKey = B.TransactionKey And A.OriginalDetailKey = B.TransactionLayawayKey And A.Type = 5 AND A.TransactionItemKey = @TransactionItemKey END |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.