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

RE: Item Category Accounts vs Project Categories Ax 2012 R2

$
0
0

Hi DynamicsAXExplorer,

If I do understand the words, you have setup categories for expenses as well as items. The purpose is the same, it should have a reference for reporting and posting to the correct account. The category type is different as it relates to another type of project transaction. Personally, I would like to use the same categories for expenses and items, but this is not possible in Dynamics AX.


Item Category Accounts vs Project Categories Ax 2012 R2

$
0
0

Hi 

I have a service item which is non stockable. When i add it on a purchase order for Project, its asking for a category. So i did create a Project Category of item Type for this. I also had categories for Expense type. 

I received the PO and Invoiced it.  What is the use of the accounts that i used in this Item category? 

I created an expense journal on project and used an expense category there and charged for whole project. i had accounts mentioned on this expense category too. 

What and where the Item Category related accounts are used ? When did these expense category related accounts are used? what are those? 

AX 2012 R2, Time and Material project. 

Field not showing in report even though the field is in the design

$
0
0

Hello Everyone,

Am creating a query report in AOT but one of my field is not showing. The attached screen shot is the report layout in visual studio.... the settleAmountReporting is not coming out.... everything else comes out when i run the report but that field does not comes out. Can anyone tell me whats causing this?

The image below shows the query design. Any help would be greatly appreciated.

RE: Production order are splitting item quantity when doing report as finished

$
0
0

Hi Mac

What do you mean by splitting? Different batch number on the on hand list? or different work ID or some the quantity is reserved ?

Please share more details/steps so we can help you

1.how are you reporting as finished? Are you using WMS? (Check your work template qty pick limit)

2. Are their any quality assocations

3. What is the item default receiving Qty ?

RE: Security Policy with a query union linked to Role

$
0
0

Thanks a lot, trace parser helped me to build my query in a different manner

RE: Production order are splitting item quantity when doing report as finished

$
0
0

My suspicion is that there is a BOM line that has a setting in Rounding up or Multiples + a inventory minimum. The split occurs where that minimum is applied.

RE: Field not showing in report even though the field is in the design

$
0
0

I don't see a valid reason why it should not after you have not used any group by etc.

Did you tried restart of SSRS service and AOS service..? (in case if you feel this as cache issue)

As you said everything else is coming so i can see TransDate from same table in the design. I cannot see a reason why the amount field should not.

RE: Creating new sales order through DIXF in D365

$
0
0

Could you please mark it as the answer


Creating new sales order through DIXF in D365

$
0
0

I want to create a new sales order through DIXF in dynamics 365. I am using Sales order Composite entity for this. My XML file contains 1 header and 2 lines. When i import sales order, it gives error on sales order line and gives error "Sales order number does not allow editing", so kindly tell me how to create sales order through composite data entity.

RE: Updating records using odata

$
0
0

Hi Justin

I am also trying to update the customer with the help of your query. But is is throwing this error.

try
           {
               var query = from Customer
                           in d365.Customers
                           where Customer.CustomerAccount == "004073"
                           where Customer.DataAreaId =="usrt"
                           select Customer;
               DataServiceCollection<Customer> customersToDelete = new DataServiceCollection<Customer>(query);
               foreach (var customer in customersToDelete)
               {
                   d365.UpdateObject(customer);
               }
               d365.SaveChanges(SaveChangesOptions.BatchWithSingleChangeset);
           }
           catch (DataServiceRequestException e)
           {
               // Console.WriteLine(string.Format("Customer {0} - Save Failed !"));
               Console.WriteLine(e.Message);
           }        
Microsoft.OData.Client.DataServiceQueryException
 HResult=0x80131509
 Message=An error occurred while processing this request.
 Source=Microsoft.OData.Client
 StackTrace:
  at Microsoft.OData.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
  at Microsoft.OData.Client.DataServiceQuery`1.Execute()
  at Microsoft.OData.Client.DataServiceCollection`1.InternalLoadCollection(IEnumerable`1 items)
  at Microsoft.OData.Client.DataServiceCollection`1.StartTracking(DataServiceContext context, IEnumerable`1 items, String entitySet, Func`2 entityChanged, Func`2 collectionChanged)
  at Microsoft.OData.Client.DataServiceCollection`1..ctor(DataServiceContext context, IEnumerable`1 items, TrackingMode trackingMode, String entitySetName, Func`2 entityChangedCallback, Func`2 collectionChangedCallback)
  at Microsoft.OData.Client.DataServiceCollection`1..ctor(IEnumerable`1 items)
  at ODataConsoleApplication.SimpleCRUDExamples.UpdateCRUD_Customer(Resources d365) Inner Exception 1:
DataServiceClientException: NotFound

Updating records using odata

$
0
0

Hi

I need to update odata records that I looping through using a linq query, but an exception is being thrown when I call SaveChanges. Here is a basic outline of the code - hopefully this will be enough to demonstrate what I am doing wrong

var query = from BatchOrder 
	in context.BatchOrders
	where BatchOrder.Sent == NoYes.No
	select BatchOrder;

foreach (var batchOrder in query)
{
	// do some processing on the batchOrder record here

	// update AX record
	batchOrder.Sent = NoYes.Yes;
}

// send changes to the AX records back to AX
context.SaveChanges(SaveChangesOptions.PostOnlySetProperties);

The exception message is "'SaveChangesOptions.OnlyPostExplicitProperties' must be used with 'DataServiceCollection'", however I cannot find any examples of how to use a DataServiceCollection when looping through records.

Can someone point me in the right direction please?

Thanks,
Joe

RE: Security Policy with a query union linked to Role

$
0
0

Hi Dona83,

Would you like to share what exactly you have changed to get your performance back? That would be interesting for more people as they all can learn from it (even me).

1180 Job throws error

$
0
0

When I run the job 1180 it shows status 8 and it throws below error.

Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.ProcessSourceRequestHeaderException: ProcessTargetRequestHeader failed due to a SqlException. connectionString: Data Source=XXXXXX;Initial Catalog=XXXXX;Integrated Security=True;Connect Timeout=60;Application Name="Commerce Data Exchange Async Client" ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
The statement has been terminated. ---> System.ComponentModel.Win32Exception: The wait operation timed out
--- End of inner exception stack trace ---
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlBulkCopy.RunParser(BulkCopySimpleResultSet bulkCopyHandler)
at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinuedOnSuccess(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinued(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsync(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestContinuedAsync(BulkCopySimpleResultSet internalResults, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestAsync(CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalAsync(CancellationToken ctoken)
at System.Data.SqlClient.SqlBulkCopy.WriteRowSourceToServerAsync(Int32 columnCount, CancellationToken ctoken)
at System.Data.SqlClient.SqlBulkCopy.WriteToServer(IDataReader reader)
at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlWriteRequestRunner.BulkCopyData(SqlConnection connection, SqlTransaction transaction)
at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlWriteRequestRunner.Run(SqlConnection connection, SqlTransaction transaction)
at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlTargetRequestHandler.ProcessWriteRequest(SqlConnection connection, SqlTransaction transaction)
at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlTargetRequestHandler.ProcessTargetRequestHeader(ISCTargetRequestHeader targetRequestHeader)
--- End of inner exception stack trace ---
at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlTargetRequestHandler.ProcessTargetRequestHeader(ISCTargetRequestHeader targetRequestHeader)
at Microsoft.Dynamics.Retail.SynchClient.Core.DownloadAgent.ApplySessionFileToClientDatabase(SessionManager sessionMgr, String fileName)

RE: Uploading a journal entry from Excel

$
0
0

Hello Jana.Saba,

As far as I remember this was not supported in the standard AX4.0 version and needed to be customized.

Best regards,

Ludwig

Uploading a journal entry from Excel

$
0
0

Does anyone know how to upload a journal entry from Excel file, we are using Dynamic AX 4.0


RE: Item Category Accounts vs Project Categories Ax 2012 R2

$
0
0

Hi DynamcisAXExplorer,

For a non-stocked service item that is expensed, I would expect that AX takes the project-cost account that is configured in the project module to post the costs.

Can you confirm that?

Best regards,

Ludwig

RE: Onhand Inventory doesn't change when i receive a project PO

$
0
0

Hi DynamicsAXExplorer,

Please let us know if your question has been answered or if something remains not answered.

If everything is clear to you, please verify the answer provided.

Many thanks,

Ludwig

RE: ssrs reports access permissions

RE: MTD UK

$
0
0

Hello sri17,

There was just a webinar on this topic in the AXUG.

If you are a member of the AXUG, I would recommend that you go to their website, download the video and have a look.

Best regards,

Ludwig

MTD UK

$
0
0

Hi

Anyone who has an idea how to solve the MTD in AX2012? Is there or will ther be any support from Microsoft on this topic?

Viewing all 175888 articles
Browse latest View live


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