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

Rename 'generate payment' archive

$
0
0

Hello guys, 

We have implemented electronic funds transfer using MT101 and we have noticed something funny. When a user clicks generate payment, it creates an archive name 1_.zip in the GER folder. The archive contains the MT101 file, payment advice and what not. I then use SSIS to unzip the archive, process the MT101 and send it to our bank. 

Until today, I never knew that D365 actually overwrites this archive every time a user hits the generate payment button instead of creating another archive with a meaningful unique name (the horror). Can anyone help ? Can this file be generated with a unique name ? 


Web services issue in ax 2012 r3

$
0
0

Hi guys,

I have created a web form using visual studio 2010 and getting the customer id  in the listbox1 by using one button in the form and based on the value selected the customer name will be showed in the second list box2 by using a servicegroup from ax 2012.

Upto this this was working well and good for me.

Now now I have created my own datacontract class and tried to get the custname,Custgroupid,defaultlanguageid  in the form and updated that service group and deployed it again.

In my visual studio also i updated the service reference  and wrote the logic for the third button and looks good.

But i am getting error in the code of the second button.

private void button2_Click(object sender, EventArgs e)

{
    BkCustomAXservice.BKCustomserviceClient servclient = new BkCustomAXservice.BKCustomserviceClient();
    string[] strItem = null;

    int i = 0;

    strItem = new string[listBox1.SelectedItems.Count];

    //Get selected customer ids and prepare a string array

    foreach (Object selecteditem in listBox1.SelectedItems)

    {

        string item  = selecteditem as string;

        strItem[i++] = item;

    }

 

    //Use the string array to get the “Customer Id: Customer Name” Combo data

    string[] custIds = servclient.retrivecustomernames(new BkCustomAXservice.CallContext(), strItem);
    //string[] custIds = servclient.retrivecustomernames(new BkCustomAXservice.CallContext(), strItem);
           

    listBox2.Items.Clear();

    foreach (string custId in custIds)

        listBox2.Items.Add(custId);

}

But i am getting error in the below line,

string[] custIds = servclient.retrivecustomernames(new BkCustomAXservice.CallContext(), strItem);


Error    1    Cannot implicitly convert type 'WindowsFormsApplication1.BkCustomAXservice.BKCustomservicecontract[]' to 'string[]'    c:\users\bharathk\documents\visual studio 2010\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs    52    24    WindowsFormsApplication1


Please advise.
Regards,
AxTechie 2120

Does anyone no the mapping of fields from talent to CDS.

$
0
0

I'm trying to field fields from talent in CDS but can't find quit a lot of fields. For instance all fonetic name fields, search name and know as. I can't find.

Does anyone know if there is a mapping document or other way to find out which fields is located in which entity/field in CDS.

Thanks in advance.

How to integrate D365 role center with power BI

$
0
0

How to integrate D365 role center with power bi ?

Inventory dimension field Where??

$
0
0

 Hi all AX-lovers!

Could someone tell me where(which table) I found this field ; Site in Warehoue Items form??

Thanks in advance/ Br _ PSTKAR

Is there that how to save information at once in grid?

$
0
0

Hello! :)

Thank you for your attention.

-

I am using the temp table of in memory. before show this to user, I make each information from other tables into a temp table. And then I show this on grid.

And then I would like to save the informations on grid at once when push the save button.

(I don't want to save every over record of grid when move the record)

-

I need to save these information from temp table to other regular tables again.

-

Is there that how to save information at once in grid?

OLM to PST Converter

$
0
0

I have thousands of mails in my Outlook. I have archived them followed by deletion from the server. Now, my office needs me to switch to Windows system instead of the currently used MacBook. I have tried importing the exported mails in OLM files to Windows Outlook, to which I failed everytime? Is there any trick I am unaware of?

Worker and register do not have a common address book

$
0
0

Hi,

When I try to "Validate devices for activation", I'm getting below message:

"Pre-Activation validation completed for device XXX and staff 999. Validation: Failed, Messages: <"Worker and register do not have a common address book.">"

What setup should I look at?

Thanks.


Error when assigning a record to a user in a different BU through workflow, but works on manual assigning.

$
0
0

I have a root BU A and child BU B. When a user in BU B assigns a lead record to a user in BU A through workflow I am getting read access error and the record is also not assigned. The workflow is executed as owner of the workflow (workflow owner is administrator) and lead has assign permission is set as organisation level. Below is the error message, but the assigning works properly if I do it manually using Assign button.

[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, 
PublicKeyToken=*******]]: SecLib::AccessCheckEx2 failed.
Entity Name:lead,OwnershipTypeMask:UserOwned, ObjectId: ***************************,
OwnerId:***********************************, OwnerIdType:8, OwnerData: accessMode= 0, roleCount=2,
privilegeCount=740 and CallingUser:**********************************,
CallerBusinessId:********************************* PrincipalData: accessMode= 0,
roleCount=1, privilegeCount=629. ObjectTypeCode:4,
ObjectBusinessUnitId:**********************************,
AccessRights: ReadAccess. Computed rightsToCheck=ReadAccess,
grantedRights=8, hsmGrantedRights=None, grantedRightsWithHsm=8,

How to config the Data task automation Export Task ?

$
0
0

Hi all,

I want to create a Export Data Project with Data task automation. But official document has no example. 

My question is does the export task also have to add a DataFile node to manifest.xml? Must the entity I want to export be in the DataFile?

This is my manifest.xml:

<?xml version='1.0' encoding='utf-8'?>
<TestManifest name='Data management demo data set up'>
  <SharedSetup>
  	<!-- <DataFile ID='SharedSetup' name='Demo data 8.0 900 Financial transactions HQEU'  assetType='Data package' lcsProjectId=''/> -->
    <JobDefinition ID='ExportJobDefinition_2'>
      <Operation>Export</Operation>
	  <Truncate></Truncate>
      <Mode>Export async</Mode>
	  <ConfigurationOnly>No</ConfigurationOnly>
      <BatchFrequencyInMinutes>1</BatchFrequencyInMinutes>
	  <NumberOfTimesToRunBatch >2</NumberOfTimesToRunBatch>
      <UploadFrequencyInSeconds>1</UploadFrequencyInSeconds>
      <TotalNumberOfTimesToUploadFile>1</TotalNumberOfTimesToUploadFile>
      <SupportedDataSourceType>Package</SupportedDataSourceType>
      <ProcessMessagesInOrder>No</ProcessMessagesInOrder>
      <PreventUploadWhenZeroRecords>No</PreventUploadWhenZeroRecords>
      <UseCompanyFromMessage>Yes</UseCompanyFromMessage>
	  <LegalEntity>DAT</LegalEntity>
    </JobDefinition>
	<EntitySetup ID='TestEntitySetup'>
		<Entity name='Fleet Management Customers'>
			<SourceDataFormatName>CSV</SourceDataFormatName>
			<ChangeTracking>Yes</ChangeTracking>
			<PublishToBYOD></PublishToBYOD>
			<DefaultRefreshType>Full push only</DefaultRefreshType>
			<ExcelWorkSheetName></ExcelWorkSheetName>
			<SelectFields>All fields</SelectFields>
			<SetBasedProcessing></SetBasedProcessing>
			<FailBatchOnErrorForExecutionUnit>No</FailBatchOnErrorForExecutionUnit>
			<FailBatchOnErrorForLevel>No</FailBatchOnErrorForLevel>
			<DisableEntity>No</DisableEntity>
			<SkipStaging>Yes</SkipStaging>
			<ParallelProcessing>
				<Threshold></Threshold>
				<TaskCount></TaskCount>
			</ParallelProcessing>
        </Entity>
	</EntitySetup>
  </SharedSetup>
  <TestGroup name='Set up Export'>
    <TestCase Title='Create Export' ID='008' RepeatCount='1' TraceParser='off' TimeOut='20'>
	  <EntitySetup RefID='TestEntitySetup' />
	  <!-- <DataFile RefID='SharedSetup' /> -->
	  <JobDefinition RefID='ExportJobDefinition_2'>
	    <LegalEntity>DAT</LegalEntity>
	  </JobDefinition>
    </TestCase>
  </TestGroup>
</TestManifest>


Permissions required for Power Platform

$
0
0

I'm Dynamics 365 service administrator role in tenant and I'm trying to access PowerPlatform Admin Center(New) but it says "Power platform admin center : Unauthorized" Do I need any additional permission or settings to get the access?

 

 

Production Start error - Quantity 0.00 cannot be updated with inventory reference Prod. picking list journal because inventory transactions with status On order, Reserved ordered, Reserved physical or Picked are insufficient.

$
0
0

Hi All,

When I start Production I receive this error below.

Quantity 0.00 cannot be updated with inventory reference Prod. picking list journal because inventory transactions with status On order, Reserved ordered, Reserved physical or Picked are insufficient.

Our company used a standard cost. Please see the setup of item model groups below.

when I check the transaction of item 230056B. I see on the order is 5.7 and total available is -5.7. If I enter the quality in the stock I can start production. But you know When I start production some material not yet delivery warehouse.

Where do I setup default warehouse for Production ?

$
0
0

Dear All,

Anybody know where do I setup default warehouse for Production please support.

1. I want to setup default warehouse , location when I start production order.

2. I want to setup default warehouse , location when I post a picking list.

3. I want to setup default warehouse , location when I report finish. 

Thanks

Pham

Purchase order

$
0
0

I raised a po and invoice also. It's showing as financial cost but I want to show as expenses.

Ex item (pens) raised po and invoice but I need to show a amount as a Expenses.

Please needful

Thanks,

OJ

Dynamics CRM--> Azure Blob Storage--> 40 MB file upload gives Timeout Error. Custom Plugin on PostCreate of annotation

$
0
0

In Dynamics CRM Online, We have Custom Solution build which stores Large file as block-blobs on Azure Blob Storage. When I try to upload File of 40 MB I get Timeout Error. Error Log below.

What I have read is that

Uploading a block blob that is no more than 256 MB (64 MB for requests using REST versions before 2016-05-31) can be a single write operation using Put Blob. However, uploading a larger blob requires some more effort. Break it down in blocks of max 4 or 100MB depending on the REST API version that you use.

 

As mentioned above 256 MB file should not break it down but still I get Timeout. Here is the method I believe is causing the Issue.

public HttpWebRequest CreateRESTRequest(string method, string resource, byte[] requestBody, SortedList<string, string> headers = null,
            string ifMatch = "", string md5 = "")
        {
          DateTime now = DateTime.UtcNow;
          string uri = Endpoint + resource;

          HttpWebRequest request = HttpWebRequest.Create(uri) as HttpWebRequest;
          request.Method = method;
          request.ContentLength = 0;
          request.Headers.Add("x-ms-date", now.ToString("R", System.Globalization.CultureInfo.InvariantCulture));
          request.Headers.Add("x-ms-version", "2017-04-17");

          if (IsTableStorage)
          {
            request.ContentType = "application/atom+xml";

            request.Headers.Add("DataServiceVersion", "1.0;NetFx");
            request.Headers.Add("MaxDataServiceVersion", "1.0;NetFx");
          }

          if (headers != null)
          {
            foreach (KeyValuePair<string, string> header in headers)
            {
              // This control requires that we set the ContentType through its property.
              if (header.Key.Equals("Content-Type", StringComparison.InvariantCultureIgnoreCase))
              {
                request.ContentType = header.Value;
              }
              else
              {
                request.Headers.Add(header.Key, header.Value);
              }
            }
          }

          if (requestBody?.Length > 0)
          {
            request.Headers.Add("Accept-Charset", "UTF-8");
            request.ContentLength = requestBody.Length;
          }

          request.Headers.Add("Authorization", AuthorizationHeader(method, now, request, ifMatch, md5));

          if (requestBody?.Length > 0)
          {
            request.GetRequestStream().Write(requestBody, 0, requestBody.Length);
            request.GetRequestStream().Close();
          }

          return request;
        }

-------------------------------------
Uploading Test File.pptx failed Reason: "The plug-in execution failed because no Sandbox Hosts are currently available. Please check that you have a Sandbox server configured and that it is running.\r\nSystem.ServiceModel.CommunicationException: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:03:30'. ---> System.IO.IOException: The write operation failed, see inner exception. ---> System.ServiceModel.CommunicationException: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:03:30'. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine\r\n at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)\r\n at System.ServiceModel.Channels.SocketConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)\r\n --- End of inner exception stack trace ---\r\n at System.ServiceModel.Channels.SocketConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)\r\n at System.ServiceModel.Channels.BufferedConnection.WriteNow(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, BufferManager bufferManager)\r\n at System.ServiceModel.Channels.BufferedConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)\r\n at System.ServiceModel.Channels.ConnectionStream.Write(Byte[] buffer, Int32 offset, Int32 count)\r\n at System.Net.Security.NegotiateStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)\r\n at System.Net.Security.NegotiateStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)\r\n --- End of inner exception stack trace ---\r\n at System.Net.Security.NegotiateStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)\r\n at System.Net.Security.NegotiateStream.Write(Byte[] buffer, Int32 offset, Int32 count)\r\n at System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)\r\n --- End of inner exception stack trace ---\r\n\r\nServer stack trace: \r\n at System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)\r\n at System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout, BufferManager bufferManager)\r\n at System.ServiceModel.Channels.FramingDuplexSessionChannel.OnSendCore(Message message, TimeSpan timeout)\r\n at System.ServiceModel.Channels.TransportDuplexSessionChannel.OnSend(Message message, TimeSpan timeout)\r\n at System.ServiceModel.Channels.OutputChannel.Send(Message message, TimeSpan timeout)\r\n at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout)\r\n at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)\r\n at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)\r\n at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)\r\n\r\nException rethrown at [0]: \r\n at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)\r\n at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)\r\n at Microsoft.Crm.Sandbox.ISandboxHost.ExecuteAndReturnTraceInfo(SandboxCallInfo callInfo, SandboxPluginExecutionContext requestContext, Guid pluginAssemblyId, Int32 sourceHash, String assemblyName, Guid pluginTypeId, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, String assemblyContents, Boolean returnTraceInfo)\r\n at Microsoft.Crm.Sandbox.SandboxPlugin.Execute(SandboxClient client, SandboxCallTracker callTracker, IExecutionContext requestContext, String assemblyContents, Boolean returnTraceInfo)\r\n at Microsoft.Crm.Sandbox.SandboxCodeUnit.ExecuteInternal(SandboxClient client, IExecutionContext context, SandboxTraceContext sandboxTraceContext, SandboxCallTracker callTracker, Guid parentExecutionId, String assemblyContents, Boolean& isSafeToRetry, Boolean& executeDone)\r\n at Microsoft.Crm.Sandbox.SandboxCodeUnit.<>c__DisplayClass24_0.<Execute>b__0(): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #D2641555"


Tracing batch series for product with serial numbers

$
0
0

Dear All,

I have encountered the following problem for tracing Products:

1. Product A is traced by Serial Numbers (or Batch Numbers per 1 PCS) and consists of BOM line with Component K and qty: 5 pcs/1 pcs of Product; 

2. Proceeding Production order for 2 pcs of Product A - we have picked 10 pcs of Component K taken from 3 different batches; 1000; 1010 and 1020.

My question:

Is there any functionality allowing assignment batches of Component K used for production of given piece of Product A ? Can I see it in standard 'Trace' screens and trees ?

For example:

Product A SN: 00001 - consist of 2 pcs of Component B batch: 1000 and 3 pcs of Component K batch: 1010

Product A SN: 00002 - consist of 3 pcs of Component B batch: 1000 and  pcs of Component K batch: 1020

If case was already discussed - sorry but I couldn't find appropriate discussion. Any help/suggestion/link kindly appreciated

Witold Adamiak

Display a reminder message for users

$
0
0

Hi, 

Is there a no coding way to display a warning message for users when they change certain fields? It should not stop saving the record, just display a message to remind them another action they have to do. 

Thanks

Dynamics 365 in Microsoft Teams

$
0
0

Hello,

Yesterday I started to play around with the public Preview och Dynamics 365 in Microsoft Teams. Everything works fine and dandy. But when I try to sign in to the Sales Bot I get stuck on authenticating. Is this a known issue and is there a workaround at the moment?

Br Hampus

How to get caller of a workflow form

$
0
0

Hi ,

The issue is when i process a purchase order for workflow i.e.

Click on workflow button from action pane there are button named approve/reject(form is purchaseorderdripdialog).

When we click on that it redirect to a new form  i.e. the workflow form i e. Workflowworkitemactiondialog

Which consists of a comment box.

Requirement is to make that comment box mandatory whenever the workflow is for po

But Everytime i try to get the caller i get the same workitemactiondialog (form which i have made the extension and wrote tge code in close ok method)

Help me to get the caller of original form

Batch log showing only 500 messages.

$
0
0

Hi All,

I am posting around 10000 payment journal transactions using multi threading task. In each task log i can see only 500 messages but each task posted 2500 transactions. I heard info limit will 10000 but here its printing only 500. Can anyone share your knowledge on this ?

Thank you

Guru

Viewing all 143529 articles
Browse latest View live


Latest Images

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