record level Security in ax

hi all,

how can i use record level Security in ax when multi user access a from and any user want to see records that yourself enter in form

for example in sale order form multi user access the form SalesTable and Create New Record But i want to show any Record to user that Save & create It

thanks .

Hi jm,

if your issue is regarding the records that should be visible to the user who created those records… in sales table form…

write this code in init() method of form after super()…

salestable_ds.query().dataSourceTable(tablenum(salestable)).addRange(fieldnum(salestable, createdby)).value(queryValue(curuserid()));

this might help you…