Commenting some code in CU 12

NaviDevNaviDev Member Posts: 365
If I comment the below code in CU 12, what will be the effect in the system?
IF BankAcc."Currency Code" <> "Currency Code" THEN
      FIELDERROR(
        "Bank Payment Type",
        STRSUBSTNO(
          Text004,
          FIELDCAPTION("Currency Code"),TABLECAPTION,BankAcc.TABLECAPTION));

For your reference why I want to comment this codes, take a look at this topic..

http://www.mibuso.com/forum/viewtopic.php?p=111170#111170

Many Thanks in advance.
Navision noob....

Comments

  • NaviDevNaviDev Member Posts: 365
    Please suggest me. Many thanks...
    Navision noob....
  • Stardust77Stardust77 Member Posts: 95
    I would advice you to not comment this code. [-X

    The purpose of that code is to avoid you to post an amout that is in a specific currency to a bank that is in another currency. In more detail, this should prevent the posting the amount of 100 Euro into a bank account that is in USD.
Sign In or Register to comment.