Atividades de "nabass"

Responder

Hi Thanks for responding But i already did it in the last 2 imgs and have an error implementing interface

Responder

It's a composite key Did you mean i must delete it from route ?? If i delete it it still have an unused route with Culture Id

Pergunta

i hope i can explain my big problem hi sir, i am trying to do update method in a composite key class here is my steps with some attachment: hope you can help me 1- created class (createUpdateDto) 2- put my key into it 3- create an interface 4- create service 5- create controller (i know abp gives me auto controller but i should do it because i have more than module)

i faced problem when trying to update in swagger (error 400) The value '{documentStatusId}' is not valid for DocumentStatusId. i cached the problem in routing he says unused route parameter like image below so i fixed it inject int documentStatuesId and string cultureId and error is gone but interface says i must generate method exactly right my interface see picture and you will understand me thank

  • ABP Framework version: v8
  • UI Type:MVC
  • Database System: EF Core (SQL Server)
  • UI Type:MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue: I have Two Tenants and rule Action Button is disabled and in console i have this Error Failed to load ApplicationConfigurationScript
Responder

i already did it and all is good

Pergunta

hi sir, i have a big problem now i made a query and used jsTree to make tree view and it works good but it works for just one level what i mean is one parent has 2 child what if one of these child is parent for another child what should i do? i want to make a view like image 1 and this is my query which is working good but just for one level of parent like image 2 is ABP support this feature and has a documentation link to do that or not??

ALTER PROCEDURE [dbo].[GetAccountTreeStructure2] AS BEGIN SET NOCOUNT ON;

WITH RecursiveCTE AS (
    -- Anchor member: Select root nodes (accounts with no parent)
    SELECT
        A.Id,
        A.AccountName AS ChildName,
        A.ParentAccountId,
        A.AccountLevelId,
        AL.AccountLevelTitle AS ParentName,
        0 AS Level
    FROM
        Acc_Account A
    INNER JOIN
        Acc_AccountLevel AL ON A.AccountLevelId = AL.Id
    WHERE
        A.ParentAccountId IS  NULL 

    UNION ALL

    -- Recursive member: Select child nodes recursively
    SELECT
        A.Id,
        A.AccountName AS ChildName,
        A.ParentAccountId,
        A.AccountLevelId,
        AL.AccountLevelTitle AS ParentName,
        Level + 1 AS Level
    FROM
        Acc_Account A
    INNER JOIN
        Acc_AccountLevel AL ON A.AccountLevelId = AL.Id
    INNER JOIN
        RecursiveCTE R ON A.ParentAccountId = R.Id
)

-- Final query to retrieve the tree structure with account and level information
SELECT
    Id,
    ChildName,
    ParentAccountId,
    AccountLevelId,
    ParentName,
    Level  -- Include the Level column to display the level of each node
FROM
    RecursiveCTE;

END;

  • ABP Framework version: v8
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
Responder

hi no , no errors when build

Responder

thanks sir it works

Pergunta

hello sir, when i tried to give an input id to catch it and make some logic it doesn't work i attached some screenshots for the problem is that a bug in framework??

  • ABP Framework version: v8
  • UI Type: MVCr
  • Database System: EF Core (SQL Server)
Responder

hi sir, i catch the problem it's when i get the project from AZURE and started to build entities using Suite error message (build failed check solution) will show but when i started to build project from scratch using suite it works good so how can i fix this error because i cant push my updates into server to Co-workers

Mostrando 41 até 50 de 66 registros
Made with ❤️ on ABP v8.2.0-preview Updated on março 25, 2024, 15:11