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

Update "created by" name for batch job - AX2012

$
0
0

Hi All,

We have few jobs created by one of the user, but he left the organization, now we want to update the "created by" name to Admin account.

Is there any way to update the Created by field , is there any impact if we change the name.

Found the below link where it is possible to update using SQL scripts.

Please advice.

Regards,

Akbar


Workflow Assignments on multistep Workflows.

$
0
0

Hi,

I am having hard time with a task maybe you guys can help me out here.

I have a workflow with two steps of approval. and approval has a four member board who can approve both steps lets say (user 1, user 2, user 3 user 4).

both the steps are assigned to all four of the members.

What I want to achieve is.

If user 1 approve step 1. user 1 should not be assigned to step 2 for approval.

I will be very thankful if you would be able to help me out with this. 

Thanks.

Immobilisation cession - Mise en rebut

$
0
0

 Disparition de la procédure en rebut immobilisation dans module immobilisation de microsoft ax 2012

How to fix "Failed in BaseWorkerRequest::SendHttpResponse Value does not fall within the expected range" in Reporting Services 2016?

$
0
0

Hi,

I have a problem with generating huge report to PDF File. In log I can find:

rshost!rshost!444!04/20/2023-16:48:20:: e ERROR: HttpPipelineCallback::SendResponse(): failed writing response.
rshost!rshost!444!04/20/2023-16:48:20:: e ERROR: Failed with win32 error 0x0057, pipeline=0x000001711039FB10.
httpruntime!ReportServer_0-1!444!04/20/2023-16:48:20:: e ERROR: Failed in BaseWorkerRequest::SendHttpResponse(bool), exception=System.ArgumentException: Value does not fall within the expected range.
   at Microsoft.ReportingServices.HostingInterfaces.IRsHttpPipeline.SendResponse(Void* response, Boolean finalWrite, Boolean closeConn)
   at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
library!ReportServer_0-1!444!04/20/2023-16:48:20:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: RsWorkerRequest::FlushResponse., Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: An internal or system error occurred in the HTTP Runtime object for application domain ReportServer_MSSQLSERVER_0-1-133264663787788551.  ---> System.ArgumentException: Value does not fall within the expected range.
   at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
   at ReportingServicesHttpRuntime.RsWorkerRequest.FlushResponse(Boolean finalFlush)
   --- End of inner exception stack trace ---;
rshost!rshost!444!04/20/2023-16:48:20:: e ERROR: HttpPipelineCallback::SendResponse(): failed writing response.
rshost!rshost!444!04/20/2023-16:48:20:: e ERROR: Failed with win32 error 0x10DD, pipeline=0x000001711039FB10.

Report logic / Data comes from our Preprocess class. Report has 1310758 records and 480135405 bytes (info from ExecutionLog). Generating data goes smoothly. Above error occurs in my opinion at the end of rendering to file.

Additionally, when I ran the same report as RDL (print to screen), generating ends successfully. But when I want to export generated to screen report to PDF file after few minutes I see OutOfMemory Exception.

I have two environment of our ERP System. On the old one, report runs without any troubles. Above error occurs only on new environment. So there is might be difference of version or difference in some configuration.

New environment: OS Version: 2016, SQL: 13.0.6404.1, RS: 13.0.6300.2

Old environment: OS Version 2012 R2, SQL: 13.0.4466.4, RS: 13.0.4466.4

I've already extended maxRequestLength and executionTimeout in httpRuntime in web.config to max of int32, but it not fix my issue.

What else I can check or change?

How do I handle AX timeouts where the operation continues on? Is abort not working?

$
0
0

I have a custom AX service operation that can take 5+ minutes to complete and I'm trying to figure out how to abort it from my .NET application, but aborting the client doesn't seem to do anything?

The problem is if I call the operation and the service times out, the AX operation continues on until completion, so I lose visibility to the results (success/failure). An example being a long-running posting operation where I don't know if it posted successfully or not.

I've created a simple demo app where I can't seem to get the operation to abort. In the below code I just create a transaction (ttsbegin/ttscommit), insert into a table at start, sleep, insert into table at end.

XPPIL Rename issue

$
0
0

Hi All,

When i am trying to rename XPPIL Folder from this path (C:ProgramFiles : Microsoft Dyanmics AX : 60 :Server :  Microsoft Dyanmics AX : Bin) after closing AOS services, i am getting below error. can a nyone please help me on this.

Error Messgae: This action can't be completed because the folder or a file in it is open in another program. close the folder and try again. Date Created - 10-06-2022

i checked files which got created on these dates, so all files are DLL files.\

Can anyone please guide me on this

Windows Authentication on AADJ device

$
0
0

Any user on a AADJ device cannot authenticate to the AOS server.
All other applications and resources authenticate properly on AADJ devices.
Any user on a HAADJ device authenticates properly.

The problem seems to lie in the authentication flow itself, not the device or user.

It might be ties to how AX handles authentication using SID, users on AADJ devices get a sid starting with "S-1-12-1" instead of the AD sid "S-1-5-21".
Changing the SID in the UserInfo table has no effect.
The Enterprise Portal is not an option in our usecase as some modules are not designed for it.

The AX2012 client "supports" windows authentication but seems to handle it in a different way compared to other applications.
Have you heard of this problem and do you know of any workarounds for this problem (other than VDI or RDGateways).

Cycle Count Process with export import stock count.

$
0
0

Cycle Count Process Implementation is required with the option to export the Counting Journal and then re-import it after doing a stock count. 


Production order update serial

$
0
0

Hi Experts,

I have production order when I checked the inventory transaction it has same serial number, how can I change or update it? Path is Production control > production orders > select order > inventory> Transactions. 

Wmsitemarrivaljournalentity

$
0
0

I deleted WmsitemarrivaljournalV2entity composite entity from dmf entity table in my devbox now when i try refresh the entity list Wmsitemarrivaljournalentity is coming instead of WmsitemarrivaljournalV2entity Is there any way to revert it.I tried few options.I did full build but still it is coming Wmsitemarrivaljournalentity. I truncated the entity list and refresh the entity still the result is same. Is there any way to revert this change please help me

La combinación de la cuenta contable no coincide con la configuración del control de diario para los tipos de registro de cuentas contables.

$
0
0

Para la creación de libros contables me surge el siguiente un error.

La combinación de cuenta contable ****  no es válida.

La combinación de la cuenta contable no coincide con la configuración del control de diario para los tipos de registro de cuentas contables.

1 + 1 discount and the value of your purchase

$
0
0

I need to make a 1 + 1 discount and create a free offer for the value of your purchases (if there is an item for 500 riyals, it can be the highest discount for the products that follow it until the amount exceeds)

How to debug web services in AX2012

$
0
0

Hi All,

We wanted to debug webservices which is already developed by someone, we are facing some issue while reading the data from integrations.

Please advise how we can debug the webservices.

Regards,

Akbar

Cannot delete a record in Unit Structure (WHSUOMStructure). An update conflict occurred due to another user process deleting the record or changing one or more fields in the record.

$
0
0

Hey 

i'm trying to delete records WSHUOMStructure table based on condition, it gives me an error 

Cannot delete a record in Unit Structure (WHSUOMStructure). An update conflict occurred due to another user process deleting the record or changing one or more fields in the record

i tried many things like i used delete_from inside ttsbegin ttscomitt , 
i tried while select for update then tablebuffer.delete inside ttsbegin ttscomitt

i tried i tried while select for update then tablebuffer.reread() then tablebuffer.delete() inside ttsbegin ttscomitt

i tried while select pessimisticLock 

but nothing works

also OCC enable property on the table is set to YES and i can't change it throw table extension 

any help please ?

Form DataSource Deleting EventHandler

$
0
0

i wanna prevent the user from delete a record based on condition

i used eventhandler for form datasource deleting eventhandler i used the below code

[FormDataSourceEventHandler(formDataSourceStr(PurchTable, PurchTable), FormDataSourceEventType::Deleting)]
public static void PurchTable_OnDeleting(FormDataSource sender, FormDataSourceEventArgs e)
{
// ValidateEventArgs args = e as ValidateEventArgs;
//boolean result = args.parmValidateResult();

PurchTable purchTable = sender.cursor() ;

if(purchTable.purchid == '1234')
checkFailed("you can not delete this PO");


}
but still can deleted it
i tried to get the eventargs result by below code

// ValidateEventArgs args = e as ValidateEventArgs;
//boolean result = args.parmValidateResult();

but it gives and error i wanted to do like that

// ValidateEventArgs args = e as ValidateEventArgs;
//boolean result = args.parmValidateResult()

if(purchTable.purchid == '1234')
result = result  && checkFailed("you can not delete this PO");

but it gives an error

any help please?


Management Reporter 2012 Installation Files

$
0
0

Hello Everyone.

We lost the server that had all our installation media for legacy applications which included Dynamics AX 2009 and Management reporter 2012. I need to get the installer for Management Reporter 2012. I can't seem to find it anywhere on the internet. Can someone direct me where I can get it?

Export Invent Journal Lines to Excel

$
0
0

Hi. We have an AX2012 R2 CU7 application. When we export journal lines to Excel the inventory dimensions are not being exported. Most of these dimensions appear in the journal lines form - Site, Inventlocation,WMSLocation, BatchId, etc.    Is there a solution for this issue within CU7 or is this issue resolved in a later CU?  It is certainly not an issue in AX2012 R3.  Cheers. James.

Form DataSource Deleting EventHandler

$
0
0

i wanna prevent the user from delete a record based on condition

i used eventhandler for form datasource deleting eventhandler i used the below code

[FormDataSourceEventHandler(formDataSourceStr(PurchTable, PurchTable), FormDataSourceEventType::Deleting)]
public static void PurchTable_OnDeleting(FormDataSource sender, FormDataSourceEventArgs e)
{
// ValidateEventArgs args = e as ValidateEventArgs;
//boolean result = args.parmValidateResult();

PurchTable purchTable = sender.cursor() ;

if(purchTable.purchid == '1234')
checkFailed("you can not delete this PO");


}
but still can deleted it
i tried to get the eventargs result by below code

// ValidateEventArgs args = e as ValidateEventArgs;
//boolean result = args.parmValidateResult();

but it gives and error i wanted to do like that

// ValidateEventArgs args = e as ValidateEventArgs;
//boolean result = args.parmValidateResult()

if(purchTable.purchid == '1234')
result = result  && checkFailed("you can not delete this PO");

but it gives an error

any help please?

Issues with downloading listings of Accounts receivable from the General ledger

$
0
0

Hi Guys,

I have been having issues generating customer listings that agree with the account receivables balance in the general ledger.

I was able to use the detailed listing download functionality and I do not know how to include a field for customer name.

Can anyone help?

Is the newly released Subscription Billing and Projects Linkage only for basic T&M projects with no accrual and no WIP?

$
0
0

Is the newly released Subscription Billing and Projects Linkage only for basic T&M projects with no accrual and no WIP? 

Scenario 1. if costs are posted to WIP then on billing schedule driven invoicing the WIP costs should move to project cost/P&L. However it does not happen

Scenario 2. If costs are posted to P&L and there is revenue accrual then on billing schedule driven invoicing the accrued revenue is not reversed to actual project invoiced revenue.

Am I missing any setup or the new functionality does not cater to these scenarios?

Viewing all 175888 articles
Browse latest View live