Monday 8 April 2019

Set Multiple fields readonly

from psdi.mbo import MboConstants
fields = ['DESCRIPTION','ITEMTYPE', 'ORDERUNIT']
itemMbo.setFieldFlag(fields, MboConstants.READONLY,False)

1 comment:

  1. Hello Abdul....one question? can I use this together with a condition e.g. if a field X is not null then make these fields required? thanks and Regards

    ReplyDelete