Page 1 of 1

Neg Stock plugin. usp_Negative_Stock_Sales_SalesTransfers

PostPosted: Fri Mar 11, 2016 4:42 pm
by DannyC
Hi,

With regards to the negative stock plugin, what is the purpose of the stored procedure usp_Negative_Stock_Sales_SalesTransfers?

I can't find it getting used anywhere.

Cheers

Re: Neg Stock plugin. usp_Negative_Stock_Sales_SalesTransfer  Topic is solved

PostPosted: Sat Mar 12, 2016 1:12 pm
by Mike.Sheen
DannyC wrote:Hi,

With regards to the negative stock plugin, what is the purpose of the stored procedure usp_Negative_Stock_Sales_SalesTransfers?

I can't find it getting used anywhere.

Cheers


By looking at the signature, it is intended for a report as it follows a menu report convention for parameter naming:

Code: Select all
CREATE PROCEDURE usp_Negative_Stock_Sales_SalesTransfers @SP_StartInvoiceNo VARCHAR(50) = NULL, @SP_EndInvoiceNo VARCHAR(50) = NULL,
             @SP_StartInvoiceDate DATETIME = NULL, @SP_EndInvoiceDate DATETIME = NULL,
             @SP_StartDebtorAccountNo VARCHAR(50) = NULL, @SP_EndDebtorAccountNo VARCHAR(50) = NULL


We don't have a report which uses it - I'm assuming at some point it was wanted then someone changed their mind.

Re: Neg Stock plugin. usp_Negative_Stock_Sales_SalesTransfer

PostPosted: Mon Mar 14, 2016 3:09 pm
by DannyC
OK. Thx for the clarification.