Announcement

Collapse
No announcement yet.

Pricing tables & IfThen formula help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Pricing tables & IfThen formula help

    Hi

    Very new to Espo, so very much still learning the ropes.

    I'm looking to build in pricing for services under 'cases'. Ideally, I'd like some sort of lookup table, whereby we input the type of service, and the supplier and customer prices auto populate.

    Any ideas on how to achieve that? I've seen the Sales Pack extension, but we don't need any other functionality - just the pricing for services provided.

    As I couldn't fathom where to begin with a pricing table, I started exploring formulas to auto populate the fields instead, but am getting nowhere. Here's what I've tried:

    Code:
    ifThen(
    type == UFPLS, estCaseFee == '200'
    );​​
    Where am I going wrong?

    Thanks.

  • #2
    it should be like below

    PHP Code:
    if (type == 'UFPLS') {
        
    estCaseFee 200;
    }
    ​ 

    Comment

    Working...
    X