Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

taBRBankDepositsHeader Error Description = Input variable contains a negative value

Posted on by 5

How to fix this eConnect error?

Error Number = 7381 Stored Procedure= taBRBankDepositsHeader Error Description = Input variable contains a negative value
Node Identifier Parameters: taBRBankDepositsHeader
CHEKBKID = 409-TRADING
depositnumber = 409-000000142

<taBRBankDepositsHeader>
<DEPDATE>2022-06-01 00:00:00.000</DEPDATE>
<CHEKBKID>409-TRADING</CHEKBKID>
<depositnumber>409-000000142</depositnumber>
<DSCRIPTN>retuen</DSCRIPTN>
<DepAmt>-96.00000</DepAmt>
<MDFUSRID>ap25810</MDFUSRID>
</taBRBankDepositsHeader>

Categories:
  • WA GP Profile Picture
    WA GP 5 on at
    RE: taBRBankDepositsHeader Error Description = Input variable contains a negative value

    Does it mean that taBRBankDepositsHeader does not allow negative depAmt? is there any workaround to pass negative deposit Amount?

  • Lucas Miller Profile Picture
    Lucas Miller on at
    RE: taBRBankDepositsHeader Error Description = Input variable contains a negative value

    Hello,

    Here is the logic in the taBRBankDepositHeader that determines if Error Number 7381 should be returned:

    /********************* check for negative amounts that are invalid *********************/

    if ( (@I_vDepAmt < 0) or

    (@I_vCheckTotal < 0) or

    (@I_vCheckCount < 0) or

    (@I_vCreditCardTotal < 0) or

    (@I_vCreditCardCount < 0) or

    (@I_vCurrencyAmount < 0) or

    (@I_vCurrencyCount < 0) or

    (@I_vCoinAmount < 0) or

    (@I_vXCHGRATE < 0) or

    (@I_vRATEVARC < 0) or

    (@I_vPRVDSLMT < 0) or

    (@I_vDATELMTS < 0) or

    (@I_vRequesterTrx < 0))

    begin

    select @O_iErrorState = 7381 /* Input variable contains a negative value */ /*CHEKBKID depositnumber*/

    These are all input parameters and none of them will default to a negative value.  You will want to look at your call to this stored procedure to see if any of the above parameters being passed with a negative value?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: taBRBankDepositsHeader Error Description = Input variable contains a negative value

    InformTarget.com

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans