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

Error on opening retail pos

$
0
0

on opening retail pos it is giving me error

Error 1; The application could not be initialized 

on checking event viewer it is showing below error. Note: we are able to open POS from another id

LSRetailPosis.Settings.ApplicationSettings: System.UnauthorizedAccessException: Access to the path 'RetailPosSettings.000001.config' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, IsolatedStorageFile isf)
at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, IsolatedStorageFile isf)
at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, IsolatedStorageFile isf)
at System.IO.IsolatedStorage.IsolatedStorageFile.OpenFile(String path, FileMode mode)
at LSRetailPosis.DataAccess.IsolatedStorage.IsolatedStorageManager.GetFromIsolatedStore(String elementName, String terminalId)
at LSRetailPosis.DataAccess.IsolatedStorage.IsolatedStorageManager.GetSettings(String terminalId)
at LSRetailPosis.Settings.Database.init(AppConfiguration appConfig)
at LSRetailPosis.Settings.ApplicationSettings.InitializeSettings(String[] args).


employee position

$
0
0

Can we have 2 or more active positions for a single employee?

can we have one employee working on a position in a entity and same employee working as a different position on a different entity?.

If we are doing an integration with a third party then how can we identify if any changes happen to an employee regarding report to position, position name or legal entity, what should be our indicator for that.

How to default employee's department in Purchase requisition

$
0
0

Hi All,

How can we default employee's department during Purchase requisition creation? need the setups

Error on opening the Retail POS machine in ax2012

$
0
0

I have successfully created Store database and channel database, and executed the xxxx jobs.

The synchronized data can be found in store database. Everything is good so far.

But when I was launching the POS client, I got the errors 1.“The application could not be initialized” and 2.“A system error has occurred. The application will close”.

I tried the link also  Error when opening POS ,  POS Error  and  Retail POS: "The application could not be initialized" launch error.  

Any help? to overcome this error! please!

Thanks & Regards,

Abhinandhan P S

AX 2012R3 Cumulative update 9 can use windows Server 2022

$
0
0

Hi ,

Currently We are using Dynamics AX 2012 R3 Cumulative 9 update . Could you please let us know for Dynamics AX 2012 R3 Cumulative 9 update can we use Windows server 2022 ? Or which windows server is compatible for AX 2012 R3 Cumulative 9 update.

Thanks and Regards

Prudhvi

 

TFS problems

$
0
0

Hi

We use TFS inside DAX2012. Currently I do have some object in DAX2012 shown as checked out but they are not under source control yet. They should be (I would like to add them) but cannot because of the state.

Undo pending checkout does not work because in this case the system shows "object not under source control" same with checkin

Can anyone tell me how I can fix the issue?

Best regards

Chris

Calculate value "CO2 per KG" for finished good based on values of raw materials in formula

$
0
0

The requirement is the following:

- a new field on the released product "CO2 per KG" is needed

- the value "CO2 per KG" for raw materials will be defined manually (information comes from supplier)

- the value "CO2 per KG" for semi-finished and finished goods should then be calculated based on the standard active formula (ideally the calculation can be triggered manually as an own process)

- the goal is to print this value on the sales order confirmation, delivery note and invoice

Is there any way to implement this in AX2012 standard? Maybe batch attributes

Failed to create a session, confirm that the user has proper privileges to log on to Microsoft Dynamics.

$
0
0

Hi All,

While trying to create sales order i got massage 

"Failed to create a session,  confirm that the user has proper privileges to log on to Microsoft Dynamics".

i have tried below steps, 

1. Deleted the .AUC files and restarted the AX service.

2. Deleted the .XppIL files and restarted the Service.

i got also wrong files name in my profile 

But no luck. Any help?


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. 

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 ?

Viewing all 72043 articles
Browse latest View live


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