Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all 72043 articles
Browse latest View live

Cluster index property in table in D365FO

$
0
0

Hi All,

Can you please let me know how Cluster Index is work in Table? Means how it will work in Database?

When to use exactly Cluster Index?

I mean to say shall I use both Primary and Cluster index both in Table at a time ?

Kindly give me an example.

Please give me more shed on this.

Thanks!


Purchase Receiving Performance Reporting

$
0
0

Hello

I wanna report Item Receiving performance for purchase order on WMS module. 

is there any function for get this report?

I think labour standarts designed for created and finished works.

Cast generic Object to class

$
0
0

I am currently trying to cast a generic object to a specific class, with no luck yet.

Here is the scenario. I am receiving a generic object, and need to convert it to a specific type of a class. I tried the below, but none is working. Any ideas on how to make this work would be greatly appreciated.

class speicificClass()
{
str parm1, parm2;

public str parm1(str _parm1 = parm1)
{
parm1 = _parm1
return parm1
}

public str parm2(str _parm2 = parm2)
{
parm2 = _parm2
return parm2
}
}

Object genericClass;

SpecificClass specificClass;


//method 1 - cast generic to specific
specificClass = genericClass as SpecificClass();

//method 2
specificClass = genericClass;


AIF - Access Denied: You do not have sufficient authorization to modify data in database.

$
0
0

Creating purchase requisitions through AIF I am getting the following error:

cannot select a record in Purchase pools (PurchPool).Access Denied: You do not have sufficient authorization to modify data in database. 

I have created a custom Privilege, duty and role to give invoke access for the custom service I have created for purchase requisitions creation. I was expecting the user access to table would flow from the actual primary role(assigned for user to access AX thru desktop client) that is assigned to user. I custom role would be giving access only to the custom AIF service method.

I am not getting any error when accessing the PurchReqTable, as the access rights are assigned from the users primary role (assigned for user to access AX thru desktop client).

the user is able to create Purchase Requisition from the AX client. also able to access the Purchase pools records from the Purchase Requisition form.

My question is, if the user is able to access the PurchPool table from the AX client, then they should have access even through the AIF service. is that correct? 

P.S: Purchase pool is a customised field in PurchReqTable.

BaseEnum in Form

$
0
0

Hi Community,

I have an BaseEnum "VehicleTyp" with the Elements "Car" (1) and "Truck" (2).

I have a Form "Rentals"

In that Form the EnumValue is not choosen, since I started the values with 1 and 2.

But I'd like to have a text in there, which say's "Choose" but without making a new Element.

I tried to override the initValue() in my rentalTable by saying "this.vehicleTyp = "Choose" ;  but that doesn't make sense at all... just wanted to Show that I am thinking on how I can get it fixed.

Any recommendations ?

Thanks in advance

Update duplicated row from InventBatch

$
0
0

Hello AX world,

I'm trying to apply a modification made for an InventBatch row to all row with same InventBatchId, please check picture below:

If i Modify the expDate of N°1LOT TEST1, then the new expDate will be modified for all others row where "InventBatchId == N°LOT TEST1"

Thanks in Advance,

Posted Purchase Order Invoice, Free text invoiced don't have voucher transaction

$
0
0

Dear all,

I faced strange issue: after posted Free text invoice and PO invoice, there is no voucher transaction created.

Does anyone know this case? Please advice me.

Thank and best regards,

Thu

FinancialDimension in separate grid in AX view

$
0
0

Hello All,

 I am going to create an AX view which will shows all GeneralJournal ledger Information. But I have one challenge that I need to show all financial dimensions in separate column.  For Example: I have LedgerDimension: 120001-BUX- CCX-DEPXX-CusXX

But I have to show in view like below-

Please help me on this how to do this.


Cost price is not updating properly for Item (products)

$
0
0

Hi

While doing purchase order cost price is updating , but doing sales order cost price not updating for inventory,

Inventory model is FIFO method ,

please advise to me,

thanks in advance.

Venka 

   

AIF - Access Denied Error

$
0
0

Creating purchase requisitions through AIF I am getting the following error:

cannot select a record in Purchase pools (PurchPool).Access Denied: You do not have sufficient authorization to modify data in database. 

the user is able to create Purchase Requisition from the AX client. also able to access the Purchase pools records from the Purchase Requisition form.

My question is, if the user is able to access the PurchPool table from the AX client, then they should have access even through the AIF service. is that correct? 

Unable to cast object of type 'System.Object[]' to type 'Microsoft.Dynamics.Ax.Xpp.Common

$
0
0

Hi,

Can anyone help me with this "Unable to cast object of type 'System.Object[]' to type 'Microsoft.Dynamics.Ax.Xpp.Common"? I encountered this error when I run the process through batch job. But when I run the process manually, error doesn't exist.

Thanks in advance.

BR,

Ron

number sequence business unit wise

$
0
0

how can i create different number sequence for the purchase order to be business unit wise (every business unit has a separate number sequence)

Object Server 01: The license information can not be decoded.

$
0
0

One of our client has changed their domain due to some reasons. Now, we are reconfiguring their AX environments.

I am facing below error while starting AOS Service.

Any idea?

"Object Server 01: The license information can not be decoded."

Error In batch class execution

$
0
0

Hello,

We have integrated CRM and D365FO for one of our clients. Integration of data is done through batch classes using CRM DLL. Projects are created in D365FO through data received from CRM. Sometimes batch job ends in error due to some reason and in log it shows below error.

Infolog for task Project Integration System.ServiceModel.FaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs. Server stack trace: at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter) at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.Xrm.Sdk.IOrganizationService.Create(Entity entity) at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.CreateCore(Entity entity) at Integration.IntgrBase.UpsertMonitorLogs(IOrganizationService crmService, String MethodName, String entityName, Guid MonitorLogId, String preProcessingStageMessage, String postProcessingStageMessage, Boolean isInsert, Nullable`1 failCount, Nullable`1 successCount, String finalStatusSummary, String CRMkey) at Integration.PlanBatch.ProjectFetch(String CRMKey) at Dynamics.AX.Application

It seems error from CRM end but we are not able to find a reason behind same. Strange part is once error comes for particular batch job, it executes successfully next batch job. It is kind of some random error. 

Please let me know if anyone has fixed this kind of issue. Can we handle error batch through some try and catch mechanism?

Regards,

Smit

Info Parts Creation

$
0
0

Hi,

I want to add info parts in sales order form :
to display the available lengths of each item

this is the architecture of my project :

NB : I develop a display method in invent Sum Table to get length, but I don't get any value!!!


AX2012 and problem with ClosedXML release 0.75 vs 0.92

$
0
0

Hi All

I tried to use ClosedXML DLL release 0.75 for Excel files creation and it was working great.

I downloaded already built DLL (do not built it myself)  in ver 0.75, put it into /bin of AOS and client, registered with GAC and added as reference in AOT.

Was great and produced many files since I wanted to put picture into Excel sheet, as I found pictures/BMP are not really supported in that version of DLL.

So I switched to v. 0.92 and installed it in same way as 0.75. Unfortunatelly after that I could not compile my code, as it looks like reference is missing and I could not find and objects in inteliSense, even as basic as below

 ClosedXML.Excel.XLWorkbook      workBook;
 ClosedXML.Excel.IXLWorksheet    worksheet;

so I went back to 0.75 - no issues, everything compiled perfectly

switched  again to  0.92, and then 0.90 - cannot compile it.

any ideas please?

For - loop

$
0
0

Hi Community,

I have a thinking Problem in this for Loop.

I want to have 6 random numbers for my custID.

I wrote this Job and also as a method in my table, and it works.

But the Thing is that I know that I can make it easier and better with a for-loop. I highlighted what I mean in the Picture.

Not Getting data while selection of single date

$
0
0

Hi all,

In SSRS report not getting data if i select same date as fromdate and todate, 

ex: Transdate>= fromdate && Transdate<=todate

pls help me in this regard...

How do I Copy Manufacturing process from old to new company?

$
0
0

Hi,

Here is my situation and I need help.

I have a company, COMPANY A which runs AX 2012 R3 and which uses the entire AX production process (Items, production orders, BOM, MRP etc) 

I have just created a new company, COMPANY B, also running AX 2012 R3 and I want ONLY the production process mentioned above in COMPANY A to be used as a template to copy into COMPANY B.

How do I get this achieved?

Steve

License Transfer AX

$
0
0

Hey,

we are currently using AX 2009 and recently my company has been acquired by MNC company, in this case do i need to transfer my license to new company.?

Also soon we are planning to open another manufacturing site, far from my current location, where we would like to use the same licenses that we have bought earlier.?

how should i make this possible?, Can we transfer these licenses to parent company first and than split in to two location.?

Viewing all 72043 articles
Browse latest View live


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