Stored Procedures [dbo].[MssWebCreateInternationalLiftVan]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@inOrdersFIDint4
@inInternationalContainerFIDint4
@inInternationalLiftVanStatusFIDint4
@inLiftVanNumbervarchar(32)32
@inPiecesint4
@inGrossWeightint4
@inTareWeightint4
@inNetWeightint4
@inSealNumbervarchar(32)32
@inCubicFeetint4
@inLengthint4
@inWidthint4
@inHeightint4
Permissions
TypeActionOwning Principal
GrantExecuteMssExec
SQL Script
CREATE PROCEDURE [dbo].[MssWebCreateInternationalLiftVan]
    @inOrdersFID int,
    @inInternationalContainerFID int,
    @inInternationalLiftVanStatusFID int,
    @inLiftVanNumber varchar(32),
    @inPieces int,
    @inGrossWeight int,
    @inTareWeight int,
    @inNetWeight int,
    @inSealNumber varchar(32),
    @inCubicFeet int,
    @inLength int,
    @inWidth int,
    @inHeight int
as
begin

    set nocount on
    
    declare @id int
    
    insert into InternationalLiftVan
    (
        OrdersFID,
        InternationalContainerFID,
        InternationalLiftVanStatusFID,
        LiftVanNumber,
        Pieces,
        GrossWeight,
        TareWeight,
        NetWeight,
        SealNumber,
        CubicFeet,
        [Length],
        Width,
        Height
    )
    select
        @inOrdersFID,
        @inInternationalContainerFID,
        @inInternationalLiftVanStatusFID,
        @inLiftVanNumber,
        @inPieces,
        @inGrossWeight,
        @inTareWeight,
        @inNetWeight,
        @inSealNumber,
        @inCubicFeet,
        @inLength,
        @inWidth,
        @inHeight

    set @id = SCOPE_IDENTITY()

    select @id

end
GO
GRANT EXECUTE ON  [dbo].[MssWebCreateInternationalLiftVan] TO [MssExec]
GO
Uses