Change display of a textblock in document according the value of a field in BP master data

Hello everyone,
Can anyone help me with this need.
In the layout of document (Invoice), I want to alternate/change the display of the textblock (like the payment terms text) put on the layout, according to an UDF value (U_Mention) in the BP master data.

So the text is big, I don't want to manage it in "SWA_LD_TXT - text" but directly in the layout.

Kind regards
Difah

0

Comments

1 comment
  • Hi Difah,

    you coud use IIF

    IIF(if,then,else) / 

    IIF(UDF = "Y", GetData("LD.Txt.T00000"), GetData("LD.Txt.T11111"))

    regards Lothar

    0
    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post