Quantcast
Channel: Forums - Recent Threads
Viewing all 143529 articles
Browse latest View live

Remove variant name from the product name field of purchase order lines

$
0
0

Hello,

Currently system is populating product name along with the variant name in the product name field of purchase order lines. 

Check the PO Line 1 in above picture,

Supply of Main Door Frames is a product name&

DO0001 :2250 X 1150 MM: : : is a Variant Name

But I am having a requirement to display only the product name instead of both. Is there any setup to accomplish my requirement?

Thank you.


How to Embed PowerApp Canvas application in CRM Online V9 Portal Page.

$
0
0

Dear Team

I want to embed a PowerApp Canvas application in CRM Online V9 Portal Page. Is it possible? How we can do it. either we use iframe or another method.

Thanks

Authorization failed in SDK for users

$
0
0

We have created a new org in Dynamics and we have system administrator role to this org and able to access through CRM portal.

 When we try to authenticate the users through the code, we are facing the following exception

 "An error occurred when processing the security tokens in the message:Authorization failed"

 We tried to get the "RetrieveOrganizationsResponse"  for my credentials and I don’t find our new org in the response.

We tried to access the org using the service account that has system admin access to our org and we are able to authorize without any exception.

Are we missing any setting on the users permissions ? 

User creating a note in the Notes Pane showing as 'undefined'

$
0
0

Hi all,

We have a custom entity to track our recruitment activities, and since only recently we're experiencing issues with the notes pane. When posting a note, it does not show the user which posted it. Instead, it shows 'undefined'. This is quite an impactful issue, since we cannot see who made notes to a specific object. Example screenshots below.

In the Hub interface it shows the following:

If I open the exact screen in  the old interface, I see the following:

I masked the username of a colleague of mine, but it is the username that posted the note and should be visible in the Hub interface. When I try to click the user icon in the Hub interface (showing the 'undefined' user), I get the following error message:

Record Is Unavailable

The requested record was not found or you do not have sufficient permissions to view it.
Technical Details
Error Code: 2147746327
Session Id: 0f74bbe1-ddf3-495c-a0ea-0d0ab0678fb2
Activity Id: f8ca11e0-c6db-45b3-8c68-45767a1964a3
Timestamp: Mon Feb 18 2019 12:54:40 GMT+0100 (Central European Standard Time)
systemuser With Id = 9d5f2641-8b36-4e77-970f-f4b732de30d4 Does Not Exist
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, InvocationContext invocationContext, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext, Dictionary`2 optionalParameters)
 at Microsoft.Crm.Extensibility.OData.CrmODataExecutionContext.Execute(OrganizationRequest request)
 at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.RetrieveEntityWithRelatedRecords(CrmODataExecutionContext context, EntityReference primaryEntityReference, String[] columns, RelationshipQueryCollection relatedEntitiesQuery)
 at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.RetrieveEdmEntity(CrmODataExecutionContext context, String edmEntityName, String entityKeyValue, ODataQueryOptions queryOptions)
 at Microsoft.Crm.Extensibility.OData.EntityController.GetEntityImplementation(String& entityName, String key)
 at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)
 at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)
 at lambda_method(Closure , Object , Object[] )
 at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
 at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
 --- 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 System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
 --- 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 System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
 --- 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 System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()


I am a Systems Administrator, so rights shouldn't be an issue. Besides, this has worked fine before. The only thing I can remember changing around the time this error occurred is assigning some of our users a Microsoft Flow Free license in Office 365, so that they would show up as 'Enabled Users' in the Users menu. But I cannot image that being in any way related to this, since they are not the only people that I added this way in the past. Also, the user that posted this note has been active for months without any issues.

Can any of you help me using this description and perhaps the error message? Many thanks in advance!

-Tommy

Managed solution import error

$
0
0

Hi!

I have an issue related to a virtual entity when importing a managed solution upgrade where I have added a new dataprovider in the solution. The entity is already present on the instance but when importing it checks the entity and abort the import due to the new dataprovider is missing even though its included in the solution. It fails before the new dataprovider is installed.

Does anyone have som experience with this issue?

OIOUBL Dom Management missing in Business Central

$
0
0

Hello Guys,

As the OIOUBL functionality from nav dk has been moved to extension, do you have any idea what object could have replaced the old Codeunit 13601 OIOUBL DOM Management? Such object does not exist in Business Central (in extensions) and I can't find neither any replacement nor the documentation to it. 

The difference between the standard XML Dom Management is only in the one parameter in AddElement function, nevertheless I cannot use the standard object...

Thanks

Mateusz

Alternative for shared variables in plugin to pass data in context

$
0
0

We have one plugin(i.e. plugin1) which is triggered on update of the Entity A. In Plugin1 we are updating another entity B. On update of Entity B we have 3 plugin registered(Plugin2, Plugin3 and Plugin4). In Plugin 4 we were reading shared variables added in Plugin1. This is working fine in CRM 2011, now we migrated to D365. As change in shared variables in D365, shared variables update of entity 1 will not available to another entity update if Depth is 2. 

Is there any other way to pass variables from 1 entity update plugin to another entity update plugin?

Please advise.

Regards,

Diksha

SharePoint intranet URL is not getting validated in CRM 2016 after having valid certificate in both the servers

$
0
0

hi,

SharePoint intranet URL is not getting validated in CRM 2016 after having valid certificate in both the servers.

Error log:

<site>
 <url>https://SP.Org.com/sites/crm</url>
 <exception>Certificate: CN=testcrm.Org.com, OU=IT, O=testcrm.Org.com, L=UK, S=UK, C=UK with FindType: FindBySubjectDistinguishedName was not found in Store: My at StoreLocation: LocalMachine.</exception>
 <errorcode>-2147088205</errorcode>
</site>


Dynamics 365 For Finance and Operations PU23 won't update, fails on preparation stage On Premise

$
0
0

Hello,

I've tried to update On-Premise Sandbox environment from PU22 to PU23  through LCS and it fails on preparation stage. PU21 to PU22 worked fine before that. Shared drives to which deployable packages are downloaded don't indicate any activity and merge.log shows this error:

Install metadata packages script started
Microsoft.Dynamics.AX.Servicing.OnPrem.MergeException: Execution of script D:\T\TempDataFolder\OnPrem\scjh1pn1.sac\res\DepPack\AOSService\Scripts\InstallMetadataPackages.ps1 failed.
Exit code: 1.
Errors:
7Zip failed to extract dynamicss packages reference file.
At D:\T\TempDataFolder\OnPrem\scjh1pn1.sac\res\DepPack\AOSService\Scripts\InstallMetadataPackages.
ps1:148 char:7
+             throw "7Zip failed to extract dynamicss packages referenc ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (7Zip failed to ...reference file.:String) [], Ru 
   ntimeException
    + FullyQualifiedErrorId : 7Zip failed to extract dynamicss packages reference file.
 

   at Microsoft.Dynamics.AX.Servicing.OnPrem.ScriptHelper.RunScript(String script, Dictionary`2 parameters, String& output, String& errors)
   at Microsoft.Dynamics.AX.Servicing.OnPrem.OnPremAXSFService.InstallAXMetadataModule(String deployableAOS, String webroot, String resultPath, String zippedPackage)
   at Microsoft.Dynamics.AX.Servicing.OnPrem.OnPremAXSFService.ServiceSFApp(IServiceFabricServicingOptions options)
Zipping the log [D:\T\TempDataFolder\OnPrem\scjh1pn1.sac\res\log] started


Export contacts from marketing list exports as .xls

$
0
0

Has anyone run into this? If you go to a marketing list and open the members list (Contact Associated View) and export to excel, it will not open - it complains about invalid format. It exports as .xls but looks more like html when you open it in notepad for example. We are using Excel 2016 and it is unable to open this CRM generated file. This appears to be the only place in CRM where an Export to Excel does not generate an .xlsx file.

Thanks, Kevin

Ribbon Work Bench Error "Duplicate Button Id Detected and removed"

$
0
0

Hi Team,

I have 1 custom button on lead form.

I copied that button from Ribbon and paste on "Homepage grid" section of Ribbon because i require same functionality.

After that i tried to publish it but its giving error like "Duplicate Button Id Detected and removed".

After that i delete that button from "Homepage grid" section then also at the time of publish getting error like "Duplicate Button Id Detected and removed".

Record Level Security

$
0
0

I used record level security using Purchasing agent role and PurchTableusing query and field createdby of value x
also I used the same role and PurchReqTable using query and created by field using the same value x (which is the user id)
I opened ax using the user id x and found the requested results (only po's & Pr's related to this user id are shown)

but when using the same setup and role, only I changed the field in the query, instead of created by I used orderer field in PO and preparerfield in PR
the result is empty. No records are shown.
Please take into consideration that I linked the user id to a worker in relations.

Kindly advise

[C# Dynamics CRM/365] - Set observe business closures on the user weekly calendar calendar via plugin

$
0
0

Hi, I'm facing a problem with the creation of user calendar via plugin. So, could I set the option "Observe" on the 'Business Clousures' weekly calendar field via C# plugin? (image attached)

I am already able to create the calendar and set all other options, but for some reason, this 'Business Clousures' field does not exist in the Calendarrules entity metadata, as a consequence I can not set it

Has anyone managed to do this? Thanks in advance

Field Level Security Issues

$
0
0

I have a field like emailaddress. It has some field level security.

I am fetching data with the help of SSIS package from CRM.

I got blank field.

But when i am seeing in front end with same user, i saw it.

Please provide me solution of this.

AX2012R3: Transfer order receipt for stock being sent using Transfer order picking List registration

$
0
0

HI All,

I have a client who would like to use the Transfer order process to move stock from one warehouse to another, both warehouses are being setup as WHS enabled.

When they issue stock from a Source warehouse, they are not using WHS Picking Work instead using Picking list/Picking list registration on the Transfer order to issue stock reason being Warehouse is to small (They are not keen to use WHS pick/put work). However, they would like to receive stock into a Destination warehouse using WHS process using handheld device, as the receiving Warehouse has appropriate hardware to support the handheld process.

I am struggling to receive Transfer order stock using 'Transfer order registered and put-away' menu item, system suggested to receive stock using License plate receive menu item. When I use the 'License plate receive' menu item, system does not recognise the License plate number.

Is there any standard mobile device menu item that I can use to receive the stock from a Transfer order and generate put-away work?

I am sure this scenario must be discussion/reported previously however, I am unable to find the correct post. 

Any help would be highly appreciated.

Thank you

Mo


JavaScript function not working in UCI Sales Hub

$
0
0

Hi,

I tried creating an address autocomplete function using Google Maps.

It works in the old "Sales" Application, but does not work in the UCI App "Sales Hub".

The code that is called is as follows:

       function initAutocomplete() {

            autocomplete = new google.maps.places.Autocomplete(
                    /** @type {!HTMLInputElement} */(window.parent.document.getElementById("address1_composite_compositionLinkControl_address1_line1_i ")),
                { types: ['geocode'] });

            autocomplete.addListener('place_changed', fillInAddress);
        }

With the error:

"InvalidValueError: not an instance of HTMLInputElement"

So it seems like I am not accessing the input element the right way.

Can anyone help me out? Thanks!

Cancel Order - can't find field desciption

$
0
0

Hi All,

In system exist standard form for order cancel.

I'd like to send automatically a email with order details such as description and cancel date.
how can i achieve that.

Thanks a lot.

BC on Cloud Web services :: Unauthorized

$
0
0

Hi all,

I am tying to access a webservice which I've published on Business Central (on cloud not on premise) but can't manage to authenticate ... I am getting error 401 : Unauthorized. 

I also tried using Basic Auth (via 'Postman') and tried to use my user's Web Service Access Key as a password which I generated directly from the user card in BC.

From the effective permissions, I can see that the user has valid permissions on the object published (also has permission SUPER among others). 

I am also using the web service url with the tenant id i.e. ; 

https://api.businesscentral.dynamics.com/v1.0/1e8d4a09-820e-xxxx-xxxx-xxxxxxxxxxxx/sandbox/WS/CRONUS%20NL/Codeunit/MoveData

Any ideas of what could be wrong here? 

Thanks in advance!

Dynamics 365 BPF to get value of the stagename after switch process.

$
0
0

Hello All Experts,

I have two different BPF activated on one of the custom entity.

first scene :- Before upgrade from 8.2 to 9.1 

whenever the user traverse through the stages then it get automatically populated on stepname and we used to get that and fill the record in the custom entity form.

second scene :-Before upgrade from 8.2 to 9.1 

the same is not getting populated in the stepname and we are unable to capture the stepname and save it to the custom entity record.

Like wise if user switch process then also we want to save the stepname in the record with respective stepname.

Management Reporter on BC

$
0
0

Hi

When will MR be available on Business Central? 

Viewing all 143529 articles
Browse latest View live


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