UFN_HOLDLIST_GETHOLDS

This function returns a hold list's holds given its ID.

Return

Return Type
table

Parameters

Parameter Parameter Type Mode Description
@HOLDLISTID uniqueidentifier IN

Definition

Copy


        create function dbo.UFN_HOLDLIST_GETHOLDS
    (
      @HOLDLISTID uniqueidentifier
    )
        returns table
        as return
            select
                ID,
        HOLDCODEID,
        QUANTITY
            from
                dbo.HOLD
            where
                HOLDLISTID=@HOLDLISTID;