Skip to content

Conversation

@tuan-nguyen-fenwick
Copy link
Contributor

@tuan-nguyen-fenwick tuan-nguyen-fenwick commented Nov 7, 2025

Summary

Added dimension setup and posted entries for Fixed Assets in Demo Data Tool.

Work Item(s)

Fixes #29388
Fixes AB#597245

@tuan-nguyen-fenwick tuan-nguyen-fenwick requested a review from a team as a code owner November 7, 2025 04:32
@JesperSchulz JesperSchulz added the Finance GitHub request for Finance area label Nov 10, 2025
@AndersLarsenMicrosoft AndersLarsenMicrosoft self-assigned this Nov 24, 2025
@github-actions github-actions bot added the linked Issue is linked to a Azure Boards work item label Dec 12, 2025
PredragMaricic
PredragMaricic previously approved these changes Dec 14, 2025
@JesperSchulz JesperSchulz added the processing-PR The PR is currently being reviewed label Dec 17, 2025
@github-actions
Copy link
Contributor

Processing this PR. The branch is now locked 🔒 Please don't push updates unless otherwise agreed.

@JesperSchulz
Copy link
Contributor

Another PR where the local DBs don't build any longer. This time with the following:

[2025-12-19 10:52:02] Invoke-jobNAVCodeunit: Document No. ASSET-ACQ is out of balance by 321.500. Please check that Posting Date, Document Type, Document No. and
--------------------- Amount are correct for each line.  CorrelationId:  f0751f7f-4d76-488e-8cca-e99f776d2632. Status: 400 (Document No.
--------------------- ASSET-ACQ is out of balance by 321.500. Please check that Posting Date, Document Type, Document No. and Amount are
--------------------- correct for each line.) ErrorCode: Application_DialogException  Content:
--------------------- {"error":{"code":"Application_DialogException","message":"Document No. ASSET-ACQ is out of balance by 321.500. Please
--------------------- check that Posting Date, Document Type, Document No. and Amount are correct for each line.  CorrelationId: 
--------------------- f0751f7f-4d76-488e-8cca-e99f776d2632."}}  Headers: Server: Microsoft-HTTPAPI/2.0 request-id:
--------------------- f0751f7f-4d76-488e-8cca-e99f776d2632 WWW-Authenticate: Negotiate oRswGaADCgEAoxIEEAEAAACyeJ/gbKiokAAAAAA= Date: Fri, 19
--------------------- Dec 2025 09:51:46 GMT Content-Type: application/json Content-Length: 266

We need to understand what's happening. But that'll be a job for 2026 😉

@tuan-nguyen-fenwick
Copy link
Contributor Author

Another PR where the local DBs don't build any longer. This time with the following:

[2025-12-19 10:52:02] Invoke-jobNAVCodeunit: Document No. ASSET-ACQ is out of balance by 321.500. Please check that Posting Date, Document Type, Document No. and
--------------------- Amount are correct for each line.  CorrelationId:  f0751f7f-4d76-488e-8cca-e99f776d2632. Status: 400 (Document No.
--------------------- ASSET-ACQ is out of balance by 321.500. Please check that Posting Date, Document Type, Document No. and Amount are
--------------------- correct for each line.) ErrorCode: Application_DialogException  Content:
--------------------- {"error":{"code":"Application_DialogException","message":"Document No. ASSET-ACQ is out of balance by 321.500. Please
--------------------- check that Posting Date, Document Type, Document No. and Amount are correct for each line.  CorrelationId: 
--------------------- f0751f7f-4d76-488e-8cca-e99f776d2632."}}  Headers: Server: Microsoft-HTTPAPI/2.0 request-id:
--------------------- f0751f7f-4d76-488e-8cca-e99f776d2632 WWW-Authenticate: Negotiate oRswGaADCgEAoxIEEAEAAACyeJ/gbKiokAAAAAA= Date: Fri, 19
--------------------- Dec 2025 09:51:46 GMT Content-Type: application/json Content-Length: 266

We need to understand what's happening. But that'll be a job for 2026 😉

Hi @JesperSchulz, Happy New Year!

Can you share which region(s) throwed this error please?

@JesperSchulz
Copy link
Contributor

JesperSchulz commented Jan 6, 2026

Another PR where the local DBs don't build any longer. This time with the following:

[2025-12-19 10:52:02] Invoke-jobNAVCodeunit: Document No. ASSET-ACQ is out of balance by 321.500. Please check that Posting Date, Document Type, Document No. and
--------------------- Amount are correct for each line.  CorrelationId:  f0751f7f-4d76-488e-8cca-e99f776d2632. Status: 400 (Document No.
--------------------- ASSET-ACQ is out of balance by 321.500. Please check that Posting Date, Document Type, Document No. and Amount are
--------------------- correct for each line.) ErrorCode: Application_DialogException  Content:
--------------------- {"error":{"code":"Application_DialogException","message":"Document No. ASSET-ACQ is out of balance by 321.500. Please
--------------------- check that Posting Date, Document Type, Document No. and Amount are correct for each line.  CorrelationId: 
--------------------- f0751f7f-4d76-488e-8cca-e99f776d2632."}}  Headers: Server: Microsoft-HTTPAPI/2.0 request-id:
--------------------- f0751f7f-4d76-488e-8cca-e99f776d2632 WWW-Authenticate: Negotiate oRswGaADCgEAoxIEEAEAAACyeJ/gbKiokAAAAAA= Date: Fri, 19
--------------------- Dec 2025 09:51:46 GMT Content-Type: application/json Content-Length: 266

We need to understand what's happening. But that'll be a job for 2026 😉

Hi @JesperSchulz, Happy New Year!

Can you share which region(s) throwed this error please?

BuildDatabase_CZ, BuildDatabase_DK and BuildDatabase_NL.

And happy new year 🥳

@tuan-nguyen-fenwick
Copy link
Contributor Author

tuan-nguyen-fenwick commented Jan 8, 2026

@JesperSchulz

I have resolved build errors in CZ, DK and NL environments. Turns out there is a unique G/L account for the cash account in CZ, DK and NL which caused FA journal lines to be out of balance. I had to retrieve the corresponding account in these localised apps.

I also made adjustments to resolve ID conflicts with new objects after merging latest changes from main.

The screenshot below is from BC container platform: CZ 28.0.44120.0

image

@JesperSchulz
Copy link
Contributor

Let me try again!

@JesperSchulz
Copy link
Contributor

NL build failed:
CreateFADepreciationBookNL.Codeunit.al(37,29): error AL0185: Codeunit 'Create NL GL Accounts' is missing

@tuan-nguyen-fenwick
Copy link
Contributor Author

NL build failed: CreateFADepreciationBookNL.Codeunit.al(37,29): error AL0185: Codeunit 'Create NL GL Accounts' is missing

@JesperSchulz Thanks, it should be fixed now. I corrected the namespace usage.

@tuan-nguyen-fenwick
Copy link
Contributor Author

@JesperSchulz Please let me know if there’s anything else needed to wrap up this PR. Thanks!

@JesperSchulz
Copy link
Contributor

@JesperSchulz Please let me know if there’s anything else needed to wrap up this PR. Thanks!

I'll try running it again with the latest chages.

@JesperSchulz
Copy link
Contributor

DK now fails with the following:

�[31;1mInvoke-jobNAVCodeunit: �[31;1mFeltet Bal. Account No. i tabellen Gen. Journal Line indeholder en værdi (18000), som ikke blev fundet i den relaterede�[0m
�[31;1m�[31;1mtabel (G/L Account).  CorrelationId:  5107be2e-f1b5-40bc-92bf-3d4bb0683021. Status: 400 (Feltet Bal. Account No. i�[0m
�[31;1m�[31;1mtabellen Gen. Journal Line indeholder en værdi (18000), som ikke blev fundet i den relaterede tabel (G/L Account).)�[0m
�[31;1m�[31;1mErrorCode: Internal_InvalidTableRelation  Content: {"error":{"code":"Internal_InvalidTableRelation","message":"Feltet�[0m
�[31;1m�[31;1mBal. Account No. i tabellen Gen. Journal Line indeholder en v\u00e6rdi (18000), som ikke blev fundet i den relaterede�[0m
�[31;1m�[31;1mtabel (G/L Account).  CorrelationId:  5107be2e-f1b5-40bc-92bf-3d4bb0683021."}}  Headers: Server: Microsoft-HTTPAPI/2.0�[0m
�[31;1m�[31;1mrequest-id: 5107be2e-f1b5-40bc-92bf-3d4bb0683021 WWW-Authenticate: Negotiate oRswGaADCgEAoxIEEAEAAADqhxSiOHk3ZQAAAAA=�[0m
�[31;1m�[31;1mDate: Wed, 14 Jan 2026 18:51:58 GMT Content-Type: application/json Content-Length: 263�[0m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Finance GitHub request for Finance area linked Issue is linked to a Azure Boards work item processing-PR The PR is currently being reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BC Idea]: Dimensions & posted entries for fixed assets demo data

4 participants