Stored Procedures [dbo].[GenerateAccountingBatches_Legacy]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)Direction
@inBatchDescriptionnvarchar(64)128
@inBatProcessAcctTransctionsMapBATProcessAcctTransactionsmax
@inSubmittedBySysUserIdint4
@inSendToAccountingSystembit1
@outErrorCodeint4Out
@outXLedgerJournalEntryBatchIdint4Out
Permissions
TypeActionOwning Principal
GrantExecuteMssExec
SQL Script
/**
* Don't use this stored proc directly but instead use GenerateAccountingBatches_Synonym.
* GenerateAccountingBatches_Synonym will either point to this view or to
* GenerateAccountingBatches_XLedger otherwise.
*/

CREATE PROCEDURE [dbo].[GenerateAccountingBatches_Legacy]
    @inBatchDescription nvarchar(64),
    @inBatProcessAcctTransctionsMap BATProcessAcctTransactions readonly,
    @inSubmittedBySysUserId int,
    @inSendToAccountingSystem bit = 1,
    @outErrorCode int output,
    @outXLedgerJournalEntryBatchId int output
as
begin
    set nocount on

    -- NoOpp for all legacy systems.
    select
        @outErrorCode = 0,
        @outXLedgerJournalEntryBatchId = null

end
GO
GRANT EXECUTE ON  [dbo].[GenerateAccountingBatches_Legacy] TO [MssExec]
GO
Uses
Used By