UFN_AMPROIMPORT_LOOKUPCONSTITUENT
Returns the ID from CONSTITUENT for a person found in AuctionMaestro Pro.
Return
| Return Type |
|---|
| uniqueidentifier |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @LOOKUPID | nvarchar(100) | IN |
Definition
Copy
create function dbo.UFN_AMPROIMPORT_LOOKUPCONSTITUENT
(
@LOOKUPID nvarchar(100)
)
returns uniqueidentifier
as
begin
declare @R uniqueidentifier = null;
select top 1
@R = ID
from dbo.CONSTITUENT
where CONSTITUENT.LOOKUPID = @LOOKUPID
order by DATEADDED;
return @R;
end