i already did it and all is good
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;
hi no , no errors when build
thanks sir it works
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
hi sir i have a problem into my manager class in Domain Application according to your documentation you use DomainService which includes GuidGenerator.create to create Guid but what if my class is from (int) type like image below what should i do??
hi sir no errors in build and it works very very very good thanks to amazing framework despite there are some features hope to customize it in new version my abp v8, cli 8.0.2 let's jumping steps 1- domain project and put my entity 2- domain shared and put my enum 3- entity framework and put my builder and updated database 4- app.contract and add Dto + createUpdate + Interface 5- app and add service 6- create mapping 7- did my UI all is working good and lets considered steps above is for master class now i want to do detail class using ABP suite after choosing add existing solution and add my new entity & property it shows me that error i think that is because suite generate deffrient classes OMG i afraid that if i want to make master detail i should and must do master using suite then do detail