
[dbo].[MssWebRemoveLocalServiceOriginDestinationLocation]
create procedure [dbo].[MssWebRemoveLocalServiceOriginDestinationLocation]
@inOrderId int,
@inLocalServiceId int,
@inLocationId int
as
begin
set nocount on
update LocServ
set OriginOrderLocationFID = null
where LocServ.OrdPriKey = @inOrderId and LocServ.PriKey =@inLocalServiceId and LocServ.OriginOrderLocationFID = @inLocationId;
update LocServ
set DestinationOrderLocationFID = null
where LocServ.OrdPriKey = @inOrderId and LocServ.PriKey =@inLocalServiceId and LocServ.DestinationOrderLocationFID = @inLocationId;
end
GO
GRANT EXECUTE ON [dbo].[MssWebRemoveLocalServiceOriginDestinationLocation] TO [MssExec]
GO