Skip to main content
fileds :

Status

partsorderlines

I can update the status from Draft to Open only if there are parts order lines. If no lines are associated with should get a validation error saying “this action can’t be performed”
2 个回答
  1. 2021年1月30日 13:54
    HI Rakesh,

    Try below validation rule

    AND (

    ISCHANGED (Status__c),

    ISPICKVAL( PRIORVALUE (Status__c), 'Draft'),

    (ISBLANK(partsorderlines__c))

    )

    Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
0/9000