<< Click to Display Table of Contents >> Navigation: iVend Database Database > User Defined Functions > usp_InvInventoryItem_Condition User Defined Function |
Navigation: iVend Database Database > User Defined Functions >
iVend 6.6 Database Help
usp_InvInventoryItem_Condition User Defined Function
Collapse All Expand All
iVend Database Database : usp_InvInventoryItem_Condition User Defined Function |
Properties
Creation Date |
12/14/2015 3:17 PM |
Encrypted |
|
Ansi Nulls |
Parameters
Parameter |
Direction |
Description |
Data Type |
Size |
@RETURN_VALUE |
Return Value |
|
VarWChar |
1073741823 |
Objects that usp_InvInventoryItem_Condition depends on
|
Database Object |
Object Type |
Description |
Dep Level |
Table |
Stores the site information. Enterprise always has the site id as 1. System Table Warning : Should not be modified directly |
1 |
||
Table |
Contains the details of Stores defined in the system. |
1 |
Procedure Source Code
CREATE FUNCTION [dbo].[usp_InvInventoryItem_Condition]() RETURNS nvarchar(max) AS BEGIN -- Declare the return variable here DECLARE @condition nvarchar(max) -- Add the T-SQL statements to compute the return value here Select @condition = WarehouseKey From dbo.RtlStore Inner Join CfgSiteInformation On RtlStore.SiteId = CfgSiteInformation.SiteId -- Return the result of the function RETURN 'dbo.InvInventoryItem.WarehouseKey =' + @condition END |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.