local pr := CHOICEREFR( 'R10', "GRPRECORD( 'KOD' )", { 'KOD', 'PNAME' }, 'LEFT( CODEGROUP, 2 ) = "02"', ~Title := "Выберите производства:" ) if EMPTY( pr ) result := [] return endif if VALTYPE( pr ) = 'N' pr := { pr } endif
CHOICEREFR