I want to hide "Clear Filter" action. How can I do this?
↧
It is possible to hide "Clear Filter" action on List page?
↧
NAV 2018 BC - CueGroup number showing 999+ instead of actual number
Hello Everyone,
We have a user who would like to see the actual number of current Released Prod. Orders instead of the "999+" number he is seeing. Is there a way to change that to display? I see the page is on 9038 and the field is set but I don't see anywhere you can change the format.
Thanks
We have a user who would like to see the actual number of current Released Prod. Orders instead of the "999+" number he is seeing. Is there a way to change that to display? I see the page is on 9038 and the field is set but I don't see anywhere you can change the format.
Thanks
↧
↧
BC15 - more than 5 decimal places for a currency
Hi guys,
we've come across a first large issue with the newest version of BC. I need to set a currency to operate with 8 decimal places (Bitcoin). So I did the usual trick with "General Ledger Setup"."Amount Decimal Places" and "General Ledger Setup"."Amount Rounding Precision" in code, which was successfully set to 2:8. Then I need to set the same value in the Currency record of BTC:
![wk2vosxxe4gg.png]()
Problem is with a field Currency."Amount Decimal Places". In the standard code, it has a property DecimalPlaces set to 2:5:
![qbb27i0x9lgt.png]()
And I am not able to change that property using an extension:
![szldfu0bwdh9.png]()
Does anyone have experience with this / idea how this can be changed? To be honest, I am struggling without RTC, everything takes longer than before. Version of BC is 15.2.
Thank you
we've come across a first large issue with the newest version of BC. I need to set a currency to operate with 8 decimal places (Bitcoin). So I did the usual trick with "General Ledger Setup"."Amount Decimal Places" and "General Ledger Setup"."Amount Rounding Precision" in code, which was successfully set to 2:8. Then I need to set the same value in the Currency record of BTC:

Problem is with a field Currency."Amount Decimal Places". In the standard code, it has a property DecimalPlaces set to 2:5:

And I am not able to change that property using an extension:

Does anyone have experience with this / idea how this can be changed? To be honest, I am struggling without RTC, everything takes longer than before. Version of BC is 15.2.
Thank you
↧
Run cmd line as admin
Hi Expert,
Am trying to run net stop && net start for restarting NavInstance but I always encountered error "Access is Denied". Does anyone tried doing this successfully?
Here are my codes:
Process := Process.Process;
Process.StartInfo.UseShellExecute := FALSE;
Process.StartInfo.FileName := 'cmd.exe';
Process.StartInfo.Arguments := '/c NET STOP MicrosoftDynamicsNavServer$InstanceName && NET START MicrosoftDynamicsNavServer$InstanceName';
Process.StartInfo.CreateNoWindow := TRUE;
Process.StartInfo.RedirectStandardError := TRUE;
Process.Start();
ErrMsg := Process.StandardError.ReadToEnd();
IF ErrMsg <> '' THEN
ERROR(ErrMsg)
ELSE BEGIN
Result := Process.StandardOutput.ReadToEnd();
END;
CLEAR(Process);
![3wicbluzin0p.png]()
Is there a way to run this as an admin?
Thank you,
Marc
Am trying to run net stop && net start for restarting NavInstance but I always encountered error "Access is Denied". Does anyone tried doing this successfully?
Here are my codes:
Process := Process.Process;
Process.StartInfo.UseShellExecute := FALSE;
Process.StartInfo.FileName := 'cmd.exe';
Process.StartInfo.Arguments := '/c NET STOP MicrosoftDynamicsNavServer$InstanceName && NET START MicrosoftDynamicsNavServer$InstanceName';
Process.StartInfo.CreateNoWindow := TRUE;
Process.StartInfo.RedirectStandardError := TRUE;
Process.Start();
ErrMsg := Process.StandardError.ReadToEnd();
IF ErrMsg <> '' THEN
ERROR(ErrMsg)
ELSE BEGIN
Result := Process.StandardOutput.ReadToEnd();
END;
CLEAR(Process);

Is there a way to run this as an admin?
Thank you,
Marc
↧
BC SaaS : Importing Multiple Files from OneDrive Folder
Hi all,
We are trying to come up with a solution where we can import multiple CSV files stored in a folder in OneDrive into Business Central SaaS. We do not have the option to map the OneDrive somewhere locally since even Business Central is cloud based therefore no VM or server.
Scenario;
We have an external system set to dump CSV files in a OneDrive Folder which needs to be imported in a table in Business Central SaaS (not on-prem). Is it possible to create a Codeunit (or Report) that reaches a folder in OneDrive and imports the multiple CSV files within that folder (or at least one)?
Thank you in advance!
We are trying to come up with a solution where we can import multiple CSV files stored in a folder in OneDrive into Business Central SaaS. We do not have the option to map the OneDrive somewhere locally since even Business Central is cloud based therefore no VM or server.
Scenario;
We have an external system set to dump CSV files in a OneDrive Folder which needs to be imported in a table in Business Central SaaS (not on-prem). Is it possible to create a Codeunit (or Report) that reaches a folder in OneDrive and imports the multiple CSV files within that folder (or at least one)?
Thank you in advance!
↧
↧
Reports assigned on RC
Dear All
Is there any table holds records of reports assigned to each RC. Report settings list is not helping me because some reports are attached in RC without entry in report settings page. Going to each Role Center design and pulling from the property list is taking lot of time due to large number of RC pages.
Kindly advise.
regards
satish
Is there any table holds records of reports assigned to each RC. Report settings list is not helping me because some reports are attached in RC without entry in report settings page. Going to each Role Center design and pulling from the property list is taking lot of time due to large number of RC pages.
Kindly advise.
regards
satish
↧
Job Queue with Task Scheduler and User ID
Hello,
I am facing problems in NAV 2018 with the Task Scheduler that runs Job Queues.
When a new NAV session is opened, all Job Queues are rescheduled by the codeunit Job Queue User Handler (function RescheduleJobQueueEntriesOnCompanyOpen).
My troubles come from the fact that these tasks will be executed on behalf of the current User ID.
So, a Job Queue will always run with the permission of the last logged in user instead of the User ID on the Job Queue Entry.
Have you already faced this problem? Is there a workaround?
Thank you in advance for your help.
I am facing problems in NAV 2018 with the Task Scheduler that runs Job Queues.
When a new NAV session is opened, all Job Queues are rescheduled by the codeunit Job Queue User Handler (function RescheduleJobQueueEntriesOnCompanyOpen).
My troubles come from the fact that these tasks will be executed on behalf of the current User ID.
So, a Job Queue will always run with the permission of the last logged in user instead of the User ID on the Job Queue Entry.
Have you already faced this problem? Is there a workaround?
Thank you in advance for your help.
↧
Field #99 VAT Base Amount in Sales Shipment Line
can anyone tell me in which cases field #99 of table 111 (sales shipment line) is valued?
↧
Windows PowerShell ISE - New-NAVCRMTable
Hi people, i would like to execute this script by PowerShell:
New-NAVCRMTable –CRMServerMyOrg.Crm4.Dynamics.Com –EntityLogicalName systemuser,campaign –ObjectId 5340,50001 –Name “CRM Systemuser”,“CRM Campaign” –OutputPath c:\CRMObjects
but it can not find cmlet New-NAVCRMTable. Any suggestion? I imagine i have to import a module with Import-Module but i dont know where it is.
Thanks in advance.
New-NAVCRMTable –CRMServerMyOrg.Crm4.Dynamics.Com –EntityLogicalName systemuser,campaign –ObjectId 5340,50001 –Name “CRM Systemuser”,“CRM Campaign” –OutputPath c:\CRMObjects
but it can not find cmlet New-NAVCRMTable. Any suggestion? I imagine i have to import a module with Import-Module but i dont know where it is.
Thanks in advance.
↧
↧
BC 14 Communication with the server failed, and the content cannot be displayed - custom binding
Hello,
Ive installed BC 14 update 09 recently, server on one macine, clients on the other.
When Im accessing webserver on the server machine through default http://localhost:8080/BC140 everything works fine.
When trying to access through added binding for the site http://domainname/BC140 I'm receiving error given in the title, it finds the site but I'm getting Communication with the server failed, and the content cannot be displayed, with restart button.
How to make server accessible through custom bindings?
Any help is greatly appreciated.
Thanks,
Bartek
Ive installed BC 14 update 09 recently, server on one macine, clients on the other.
When Im accessing webserver on the server machine through default http://localhost:8080/BC140 everything works fine.
When trying to access through added binding for the site http://domainname/BC140 I'm receiving error given in the title, it finds the site but I'm getting Communication with the server failed, and the content cannot be displayed, with restart button.
How to make server accessible through custom bindings?
Any help is greatly appreciated.
Thanks,
Bartek
↧
JavaScript SOAP Call against Container (CORS)
Hello,
I wonder if there is anywhere a working example for javascript Soap calls (prefered with axios) against a local running NAV container?
Has anyone done this and is willing to provide the working example including the container script?
Have not found anything up to now and the Chrome "Moesif CORS" plugin seems also not to work.
I would love to see a working example and bring this up and running on my local machine.
I wonder if there is anywhere a working example for javascript Soap calls (prefered with axios) against a local running NAV container?
Has anyone done this and is willing to provide the working example including the container script?
Have not found anything up to now and the Chrome "Moesif CORS" plugin seems also not to work.
I would love to see a working example and bring this up and running on my local machine.
↧
ABA ROUTING NUMBER MOD 10 USA
Hi
whow work with checkdigit routing naumber as MOD 10 using navision 2013 or NAV... ,
can you please put the code on comment
Thank you
whow work with checkdigit routing naumber as MOD 10 using navision 2013 or NAV... ,
can you please put the code on comment
Thank you
↧
Fix dynamic header in RDLC report
So, I am trying to fix a report and keep running into a strange situation.
This report prints multiple Sales Order Confirmations from the Sales Order List.
On this report there is a textbox for a field of concatenated comments on the order.
The initial problem was if the textbox spanned more than a page, the header data was blank.
The header data was pulled directly from textboxes at the end of the tablix that makes up the body.
To fix this, I made the Set/Get functions and put the Set textbox at the beginning of the tablix and changed all the header fields to use GetData.
This seemed to work except in special cases.
The header data is now fine until an order takes up 2+ pages and there is only a few lines on the last page. If this is the case, the header data on the last page will show the data for the next order. The next order will then be fine(except the page number is now one off). Then the rest of the orders will be fine until this happens again.
Also, there is no pattern that I can see that would make the header data wrong on the last page. Most orders are fine, even with only one line of data on the last page.
Any advice on how to fix this would be greatly appreciated.
This report prints multiple Sales Order Confirmations from the Sales Order List.
On this report there is a textbox for a field of concatenated comments on the order.
The initial problem was if the textbox spanned more than a page, the header data was blank.
The header data was pulled directly from textboxes at the end of the tablix that makes up the body.
To fix this, I made the Set/Get functions and put the Set textbox at the beginning of the tablix and changed all the header fields to use GetData.
This seemed to work except in special cases.
The header data is now fine until an order takes up 2+ pages and there is only a few lines on the last page. If this is the case, the header data on the last page will show the data for the next order. The next order will then be fine(except the page number is now one off). Then the rest of the orders will be fine until this happens again.
Also, there is no pattern that I can see that would make the header data wrong on the last page. Most orders are fine, even with only one line of data on the last page.
Any advice on how to fix this would be greatly appreciated.
↧
↧
How can i change amount in words for example one lakh four thousand -> one hundred and four thousand
Nav 2016 - How can i change amount in words for example one lakh four thousand -> one hundred and four thousand
↧
getting error during sending mail through SMTP.
Hi Everyone,
i am sending mail through smtp in server, its working fine but when i am sending through local machine its showing error. like: the temporary file does not exist.
what should i do for temporary path so that from both server or local machine take the path from server only.
Thanks in advance,
Mani.
i am sending mail through smtp in server, its working fine but when i am sending through local machine its showing error. like: the temporary file does not exist.
what should i do for temporary path so that from both server or local machine take the path from server only.
Thanks in advance,
Mani.
↧
Navision Report designing
I modified a report named Simulation Order report.This report is used for displaying the details of Work Order. My client need some additional details in this report .they need to view all the bin details of each component item No under each work Order component Lines.
I modified the report and getting the correct result when i View by (Help>>About this report)
When i add this line into design view i am getting only one Bin row of each component item.(means not getting all rows of each Component of a particular Work Order).
User need to view this report in such a way that
first row : Work Order source no & Its details
Second row : Production Order & Prod Order Component details
Third Row :Component item's bin Details.
(If this component item has 3 bin contents ,the user need to view this 3 rows one after another)
i added this 3rd row in design mode after adding a group below the work order& its component details
When i run this Iam getting only first row of each Item's bin Contents.
How to show all the bin contents of each component one after other. Please help.
I modified the report and getting the correct result when i View by (Help>>About this report)
When i add this line into design view i am getting only one Bin row of each component item.(means not getting all rows of each Component of a particular Work Order).
User need to view this report in such a way that
first row : Work Order source no & Its details
Second row : Production Order & Prod Order Component details
Third Row :Component item's bin Details.
(If this component item has 3 bin contents ,the user need to view this 3 rows one after another)
i added this 3rd row in design mode after adding a group below the work order& its component details
When i run this Iam getting only first row of each Item's bin Contents.
How to show all the bin contents of each component one after other. Please help.
↧
ERROR WHILE DOWNLOADING SYMBOLS - WAVE 2 - SaaS
Receiving the below error when try to download Symbols on Saas Envirnoment
Error:A task was Cancelled.
Launch.Json File
{
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "launch",
"name": "Microsoft cloud sandbox",
"startupObjectId": 22,
"tenant": "xxxxxx-xxx-xxx-xxxxxx",
"startupObjectType": "Page",
"breakOnError": true,
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true,
"numberOfSqlStatements": 30
}
]
}
App.Json
{
"id": "6a3dc13a-6f0a-4f33-8bef-8fd770a068cb",
"name": "PO",
"publisher": "Default publisher",
"version": "1.0.0.0",
"brief": "",
"description": "",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"dependencies": [
{
"appId": "xxxxxxxxxxxxxxxxxxx",
"publisher": "Microsoft",
"name": "System Application",
"version": "1.0.0.0"
},
{
"appId": "xxxxxxxxxxxxxxxxxxx",
"publisher": "Microsoft",
"name": "Base Application",
"version": "15.0.0.0"
}
],
"screenshots": [],
"platform": "15.0.0.0",
"idRanges": [
{
"from": 50100,
"to": 50149
}
],
"contextSensitiveHelpUrl": "https://PO.com/help/",
"showMyCode": true,
"runtime": "4.0"
}
Kindly let me know.
Error:A task was Cancelled.
Launch.Json File
{
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "launch",
"name": "Microsoft cloud sandbox",
"startupObjectId": 22,
"tenant": "xxxxxx-xxx-xxx-xxxxxx",
"startupObjectType": "Page",
"breakOnError": true,
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true,
"numberOfSqlStatements": 30
}
]
}
App.Json
{
"id": "6a3dc13a-6f0a-4f33-8bef-8fd770a068cb",
"name": "PO",
"publisher": "Default publisher",
"version": "1.0.0.0",
"brief": "",
"description": "",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"dependencies": [
{
"appId": "xxxxxxxxxxxxxxxxxxx",
"publisher": "Microsoft",
"name": "System Application",
"version": "1.0.0.0"
},
{
"appId": "xxxxxxxxxxxxxxxxxxx",
"publisher": "Microsoft",
"name": "Base Application",
"version": "15.0.0.0"
}
],
"screenshots": [],
"platform": "15.0.0.0",
"idRanges": [
{
"from": 50100,
"to": 50149
}
],
"contextSensitiveHelpUrl": "https://PO.com/help/",
"showMyCode": true,
"runtime": "4.0"
}
Kindly let me know.
↧
↧
Auto selection of item from that lotNo,which has expiration date near during creating sales order.
Hi Everyone,
I am creating sales order, so i need to select in sales line item from the LotNo which will expire first[ie. which LotNo 'expiration date is near']. It should be automatic. How can i proceed this; whether i should try with codeunit or should create a button in sales order page.
eg. ItemNo LotNo Expiration-Date Quantity
100 lot1 7/2/2021 10
100 lot2 7/1/2021 20
So, if i am selecting in sales line, itemno:100, with quantity:15; then it should take automatic from lotno: lot2, which will expire first.
[if i need 25, then first it should take 20 quantity from lot2 and 5 quantity from lot1]
please guide me to proceed.
Thanks in advance,
Mani.
I am creating sales order, so i need to select in sales line item from the LotNo which will expire first[ie. which LotNo 'expiration date is near']. It should be automatic. How can i proceed this; whether i should try with codeunit or should create a button in sales order page.
eg. ItemNo LotNo Expiration-Date Quantity
100 lot1 7/2/2021 10
100 lot2 7/1/2021 20
So, if i am selecting in sales line, itemno:100, with quantity:15; then it should take automatic from lotno: lot2, which will expire first.
[if i need 25, then first it should take 20 quantity from lot2 and 5 quantity from lot1]
please guide me to proceed.
Thanks in advance,
Mani.
↧
Data upgrade to Business Central Cloud
Hi all,
What tools/options do we have when we want to upgrade data to BC15 cloud from previous version of BC onprem?
And how we actually do that data upgrade?
Thanks,
Stefan
What tools/options do we have when we want to upgrade data to BC15 cloud from previous version of BC onprem?
And how we actually do that data upgrade?
Thanks,
Stefan
↧
Easy way to display Comparison Period Date?
Hello,
There is table 334 Column Layout and there are two fields there called "Comparison Period Formula" and "Comparison Date Formula".
What I would like to achieve is whatever formula I type in, I would like to see the date or date-range displayed.
What I have done so far is I created a page and was able to display calcdate formula result but I can't display the value I type into Comparison Period Formula.
For example, my input date is 02/21/2020
Comparison Period Formula: FY
I want to see what that range is.
I can pull up fy start date and fy end date from codeunit 8 account schedule management but I also want to use the Comparison Period Formula field.
I used FindEndOfFiscalYear and AccPeriodStartEnd functions to get FY start and end dates. Also tried to use AccPeriodStartEnd function to display calculated Comparison Period Formula but it doesn't display anything.
Calculate Date Action Code
Calculate Comparison Period Date Code
Thank you in advance. This is a learning experience for me to understand Comparison Period Formula
![iivom5g4tuh7.png]()
There is table 334 Column Layout and there are two fields there called "Comparison Period Formula" and "Comparison Date Formula".
What I would like to achieve is whatever formula I type in, I would like to see the date or date-range displayed.
What I have done so far is I created a page and was able to display calcdate formula result but I can't display the value I type into Comparison Period Formula.
For example, my input date is 02/21/2020
Comparison Period Formula: FY
I want to see what that range is.
I can pull up fy start date and fy end date from codeunit 8 account schedule management but I also want to use the Comparison Period Formula field.
I used FindEndOfFiscalYear and AccPeriodStartEnd functions to get FY start and end dates. Also tried to use AccPeriodStartEnd function to display calculated Comparison Period Formula but it doesn't display anything.
Calculate Date Action Code
OutputDate := CALCDATE(DateFormula,InputDate); CLEAR(InputDate); CLEAR(DateFormula);
Calculate Comparison Period Date Code
StartDate := AccSchedManagement.FindFiscalYear(InputDate); EndDate := FindEndOfFiscalYear(InputDate); //OutputDate := AccPeriodStartEnd(ComparisonPeriodFormula,InputDate,StartDate,EndDate); CLEAR(InputDate); CLEAR(ComparisonPeriodFormula);
Thank you in advance. This is a learning experience for me to understand Comparison Period Formula

↧