-
Developing Custom Approval Workflow?
I want to develop a custom approval workflow on creation of Resource record in the system. When a user inserts a new Resource in Business Central, it should be first approved by the approver, before it can be used anywhere. Any help in this regard will be highly appreciated.
-
Remove-NAVServerUserPermissionSet error "No Access Control in filter"
Hello, We are using Business Central 230. In Powershell (run as Administrator) I use "Remove-NAVServerUserPermissionSet $MiddleTier -PermissionSetId "<name of the permissionset>" -UserName $LogonAccount -Force". When the permission set is super, I see no errors and super is removed from the user. But when I use a different…
-
Job Queue - "The current permissions prevented the Action (Codeunit ... Exceute)
Hey there! We created a job queue that executes a Codeunit in one of our extensions. We created a permissionset that includes the Codeunit with "X" permissions. Permissionset is assigned to the user. When we execute the Job Queue manually everything is working as expected. However, if the Job Queue runs automatically…
-
LSCIN Tax Transaction Value V2 data send Issue
In LS Central, I am enabled DD Send Transaction to push transaction from Store database to HO database, transactional data are pushed to HO except table LSCIN Tax Transaction Value V2 data.
-
Price includes VAT by default on Item Card?
Is there any easy way to make the system to assume and set "Price includes VAT" to true whenever an item is created? I tried subscribe to "OnAfterOnInsert" from Item table and make it to true. But it throws an error the VAT Prod. Posting group field not populated yet.
-
How to create Agenda Outlook Stile?
Good morning everyone, a client asked us to create an outlook-style appointment diary for him on BC21 (onprem). Currently our vertical (they are all customized tables) shows them in "matrix" style format, while the customer would practically like to see the agendas of the individual resources (even all together) with the…
-
Record IsTemporary useage and documentation
Hi Guys I see often when writing event-based code units something like: if Rec isTemporary then exit else begin end Is there any good resources that explain temporary records in BC and how and when they are used. ideally I want to create a test where the record is temporary and my codeunit or function exist to test. Some…
-
Norway, VAT reporting (Report 10618)
Hi, I have a Norwegian Customer (NAV 2018 11.0.46855.0), they are working on Dynamics NAV 2018. In their Norwegian Company, they are trying to upload the Xml file at /Skatteetaten/ using the report 10618 (Trade Settlement 2017). They receive the error attached. Is the output xml file, from report 10618 not valid anymore?…
-
Manifest Book Pages
Having an issue when posting the manifest that UPS does not receive all the "pages". Is there a way to take a look at the ups summary for a specific book and page number?
-
XMLPort Namespaces
Hi. I want to export the xml with some specific namespace. I have the following properties:DefaultNamespace = 'dm22irccli-net';
UseDefaultNamespace = true;
Namespaces = "version" = 'v2023'; What is exported:<My_XmlPort xmlns:version="v2023" xmlns="dm22irccli-net"> What i want:<My_XmlPort xmlns="dm22irccli-net"…
-
Service to service auth and multiple api customers
Hello, guys I would like to investigate such case: - BC Api exposed with s2s auth i.e. creating webshop integration - is it possible using azure and BC to distniguish customers i.e. register the api with s2s muultiple times but in oauth claims put customer no and use it in bc? - or the only possiblity in such case would be…
-
BC service falling over
Hi, I have a client whereby the BC service is falling over a couple of times a day, this is from the event log:- I was wondering if anyone has seen this before? Regards and Thanks Roddy Server instance: SVCT-Live Tenant ID: Environment Name: Environment Type: User: Type: System.OverflowException Message: Arithmetic…
-
Codeunit SignedXML
Hello, I'm trying to use the codeunit SignedXML in Business Central to get an XML signed. I have spent a long time without any results, Can anyone help me? Thanks in advance
-
Restore BC OnPrem from BCOnLine Bacpac file
Hi, Has any one ever done this before? The steps I used to do this: 1) Download bacpac from BCOnline 2) Dowload and Install BCOnPrem with the same app version as BCOnLine 3) Import bacpac file to a SQL Server database 4) Set BCOnPrem to multitenant 5) Mount BCOnline tenant db to BCOnPrem instance 6) I get errors in NAV…
-
How to create custom workflow for customized table and customized page?
Hi experts, Is it possible to create customized workflow for a customized page related with customized table in NAV. How far it is possible and if yes, how we can achieve it. Please help.
-
Degraded the Calcum of Quantity per Min and Max , and Level
Hello I have create a table Configuration whish the field's is (SalesPersonneCod;StartDate;EndDate;Level(Option : 16); WeightFrom;WeigtTo; and Amount So, i need to calc the sum of item ledger entry. entry type:: SALES per Salespersonnecode,and Posting date [StratDate|EndDate] and after get the difference between two…
-
is it possible to select customer template before create new customer (via API)
Hi All, I am planning to create new customer from API (Cloud BC) but i want to select from which template first. is it possible? Thanks.
-
PageBackgroundTask issue
Hi all, I have a problem understanding why OnPageBackgroundTaskCompleted and OnPageBackgroundTaskError are not triggering in my page, in some cases. The page consists of a group and a repeater, the repeater shows some records and the group contains cues for totals. I want to update the value of one this cues through a…
-
Creation of "My Notifications"
I want to implement custom "My Notifications" for all users. Where are these initialised in code? Thank you.
-
Reports multiple dataitems
Hi , I am making a report where there are three datatiems and the last two dataitems makes a relation with first dataitem. Both last dataitems consists of multiple records(table of list page). Report layout have diff tables for every dataitem. Now If I do publish the report, all tables in report layout gets equal no of…
-
Problème with the use of Trigger when service order is posted.
Hello everyone, Please I need your help. I have one CodeUnit that I want to run when I post Service order. In post action of Page 5900, I call the codeunit (CodeUnitName.RUN(xRec);) but I receive the following message. . I think that the error occures because when I post "Service order" the related data was submitted.…
-
LS retail : text file transfert from server to pos
Hello, I want to transfer a txt file from the server to the pos. I followed a procedure and activated the "Old DD support" and check "Allow File Transfer" option. I set up a scheduler job with "job type" = Custom, codeunit 99001465 and text option "SRC=c:\temp\test.txt;DEST=c:\temp\test.txt". But it doesn't do anything.…
-
The record is already open ?
I have a page with area faxboxes, part attached documents, but I get an error, "The record is already open". It is in all companies in this environment. The same code works fine in 25 other environments. Customer Card works fine in this environment, so where to look for the error? Regards Maria Code: area(factboxes) {…
-
SMTP with OAUTH 2.0 - BC22 OnPrem
Hi all, Configured a BC22 instance with Credential Type = AccessControlService. Created an Email Account entry, Account Type = STMP: * Applied Office 365 Server Settings * Email Address & User Name = support@<domain>.com * Sender Email Account = Specific User * Authentication = OAuth 2.0 * Completed the "Set Up Azure…
-
Inconvenience when trying to obtain information in a report
I created a custom report in BC, information is obtained in the header, however I cannot obtain the records for the lines. I have already confirmed within Microsoft Report Builder that there is no visibility condition, so I think the problem is in the .al code but I have not been able to detect the error. I share my code…
-
Modify data inside "<cac:PaymentMeans>" (Peppol)
How do I modify the data inside "<cac:PaymentMeans>" when generating PEPPOL BIS XML? <cac:PaymentMeans> <cbc:PaymentMeansCode>Change value from 31 to 30</cbc:PaymentMeansCode> <cac:PayeeFinancialAccount> <cbc:ID>Set bankgiro value</cbc:ID> <cac:FinancialInstitutionBranch> <cbc:ID>Set to SE:PLUSGIRO</cbc:ID>…
-
Join the webinar: AIM with Simplanova: Earn up to $5k for each Upgrade Assessment
Dear Dynamics Community Members, Simplanova is a Microsoft Modernization Center under the AIM program and will help Partner organizations migrate end-customers to the cloud with future-proof solutions. So, we invite Dynamics Partners to join the webinar "AIM with Simplanova: Earn up to $5k for each Upgrade Assessment".…
-
Fixed Assets
Hi We have been left with an amount on a Fixed Asset below .01. Does anyone know of a way to clear off this final balance. This is in NAV2017
-
Can't populate user name on a report header
Hello! I have looked into this issue for a good time and can't seem to figure out what is going on, I'm hoping someone can shed some light. One of users is unable to show her user name on the header of the report. However, there are 2 of her team members that are showing correct, with a name. We have looked at permissions,…
-
Business Central- Update Listpart Page
Hi, can anyone tell me how can I update listPart page from another ListPart Page? for example, in Bank account reconciliation page there are two part pages, 'bank account statements' and 'bank acccount ledger entries', can i i update view on Bank account ledger entries part page from Bank account statement part page ? Is…