add field security
When you want to add field security you add in the data dictionary two additional lines:
In the FIELD VALIDATION:
{gppswd.v &field = "cm_cr_terms"}
In the FIELD VALIDATION MESSAGE:
ERROR: USER DOES NOT HAVE ACCESS TO THIS FIELD. Please re-enter.
You have now another challange. The customer credit terms already contains another validation:
can-find(ct_mstr where ct_code = cm_cr_terms) or cm_cr_te = ""
cm_cr_te is no TYPING ERROR. It is the shortest unique name for this field!!
You have to add the the password validation as the FIRST validation.
Example.
{gppswd.v &field = "cm_cr_terms"} AND (can-find(ct_mstr where ct_code = cm_cr_terms) or cm_cr_te = "")
For the FIELD VALIDATION MESSAGE:
ERROR: CREDIT TERMS CODE MUST EXIST OR BE BLANK. Please re-enter.
Write some new poetry to help you users.
NEXT STEP:
compile adcsmtb.p. Only then will the field security be activated.
LAST STEP:
Fill the field security in the security menu.
______________________
Request
Lookup the value "gppswd.v" in mfgempty.df and check other existing field checks
______________________
Alternative
For each other field in the future use program mgfldcmt.p. This program first step is to check if the field validation is emtpy or if gpcodsec.v (Generalised Code check) is available. If not it follows the next steps:
- unFreezes the table
- Add the validation and error message
- Freezes the table[@more@]
In the FIELD VALIDATION:
{gppswd.v &field = "cm_cr_terms"}
In the FIELD VALIDATION MESSAGE:
ERROR: USER DOES NOT HAVE ACCESS TO THIS FIELD. Please re-enter.
You have now another challange. The customer credit terms already contains another validation:
can-find(ct_mstr where ct_code = cm_cr_terms) or cm_cr_te = ""
cm_cr_te is no TYPING ERROR. It is the shortest unique name for this field!!
You have to add the the password validation as the FIRST validation.
Example.
{gppswd.v &field = "cm_cr_terms"} AND (can-find(ct_mstr where ct_code = cm_cr_terms) or cm_cr_te = "")
For the FIELD VALIDATION MESSAGE:
ERROR: CREDIT TERMS CODE MUST EXIST OR BE BLANK. Please re-enter.
Write some new poetry to help you users.
NEXT STEP:
compile adcsmtb.p. Only then will the field security be activated.
LAST STEP:
Fill the field security in the security menu.
______________________
Request
Lookup the value "gppswd.v" in mfgempty.df and check other existing field checks
______________________
Alternative
For each other field in the future use program mgfldcmt.p. This program first step is to check if the field validation is emtpy or if gpcodsec.v (Generalised Code check) is available. If not it follows the next steps:
- unFreezes the table
- Add the validation and error message
- Freezes the table[@more@]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/443058/viewspace-906796/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- git add all和git add .區別Git
- 4.5.1 add
- MySQL 之 ORDER BY FIELDMySql
- mongoengine.errors.OperationError: Update failed (BSON field ‘no_cursor_timeout‘ is an unknown fieldGoErrorAI
- JavaScript select add()JavaScript
- DataTransferItemList.add()
- 2.3 ADD CREDENTIALSTORE
- 2.2 ADD CHECKPOINTTABLE
- git add errorGitError
- 11-Overview-Field SelectorsView
- copying model and updating field of pydantic
- Field Parameter的設定
- tpextbuilder- Displayers[元件]- FieldUI元件
- TypeScript 裡的 class fieldTypeScript
- Add Strings 字串相加字串
- Leetcode 67 Add BinaryLeetCode
- 撤銷git addGit
- Dockerfile:ADD VS COPYDocker
- 7.11 ADD_MONTHS
- IDBObjectStore.add() 方法Object
- Add Cmder Terminal to PHPStormPHPORM
- 4.5.1.2 srvctl add databaseDatabase
- 4.5.1.3 srvctl add listener
- 4.5.1.4 srvctl add ons
- 4.5.1.1 srvctl add asmASM
- ArrayList宣告,Add(), Insert();
- SAP產品的Field Extensibility
- Neural Radiance Field (NeRF): A Gentle Introduction
- Exercise 5: Field data acquisition and analysisUI
- Add Digits 各位相加Git
- Exchange - Add Owner of Distribution Group
- [LeetCode] 258. Add DigitsLeetCodeGit
- LeetCode 2 Add Two NumbersLeetCode
- git add命令詳解Git
- LinkedList原始碼(add方法)原始碼
- spring data mongo @Field 失效問題SpringGo
- 1364 - Field did doesnt have a default value
- tc39 proposal: Class field declarations
- Unsatisfied dependency expressed through field ‘baseMapper‘ 原因ExpressAPP