Quantcast
Channel: Microsoft Business Solutions online community
Viewing all 14259 articles
Browse latest View live

Retrieve all company data using single xml port

$
0
0
Hi All,

I am retrieving data from four tables from a single XML port. I can able to get the records of 4 tables for the current company.

But i want to get the same for 5 companies out of 6(i have 6 companies). I know we can use CHANGECOMPANY function. But I don't know exactly where we have to use the CHANGECOMPANY in xml port triggers.

Can you please suggest me some ideas to get all the four table data for 5 companies out of 6.

Thanks in advance,
Jacob.A

I cannot see a record inserted through SQL!

$
0
0
Hi,

I've just inserted a record using a SQL script into the table Sales Header. I can see the record fine in SQL but not in Business Central.
The sales Header table has some extensions which I did't populate, but I don't need these fields.

Is there a trick to fetch this record from BC?

Thanks and Regards,

Héctor

The Target Table XXX for the extension object is not found

$
0
0
Hello.

Good day.

I'm a newbie in extension development.

I'm having a problem publishing extension on Purchase Line. it says The target table "Purchase Line" for the extension object is not found.

I'm using the latest version of AL Language. please see image below for reference.

8uyvv706j28w.png

does anyone have any idea why this error occurs ?

thanks in advance.

Working with ENUM

$
0
0
Howdy?.

Good morning.

I am changing in an extensions my Options fields to Enum.
Does anybody know how I can go over the different values in an Enum.
Namely, with Options if you write this code:

for i := 0 to 5 do begin
SalesLine.type := i;
message(format(SaliesLine.type);
end;

You obtain:

' ',G/L Account,Item,Resource,Fixed Asset,Charge (Item)

And another question......

If you do not want in a page to appear all the options of an Option field (i.e: If you do not want anybody to be able to write "G/L Account" in Sales Line, you can set the property OptionCaption in the page as ' ',,Item,Resource,Fixed Asset,Charge (Item), namely, removing G/L Account from the OptionCaption), Do you know any way to achieve this with Enums?

Thank so much.

Export-NAVApplicationObject issue in 3 Tier Architecture

$
0
0
Hi,

My SQL Server in Machine1 & NAVSERVER in Machine2. I want to export all the objects from a database which is located in Machine1. I am using PowerShell option in Machine2. My Export Script is Export-NAVApplicationObject -DatabaseName NAV_TEST -Path C:\MODIFIED\Custom.txt -DatabaseServer 100.0.26.1

I am facing the error message "Export-NAVApplicationObject : : [18023703] You do not have permission to run the 'File, Export, Text' System" while using the Script.

How to Solve this issue ?

Kindly reply.

Thanks,
Navuser1

Business Central Purchase Order error

$
0
0
Hi,

When creating a new article I received this error message :you cannot change the type field on ıtem because at least one purchase line exists for this item. The page 'Selections - Item card' must be closed.

u6snydn7f12h.png


When I added new item line in purchase order , I taked this error message. I have a business central 365 and I think there's a platform-level error here

How can i solve this problem, or can I find out which version has the solution?

Thanks.

item tracking /moving in date

$
0
0

how to know the item that is not moving in a range of date filter.

AL Code Management with GIT


Wave 2 Upgrade from BC Spring

$
0
0
Hello I'm testing/upgrading an unmodified database for practice/experience/confirmation. I'm following the following the steps by MS.

Here is the link

Under Task 6: Synchronize the tenant, system application, and base application extensions
Step 4. Synchronize the tenant with the Business Central Base Application extension (Microsoft_BaseApp):

I'm running the following command.
Sync-NAVApp -ServerInstance BC150 -Tenant default -Name "Base Application" -Version 15.0.36560.36649

The documentation has a different version. My guess is because it's the W1 version. I'm doing the NA version. To get the version code you can run cmd
Get-NAVAppInfo -ServerInstance BC150

PS C:\WINDOWS\system32> Get-NAVAppInfo -ServerInstance BC150
Id : 63ca2fa4-4f03-4f2b-a480-172fef340d3f
Name : System Application
Version : 15.0.36560.36649
Publisher : Microsoft
ExtensionType : ModernDev
Scope : Global

Id : 437dbf0e-84ff-417a-965d-ed2bb9650972
Name : Base Application
Version : 15.0.36560.36649
Publisher : Microsoft
ExtensionType : ModernDev
Scope : Global

I'm getting the following error in step 4
Sync-NAVApp : The following SQL error was unexpected:
There is already an object named 'Cronus Dynamics$G_L Entry$437dbf0e-84ff-417a-965d-ed2bb9650972$VSIFT$Key6' in the database.
At line:1 char:1
+ Sync-NAVApp -ServerInstance BC150 -Tenant default -Name "Base Applica ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Sync-NAVApp], InvalidOperationException
+ FullyQualifiedErrorId : MicrosoftDynamicsNavServer$BC150/default,Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.SyncNavApp


Step 3 that sync the "system application" worked fine.
Sync-NAVApp -ServerInstance BC150 -Tenant default -Name "System Application" -Version 15.0.36560.36649

There are two companies in the database.

error while publishing extension in BC

$
0
0
in vs code I have this output when i tried to download al symbols i have search lot regarding this but find any solution


[Error - 3:30:30 AM] Please report this issue to https://github.com/microsoft/al/issues including information on how to reproduce it, if possible.
Processing of message 'al/downloadSymbols' failed with error: 'Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.'
Details:
System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.NavServerRequestHandler`1.<HandleAsync>d__5.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.NavServerRequestHandler`1.HandleAsync(T request, Int32 requestId, CancellationToken cancellationToken)
at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.RequestHandlerBase`1.<HandleAsync>d__9.MoveNext() in F:\a\760\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\MessageProtocol\RequestHandlerBase.cs:line 43
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.Nav.EditorServices.Protocol.RequestRegistry.<Process>d__6.MoveNext() in F:\a\760\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\Endpoints\RequestRegistry.cs:line 64

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


BC Repository Naming Conventions

$
0
0
Does anybody have any good ideas or references to Repository Naming Conventions, but especially for Business Central / NAV2018 development?

These can be on different databases for different companies, but for the AL extensions I am thinking of an easy documentation generator, version view, etc... Currently using bitbucket for the git repo's, but I have a feeling this will grow to a lot of repo's, for too many small projects.

Thanks!

Can't rearrange a page

$
0
0
I want to be able to rearrange page 99000852 with the click on the column titles like with page 255.
What is the difference?
dxgt7o70d5tu.png

Filtering flow fields with Date

$
0
0
Is it possible to filter a date flow field?
Sum("Sales Line"."Outstanding Quantity" WHERE (No.=FIELD(Style),Document Type=CONST(Order),Shipment Date=xxxxxx))

I want the shipment date to be a date range example 09/01/11 to 09/30/12
or possibly Today +30 days??

Thanks

Time sheets on Assembly orders

$
0
0
Hi Guys,

I am working with Time sheets, and wondering why the functionality is not working, when linking to a assembly order. As far as I can see, there is no setup missing, you are just not able to register time, on an assembly order, directly from the created time sheets, is this true?

I find it kind of odd and not very user friendly, only to be able to register time directly on the assembly order, and not from the time sheet.

I am right that NAV/BC is not able to register time from time sheets to assembly orders?

Kind regards
Morten

Invoice purchase of Serial No. after Sales Shipment

$
0
0
(Nav2013 DE version).

Hi all. So an item in my system was purchased with a quantity of 60, and 60 serial numbers.

We received an invoice for 10. We posted that and applied it to 10 of the serial numbers.

We received an invoice for 50. We are now posting a purchase invoice for the rest. Doing this with the "get Receipt Lines" functionality.

However some of this 50 units have already been shipped in sales.

When posting the Purchase Invoice I get the error "Item Ledger Entry No. must have a value in Reservation Entry: Entry No.=1290419, Positive=Yes. It cannot be zero or empty."

The purchase order is still there with "Qty. Received not invoiced" set to 50. The item ledger entry for the serial number related to Reservation entry 1290419 is OPEN=FALSE and "Remaining Quantity" = 0 and "Invoiced quantity" = 0.

The field "Item Ledger Entry No." is not editable so if I try to enter the Item Ledger Entry Number of the Purchase of that Serial Number into the reservation entry myself in the field "Appl.-to Item Entry", I get the error "The remaining Quantity in Item Ledger Entry 856433 is too low to cover Quantity (Base)".

I can not remember ever having a problem posting a purchase invoice against an already sold item before in Nav however.


can not open business cental on browser

$
0
0
HI all ,
i have created package and deploy on local server successfully .but when it opens in browser it will show only logo of business central.and nothing will happens after that why it not showing web client of BC.

Exporting multiplication sign in dynamics nav

$
0
0
Hih Folks -

One of customer has a item description as SS MAT 140 TERRY PRO 18 WHT 39 × 80 where x is a actual multiplication sign and not X from the keyboard. When I create a simple dataport and export the description it comes as "SS MAT 140 TERRY PRO 18 WHT 39 í 80" where x is substituted with strange character.

Is there any way to get the actual multiplication sign to show on notepad. I know that Alt+0215 on notepad will give me the multiplication sign but I am not sure how to program the Alt+0215 in NAV.

Any help is highly appreciated.

Thanks
RJ.

Scheduler Replication Counter

$
0
0
Hello,

I am trying to replicate sales transaction from the store server to Head office, i have added replication counter on the transaction header table on the scheduler job and when replicate it say " Nothing to do" when i remove the replication counter it replicates, and when i add the counter again it will replicate to the last counter which was updated Normally.

how do i fix so that it works with counter.

Nav 2013 R2 & LS retail

Replication Counter

$
0
0
Hello,

I want to replicate the store sales transaction to Head office server, i have setup scheduler job using replication counter on the table when i add the replication counter and run the job there is message nothing to do, but when run normally without the counter the sales replicates.

Navision 2013 R2 & LS Retail.


Dynamics NAV 2017 Office.dll is being randomly deleted on some user's machines

$
0
0
To email out of Dynamics NAV 2017, the Office dll is located in the folder: c:\Windows\assembly\GAC_MSIL\office\15.0.0.0__71e9bce111e9429c. The Office dll is the only file in the folder.

In the last few days, for some, but not all users, the entire 15.0.0.0__71e9bce111e9429c folder is being deleted along with the Office dll, of course. Users are unable to email out of Outlook until someone manually recreates the 15.0.0.0__71e9bce111e9429c folder and copies the Office dll into it. Within the last week, this has happened twice to some of our users and once for others, while most remain unaffected.

Does anyone have any ideas about what could be causing this odd behavior?
Viewing all 14259 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>