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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Add a Field To New Condition Table in Pricing
- java反射——FieldJava反射
- MySQL 之 ORDER BY FIELDMySql
- yebis error ---depth of fieldError
- add exttrail 和add rmttail總結AI
- TypeScript 裡的 class fieldTypeScript
- tpextbuilder- Displayers[元件]- FieldUI元件
- ABAP指標field symbol!指標Symbol
- git add all和git add .區別Git
- mongoengine.errors.OperationError: Update failed (BSON field ‘no_cursor_timeout‘ is an unknown fieldGoErrorAI
- jQuery add()jQuery
- Security
- 11-Overview-Field SelectorsView
- Lucene原始碼解析--Field類原始碼
- DataTransferItemList.add()
- git add errorGitError
- Oracle SecurityOracle
- DB SECURITY
- SAP產品的Field Extensibility
- sqlldr Field in data file exceeds maximum lengthSQL
- JavaScript select add()JavaScript
- 4.5.1.1 srvctl add asmASM
- 4.5.1.2 srvctl add databaseDatabase
- Dockerfile:ADD VS COPYDocker
- 撤銷git addGit
- spring data mongo @Field 失效問題SpringGo
- Unsatisfied dependency expressed through field ‘baseMapper‘ 原因ExpressAPP
- FAQ:Field DATABASE does not exist; see long textDatabase
- Rails Security (上)AI
- Spring SecuritySpring
- SDN security papers
- WS-Security
- oracle audit and securityOracle
- Security Authorizations (247)
- Spring Security原始碼分析八:Spring Security 退出Spring原始碼
- IDBObjectStore.add() 方法Object
- git add命令詳解Git
- Add Strings 字串相加字串