"EvaluateText": "CBool(^3`тип накладной^='перевозка') And Not IsNull(LookX(\"Code\",\"qsСпециализация_контрагентов\",\"CodeAgent=\" & ^6`ID склада-отправителя^ & \" And Type='Склад сырья'\"))",
"EvaluateText": "Not IsNull(^1^) And Not IsNull(LookX(\"Code\",\"qsСпециализация_контрагентов\",\"CodeAgent=\" & ^3`ID склада^ & \" And Type='Склад сырья'\"))",
"EvaluateText": "IsNull(^8^) And Not IsNull(LookX(\"Code\",\"qsСпециализация_контрагентов\",\"CodeAgent=\" & ^1`ID склада^ & \" And Type='Склад сырья'\"))",
"EvaluateText": "isMainOfficeBase() Or (Not isMainOfficeBase() And (Not IsReplicaExists(\"^1^\",Nz(^2^,0)) Or (IsReplicaExists(\"^1^\",Nz(^2^,0)) And IsFrendlyRecord(\"Сделка\",\"CodeSdelca\",Nz(^2^,0)))))",
"EvaluateText": "'^1^'<>'наличка' OR '^6^'<>'входящий' OR Date()<=DateAdd('m', 1, Cdate('^4^') - Day('^4^') + Int(DB_Properties('ДСО_РПД'))) OR (^3^<>0 AND '^4^'='^5^' AND '^1^'='^2^' AND '^6^'='^7^') OR CBool(^11^)",
"EvaluateText": "('^1^'='продажа' AND (Date()<=DateAdd('m', 1, Cdate('^4^') - Day('^4^') + Int(DB_Properties('ДСО_РПД'))) OR (^3^<>0 AND '^4^'='^5^' AND '^1^'='^2^') Or CBool(^11^))) ",
"Order": -1,
"ConditionUDPL": 0,
"DateRecordLineCreated": "01/01/11 00:00:00",
"PKg": 191436412,
"PKWhere": 88
},
{
"ConditionID": 3781,
"LicenceRef": 3153,
"EvaluateText": "(Left('^1^',8)='хранение' AND ((^3^=0 And Year(CDate('^4^'))=Year(Date())) Or (^3^<>0 And Year(CDate('^4^'))=Year(LookX(\"DateNacl\",\"Накладные\",\"Code=\" & ^3^,0)))))",
"Order": -2,
"ConditionUDPL": 0,
"DateRecordLineCreated": "01/01/11 00:00:00",
"DateRecordLineChanged": "01/18/12 00:00:00",
"PKg": 191436413,
"PKWhere": 88
},
{
"ConditionID": 3782,
"LicenceRef": 3153,
"EvaluateText": "(Left('^1^',8)<>'хранение' AND Not ('^1^'='продажа' AND ^8^=10))",
"EvaluateText": "CBool(^3`тип накладной^='списание') And LookX('Organization','КОНТРАГЕНТ','CodeAgent=' & ^4`ID контрагента^)='Списано (пересортица)'",
"Order": -1,
"ConditionUDPL": 0,
"DateRecordLineCreated": "01/01/11 00:00:00",
"PKg": 191436417,
"PKWhere": 88
},
{
"ConditionID": 3786,
"LicenceRef": 4704,
"EvaluateText": "CBool(^3`тип накладной^='расход') and isMainOfficeBase()",
"Order": -2,
"ConditionUDPL": 0,
"DateRecordLineCreated": "01/01/11 00:00:00",
"PKg": 191436418,
"PKWhere": 88
},
{
"ConditionID": 3787,
"LicenceRef": 4704,
"EvaluateText": "CBool(^3`тип накладной^='продажа') and GetParam('ОтпускТоваровНаХранении_ИмяПоля')='^8^'",
"Order": -3,
"ConditionUDPL": 0,
"DateRecordLineCreated": "01/01/11 00:00:00",
"PKg": 191436419,
"PKWhere": 88
},
{
"ConditionID": 3788,
"LicenceRef": 4705,
"EvaluateText": "(^2`утвержден ли^ = -1) Or (^2`утвержден ли^ = 0 And '^1`действие^' = 'удаление') Or ('^1`действие^' = 'добавление')",
"Order": 0,
"ConditionUDPL": 0,
"DateRecordLineCreated": "01/01/11 00:00:00",
"PKg": 191436420,
"PKWhere": 88
},
{
"ConditionID": 3789,
"LicenceRef": 4705,
"EvaluateText": "(^4`разрешатель^ = -1) Or ((^3`свой ДСО^ = -1) And (^5`оператор базы^ = -1))",
"Order": 0,
"ConditionUDPL": 0,
"DateRecordLineCreated": "01/01/11 00:00:00",
"PKg": 191436421,
"PKWhere": 88
},
{
"ConditionID": 3790,
"LicenceRef": 4705,
"EvaluateText": "^7`реплицирован^ = -1 Or '^1`действие^' = 'добавление'",
"Order": 0,
"ConditionUDPL": 0,
"DateRecordLineCreated": "01/01/11 00:00:00",
"DateRecordLineChanged": "03/18/11 00:00:00",
"PKg": 191436422,
"PKWhere": 88
},
{
"ConditionID": 3791,
"LicenceRef": 4706,
"EvaluateText": "(^2`утвержден ли^ = -1) Or (^2`утвержден ли^ = 0 And '^1`действие^' = 'удаление') Or ('^1`действие^' = 'добавление')",
"Order": 0,
"ConditionUDPL": 0,
"DateRecordLineCreated": "01/01/11 00:00:00",
"PKg": 191436423,
"PKWhere": 88
},
{
"ConditionID": 3792,
"LicenceRef": 4707,
"EvaluateText": "(^2`утвержден ли^ = -1) Or (^2`утвержден ли^ = 0 And '^1`действие^' = 'удаление') Or ('^1`действие^' = 'добавление')",
"Order": 0,
"ConditionUDPL": 0,
"DateRecordLineCreated": "01/01/11 00:00:00",
"PKg": 191436424,
"PKWhere": 88
},
{
"ConditionID": 3793,
"LicenceRef": 4707,
"EvaluateText": "(^4`разрешатель^ = -1) Or ((^3`свой ДСО^ = -1) And (^5`оператор базы^ = -1))",
"Order": 0,
"ConditionUDPL": 0,
"DateRecordLineCreated": "01/01/11 00:00:00",
"PKg": 191436425,
"PKWhere": 88
},
{
"ConditionID": 3794,
"LicenceRef": 4708,
"EvaluateText": "(isMainOfficeBase() And Not CBool(^8^)) Or (CBool(^8^) And (Date()<=DateAdd('m', 1, Cdate('^4^') - Day('^4^') + Int(DB_Properties('ДСО_РПД'))) OR (^3^<>0 AND '^4^'='^5^' AND CBool(^1^)=CBool(^2^)) OR CBool(^11^)))",
"EvaluateText": "IsMainOfficeBase() OR LookX(\"CodeAgent\",\"DepartmentsAugust1\",\"CodeAgent=^5^\",0) =0 OR CurrentUser() Like 'ИвановаНВ' OR CurrentUser() Like 'Тест*'",
"EvaluateText": "(^12`тип документа^=1) And Not ((\"^14`дата документа^\"=\"Null\") Or (\"^15`срок действия документа^\"=\"Null\") Or IsNull(^16`исполнитель^)) And ((^11`доп.статус^=1) Or ((^11`доп.статус^=2) And (\"^18`отступление^\")<>\"Null\"))",
"EvaluateText": "(^12`тип документа^=3) And Not ((\"^14`дата документа^\"=\"Null\") Or (\"^15`срок действия документа^\"=\"Null\") Or IsNull(^16`исполнитель^)) And (^11`доп.статус^=3)",