Skip to Content
author's profile photo Former Member
Former Member

Selection formula to choose between 5 data fields

Good day

i need some help with a selection formula to select description from 5 different tables. once a user selects a transaction i need the formula to match it with the correct subledger and then using that it gives the description as of that subledger.

i.e.

Purchase order - description

inventory control - description

General ledger - description

Accounts payable - description

so if the transaction is coming from purchase order it should select the description as per the purchase order

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 26, 2016 at 09:23 AM

    Hi Taps,

    So, you have 5 different tables and you know from which table the transaction is happening, If not how will you identify which transaction it is ?

    You should have some flag or field to identify the transaction type, then you can write below formula.

    If {Transaction} = 'Purchase' Then {PurchseTable.description}

    Else

    If {Transaction} = 'Inventory' Then {inventory control.description}

    Else

    If {Transaction} = 'Generalledger' Then {General ledger.description}

    Else

    If {Transaction} = 'Accounts' Then {Accounts payable.description}


    Thanks,

    Sastry

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.