Ends in:
7 DAYS
19 HRS
5 MIN
47 SEC
Ends in:
7 D
19 H
5 M
47 S

Activities of "nabass"

Answer

i tried this according to response and still not work

<select asp-for="Account.AccountId" class="auto-complete-select" data-autocomplete-api-url="/api/mainAccounting/JournalVoucherLine/GetAccountLookup" data-autocomplete-display-property="items.displayName" data-autocomplete-value-property="items.id" data-autocomplete-items-property="items" data-autocomplete-filter-param-name="filter" data-autocomplete-allow-clear="true"> </select>

Answer

hi API response is correct

But still have no values :(

may be this features won't work on this screen!! my logic is to select (account from & to) (date from & to) then click on (refresh button) and data will show on grid according to what i choose but as you saw account data is huge and i want from user to search and select what he want but no value as i mentioned so is this features just work if there is data on grid (like advanced filter) ???

Answer

hi it is not a simple project it's reports and a lot of logic so i will try to explain step by step 1- i have an (AccountViewModel) & (AccountLookups) in my cs code Account object values is NULL and it is logic because this is first time run the page ----------------------------------------------------------------------------------------------------------------- 2- in this image you will find two examples -- first one (red rectangle) is the normal select and the result is Good as you can see in third image this is the result for (red rectangle) as i mentioned

-- second (yellow rectangle) is what i want to do (auto select) but i got the error (forEach) that i asked for so i want to get API Result to work on it so i want to get lookups values but still can not read it as you see if i used <option selected value="@Model.Account.AccountId">@Model.Account.AccountName</option>

i will get no errors but it won't work because Account Object values is Null as i said and i want lookups which come from API Result

so what should i do ?????????

Answer

on my index there is a new object from Account so result still null for first time so error (forEach is not defined) appear i want to work on the API Result not OnGetAsync Result i have an API (data-autocomplete-api-url="/api/mainAccounting/JournalVoucherLine/GetAccountLookup")

Answer

thanks for efforts and keep going :)

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.

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.

Answer

hi sir i found it but i got a small problem i tried to bind some prop as i mentioned before (img 1) but i got error (img 2) so i used a model (img 3) but it is not working

Answer

i solved it thanks tag must be like this: without (/) <h5>@L["OpeningYearPeriod"].Value</h5>

thanks for efforts

Showing 61 to 70 of 103 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06