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

Import file on network in Batch job

$
0
0

Hi,

I have a batch job that will import a file. The import file is saved in a different server (not where the AOS resides). The batch job runs if I just use a directory where the AOS is installed. Also, if I run the class manually (not as batch job) and I use a network directory, I can import the file successfully. 

Any ideas?

Thanks


projTable.postalAddress

$
0
0

I am trying to update the LogisticsPostalAddress associtaed with a project.

The code below finds the Record but fails with the message "Cannot edit a record in Addresses (LogisticsPostalAddress). Update on a valid time state table is not allowed without specifying a ValidTimeStateUpdateMode."

public void updateProjAddress(ProjTable _projTable, container _readFile)

{

      LogisticsPostalAddress      lPostalAddress;

      lPostalAddress = LogisticsPostalAddress::findRecId(_projTable.postalAddress().RecId,true);

      lPostalAddress.Street = "New Address";

      lPostalAddress.doUpdate();

}

[AX2009] RLS on Arrival Overview form

$
0
0

I've been trying to add record level security to the arrival overview form (WMSArrivalOverview) so that it only displays to users those arrivals that correspond to the warehouses to which they belong.

I have successfuly added this kind of RLS to be able to select the Reception Journal Name that the user is authorized to use only, and also the Warehouse (on the setup tab in the arrival overview form), but now I need to filter those arrivals that have the user's authorized warehouses.

I hope I made myself clear, thanks in advance for any hint.

Need to Credit a Sales Order

$
0
0

I have a sales order that was placed in house and it needs to be canceled/wiped off the books. There was never money collected on this order but this is what happened. The order went into an invoice status and is now showing up on the employees account in DAX.  We tried to reverse the transaction but the transaction is too old to reverse. We initially created a Free Text invoice which we could see on the employees transactions in the customer detials module.  We only accept credit cards so we had no idea how to actually apply the Free Text invoice to the sales orders so we reversed it.  Then I went back to the sales order and went to Setup > Create credit note. I actually was reading posts on this site so I thought that is what I needed to do but now I'm not so sure stuck.  

 

Displaying Parent and child records in Form

$
0
0

Hi Guys,

I created a form that has a parent and child data source. I already set the child join source and link type. And set necessary relationships in the table. I can get the correct records in the grids/form. But, when I select a record in the child grid, the selection in parent also changed. Let's say I select the parent record line 3 in the grid, when I select the child record 5, the selection from parent will move also to line 5.

Any ideas?

thanks

Incorrect Material Consumption on Production Order

$
0
0

Would like to ask help on this one, based on the picking list journal, production order only consumes 1 pc of its BOM items, but based on the price calculation, item posting and inventory transaction 14 pcs where consumed and deducted from inventory location. This has only happened twice on different production orders with different items. I've tried replicating the production order but failed because it shows correct picking list and all transaction postings were correct. Has anyone ever had this same problem? What could be the possible culprit of this? Would really appreciate help and all ideas are welcome :)

Thanks,

Jennee

Where can i input the capacity of machine in resource

$
0
0

dear all,

Where can i input the capacity of machines in resource of machine.

I have a lot of machine, each machine can produce different qty output.

Where can i input

Thanks in advance

Regards

Mulyadi

Record Level Security for InventTrans Table

$
0
0

I am going to setup record level security for item transactions, so i need to set security on site basis, but there is not any site in inventTrans Table, can anyone plz suggest what can i do to achieve this. I  am suing ax2009.


Installation of AX client 2012

$
0
0

My AOS service is running well but whenever i try to install a client machine i get an error "Application object server "SRV-AV-DB" doe not exist" help me solve this last handle.

Questions on AX2012 Inventory Report: How to Show FIFO Inventory Value

$
0
0

Hi There,

Could anyone pls help on below AX2012 Inventory report questions?

Our AX2012 Settings as follow:

Inventory Model Group: FIFO

Dimension Group: Financial Inventory by Site only

Our questions are:

1) How could we retrieve an inventory value report showing FIFO cost calculation?

2) Base on above setting, how to set the inventory value report setting to drill down items' inventory value into warehouse level?

Many Thanks!!

Arqxlep

Ax 2012 r2 Client Crashed

$
0
0

When i install R2 client after uninstall Ax 2012 that active client configuration is CRASHED. Please suggest me what to do with this. IS any way possible to run Both R2 and 2012 client on same system. 

AX2012 R2 - Client crashes when doing a TFS synchronize

$
0
0

I have an AOS and client installed on my laptop (Windows 8) which is connected to TFS. When doing a synchronize (TFS not DB), the client crashes and restarts which will result in updated XPOs in the local repo but nothing in AX.

The event log will record 3 errors:

Event ID 180:

"The description for Event ID 180 from source Microsoft Dynamics AX cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

Microsoft Dynamics AX Business Connector Session 4.

RPC exception 3221225477 occurred in session 4 process is Ax32.exe thread is 8360(User: KForm, ClientType: GUI)"

Event ID 1026

"Application: Ax32.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.AccessViolationException

Stack:

  at <Module>._wWinMainCRTStartup()"

Event ID 1000:

"Faulting application name: Ax32.exe, version: 6.2.158.0, time stamp: 0x50a63c26

Faulting module name: Ax32.exe, version: 6.2.158.0, time stamp: 0x50a63c26

Exception code: 0xc0000005

Fault offset: 0x003b2ef9

Faulting process id: 0xdc8

Faulting application start time: 0x01ce2a424332a9ff

Faulting application path: C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\Ax32.exe

Faulting module path: C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\Ax32.exe

Report Id: ac99bd27-9635-11e2-be95-d4bed9736941

Faulting package full name:

Faulting package-relative application ID: "

Options I have already tried:

- re-installation of client and AOS

- installed CU1 (still client crashes)

- installed AOS & client on Windows 7 and Windows 2008 R2 (still crashes)

- have deleted local repo, workspace and models and started again from scratch. Works but after some syncs client will crash again.

Does anyone experienced this? Any ideas?

Thanks,

Kevin

Demo data update utility for AX 2012

$
0
0

In AX 2009 there was a demo data update utility for getting the demo data up to date to make the role centers look nice and updated when I want to do a demo.

I can't seem to find this for AX 2012.

Is this available?

Will it be available?

Option Z: Is there anyone who knows if the stored procedures used for the 2009 update util can be used on the 2012 demo data as well?

query object with replacement key ranges bug??

$
0
0

On the custTable I add a refRecId to a customer table.

This custom table has createrecid on, primary index is recid, and the old 2009 primary index has become the alternate index.

I create the next query with a range on the refrecid

When the user presses the query button, he gets the Reference (Record-ID) range.

But manually he can select also the reference correct…

 

When I add a sub datasource for example SalesTable, the user can’t select manually the reference field

is this a bug, or  just bad programming :-(

 

How to use ValidTimeStateUpdateMode using .Net Business Connector

$
0
0

I have a method written in C# that updates LogisticsPostalAddress in AX table.

private void updateLogisticsPostalAddress()

       {

           ax = new Axapta();

           ax.Logon(null, null, null, null);

           axRecord = ax.CreateAxaptaRecord("LogisticsPostalAddress");

           axRecord.ExecuteStmt("SELECT forupdate * FROM %1 where %1.recid == " + intRecid);

           if (axRecord.Found)

           {

               ax.TTSBegin();

               axRecord.set_Field("CountryRegionID", txtcountry.Text);

               axRecord.set_Field("STATE", txtregion.Text);

               axRecord.set_Field("City", txtcity.Text);

               axRecord.set_Field("CityRecid", txtcity.SelectedValue);

               axRecord.set_Field("Street", txtstreet.Text);

               axRecord.set_Field("Address", txtstreet.Text + " " + txtcity.Text + " " + txtregion.Text + " " + txtcountry.Text);

               axRecord.set_Field("ModifiedDateTime", DateTime.Now);

               axRecord.Update();

               ax.TTSCommit();

           }

       }

However, this method does not allow me to update a record since i have not specify the ValidTimeStateUpdateMode. How can i do this in C#?


Database Date Format

$
0
0

Hi

Is the date in the database always in the format "yyyy-mm-dd hh:mm:ss" and when it is displayed in Dax - inthe users preferred date format?

Because when I capture a logUpdate - the dates are always "yyyy-mm-dd"?

Handling sensitive data

$
0
0

With an internal development team working on AX, has anyone come up with any techniques for dealing with sensitive data?

For example, is there a way of denying System Administrators access to salary and other sensitive HR data?

can anyone successfully implemented AX 2009 Retail HQ and POS on AX2009 SP1 with RollUp4 build ?

$
0
0

can anyone successfully implemented and configure AX 2009 Retail HQ and POS on AX2009 SP1 with RollUp4 build ?

is it working fine on it ? i have AX2009 SP1 with RU4 and i want to setup retail /POS on different stores. and per document RU6 is required for HQ installation . so i am confusion . will it work correctly on RU 4 or not , please update me if anyone have success implementation on "AX2009SP1 RU4"

 

Thanks

 

AX 2012 Office Add-in

$
0
0

Hello dear All,

Working with Excel add-in I noticed a strange issue on my environment:

When I try to import any data in a system table (DlvMode or another) it works perfectly. But when I tried to import in a custom table I received a strange exception:

Please note that is displayed without any details. Initially I thought that it's a problem with my table indexes, primary and replacement keys or another property. After a time I duplicated the "DlvMode" table and obtained a table like "CopyOfDlvMode" ... Tried to publish any data to this table and I see the same error message.

The AOS was restarted many times and Excel relaunched.

AX version: 6.0.947.280

Office version: 14.0.6112.5000

AP EDI Invoices

$
0
0

Has anyone loaded EDI Vendor invoices into AX and if you have, are you using the AIF Service, "PurchaseInvoiceService"? 

I would like to understand your approach for loading miscellaneous charges and sales tax adjustments as per the vendors invoice if you are using this service?  The service loads the invoices into the AP Invoice Register, however, there is not a place in the Invoice Register to put miscellaneous charges, the sales tax adjustments cannot be entered via the service either; there is a sales tax adjustment field in the invoice register, however the table associated to it is a temp table.

If you're not using this service, can you please explain the approach that you have taken to load EDI vendor invoices into AX?

 

 

Viewing all 73760 articles
Browse latest View live


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