REPORT FOR
LABEL, NUMBERSEQ, MENUITEM FILTER, SECURITY AND RULE
Trainee: Song Thanh Nghia
Trainee: Song Thanh Nghia
REPORT FOR LABEL, NUMBERSEQ, MENUITEM FILTER,
SECURITY AND RULE
1.
Filter Label
·
Create
a file label
·
Create
a language for label, this label will assign in your project when you choose
correct languages in label fie and language system.
·
Create
label Id and set text for every languages you choose in
·
Set
language in AX for assign
·
Get
id Label and assign value
·
Join
Source with 2 table in datasource
·
Create
new MenuItemButton in form employee and set datasource
·
Create
new query with two table
·
Assign
query to datasource of form detail
·
In
form call, create new menuitembutton and menuitembuttonname: “This is menu item
form”
·
This
is result
·
Firstthing,
choose a module you want to assign a variable, in project I choose a HumanResource
Paramater in this choose class :
“NumberSeqModuleHRM”
·
Then
insert some code in method: “LoadModule” here to setup a new numberSquence
·
In
table content in module create new method: “numRefStnIdSalary”
·
Insert
code in declaration of form a class and insert method of form to handle
datasource
·
In
method of datasourceform, create a method to control numberSeq
·
Create
a job to assign new numSeq to table HRMparamater
·
You
can see label of EDT
·
Then
add a number Seq code this is format of EDT
-
You should to know what numberSel is: share, company,legel…. Then
assign in EDT, If it done match you can assign.
·
Then
you done.
·
Create
a permission with form and button in form. With 4 offtion: update, creat,
delete, read
·
Create
privilege to set permissions
-
In
this, entry points to set a form to view and assign.
·
Assign
security for user
-
Find
user in this, and import user or edit rule user.
-
Assign
security
·
Some
assign rule I demo
-
Hidden
a fields: Adds
-
Set
rule: Read
-
Set
rule: Update
-
Set
rule: Create
-
Set
rule: Delete
No comments:
Post a Comment