is abp provide a way to do this logic: if i have some of pages for example (JournalVoucher / FiscalYear / lines / Money / Accounting) and if i want to insert new record within JournalVoucher so i must first to insert records within rest of pages as JournalVoucher depends on them and all these pages into on createModel (thanks to <abp-tap> ) so my logic is to set for user number01 a permission for JournalVoucher and if he open createModel to insert new record is there a way to give him a permission for rest of pages (FiscalYear / lines / Money / Accounting) automatically
Thank you ,I appreciate your quick response.
hi sir, according to this documentation https://docs.abp.io/en/abp/latest/Authorization part of ( IPermissionManager ) i tried to use it but i cant reach the method {SetForUserAsync} is there an update documentation to use it ??? here is some image of my code
I want to handle permission of SalesOrderAppService which handle the transaction screen, and if user allow only SalesOrder.Create in permission how i enable second service "SalesOrderLookupAppService" automatically from code.
I would like to ask about the best practice of this scenario: i have a transaction screen has many lookups bind to dropdowns , which way is better for reusability and maintenance of code , **first **: make App service for each entity of lookup Data ,but i have problem with this solution because i have to inject all services of lookups in transaction screen and this make the screen slower **second **: put all functions of lookups in the app service which is responsible of the transaction screen(this is the way of suite generate page) ,but if i make new transaction screen use this lookups i have to put the same code of get lookups in App service of new transaction screen **third **:make lookup App service and put all functions of lookups in it ,then inject this lookupAppService in transaction screen.
for example : - sales order transaction screen ,has currency lookup and Status Lookup and etc... -Purchase order screen ,has the same lookup dropdown currency lookup and Status Lookup and etc..
hi sir in my logic i must put more than page into one view so i used (taps) and it works well as image-1 but i faced a small problem in page title header if i put a title as image-2 it will be always same title (Account Level) so what should i put to make it dynamic?? Example: if i click to account page title will change to (Account) else if clicked on Account Type title will change to (Account Type) ..... etc
hi sir i have a small problem using InitialSelect2 function when i try the code without red rectangle scope it works good save the record correctly and when i repute the scope it gives me the shape which exactly i want (green rectangle) but save button will stop why ?? no errors on log no exception no nothing just click on save nothing happen if i remove the red scope it works good i don't know where is the error
Good Morning hope you are well i have a question about handling business exception when i enter the page index it gives me an error (image below) despite i tried it the same code same steps same functionality into create popup it works good so does framework support this type of exception when i open the index or just work within create or edit?