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

Vendor Address print in PO AX2012 R3

$
0
0

Hi ,

I have a vendor with multiple address, only one is set as primary.

other two address are branch addresses.

Now while printing a PO after confirmation, the PO will print only primary address, how to select other address (branch) to print in PO in place of primary address.

thanks in advance


Model database inconsistency with AX 2012 R3

$
0
0

Hi,

i imported a model using AxUtil.exe. It said there have been created a virtual model because of missing parents. So far so good. But when i check the content of the vitual model it is empty. No elements in that model!

After further investigation in the model database i found a strange entry in table ModelElement:

There exists a Fieldgroup without pointing to a parentHandle (value 0).

Has anybody experienced similar problems? How can i solve this?

Tnx in advace.

Beat

BP message

$
0
0

Hello,

"There are more than one Composition relations in this table" 

what is the reason that we cannot have more than one Composition relation in the table?

Thanks.

Production Report As Finished Doubles Released Qty

$
0
0

I'm testing the Report as Finished function from the Works Order Details Form (AX2009).  The works order has 2 Boms which get consumed at different operations on the Route.  The Parameter settings I have are: Auto Route Consumption - Always, End Mark Route - Yes, Auto BOM consumption - Always, End Mark Picking List - Yes.

I run Report as Finished for each Operation separately and a Picking List is generated for the BOM Lines.  When it comes to the Last Operation, I leave the From and To Oper No blank.  This has the effect of clearing up any previously unfinished operations which is what the user wants BUT the Picking List is raised again for the same items previously picked, thus doubling the Released Qty on ProdBOM.RemainBOMFinancial.  I have tried changing the parameters but it's always the same, unless I do all the Picking at the end, but this is not what the user wants.

It appears to be a bug in the system unless I'm missing a parameter somewhere. The same happens in AX2012 too.

Can anyone shed any light?

Thanks

Unable to activate MPOS device

$
0
0

Hi All, 

I am currently trying install MPOS for a customer, when on the device activation form it throws this error:

When i looked in the event logs where the Retail Server is installed i am receiving this error: 

CommerceRuntimeException was thrown.Microsoft.Dynamics.Commerce.Runtime.ConfigurationException: The published channel can not be found in local database. Please make sure at least 1 retail channel is published to this DB through AX.
at Microsoft.Dynamics.Commerce.Runtime.Data.StorageResolver.GetFirstPublishedChannelId(IEnumerable`1 storageLookups)
at Microsoft.Dynamics.Commerce.Runtime.Data.StorageResolver.GetChannelId()
at Microsoft.Dynamics.Commerce.Runtime.Data.StorageResolver.GetConnectionString()
at Microsoft.Dynamics.Commerce.Runtime.Data.DatabaseAccessor.ExecuteReader[T](SqlPagedQuery query)
at Microsoft.Dynamics.Commerce.Runtime.Data.DatabaseAccessor.ExecuteSelect[T](SqlPagedQuery query)
at Microsoft.Dynamics.Commerce.Runtime.Data.EmployeeDataManager.GetEmployeePermissions(String staffId, ColumnSet columnSet)
at Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.EmployeeLogOnRealTimeService(UserLogOnServiceRequest request)
at Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.LogOnUser(UserLogOnServiceRequest request)
at Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.ExecuteRequest[TResponse](ServiceRequest request)
at Microsoft.Dynamics.Commerce.Runtime.Services.Service.Execute[TResponse](ServiceRequest request)

 Does anyone have an idea on how to resolve this issue?

Thanks,

James

DAX 2012 R3 - WMS web-menu not working

EDI, ECO, and Barcode Scanning, Printing

$
0
0

Our implementation partner is recommending that we use third party, products to integrate into Dynamics AX to do basic things such as EDI, ECO, and barcode scanning, printing, etc. Has this been the experience of others? Has anyone successfully utilized the native Microsoft Tools?

Hiding an enum

$
0
0

Hi,

I would disable/hide an enum value for all system users. Exists some users that have the Administrator role.
I found a quick solution for this issue. In AOT/Data Dictionary/Base Enums/xxxxxx, i have selected the enum for hide and i have changed the enum configuration key to SysDeletedObjects40.


Once realised the above operation, I have checked that the enum has been hidden.
Just to be sure, with this operation, are there any possibility for inconsistency in database or data removed?

Thanks.


Updating or creating a record with postal address - AIF using c#

$
0
0

Hi, 

I have been facing this issue quite often. The problem is when I create any document service which uses LogisticsPostalAddressRecId field, system automatically creates a logisticsLocation entity binded to the main table. When I try to pass any existing locationId using same entity like below:

AxdExtType_EffectiveDateTime eDateTime = new AxdExtType_EffectiveDateTime();
eDateTime.Value = DateTime.Today.ToUniversalTime();

AxdEntityKey_LogisticsPostalAddress postallAdd = new AxdEntityKey_LogisticsPostalAddress();
postallAdd.Location_LocationId = "000000121";
postallAdd.ValidFrom = eDateTime;

sometable.postalAdd = postalAdd;

In AX I get an exception that value in postalAdd field is not valid.

Any solutions?

Can we calculate rate by from state and to state in TMS?

$
0
0

Hello all,

In Japan, transportation  rate is calculated by from state and to state or more lager area category. 

I plan to set up 'Rate master' and 'Break master'  with from state and to state.(such as from Alaska to Alabama even these are states of USA...).

Can we calculate rate by from state and to state in TMS?

I believe  TMS's each engine are based on USA's terms ,so I don't think these engines work well for Japanese requests.

AIF - AX journal web service issues after R2 update

$
0
0

Hi guys,

I am at my wits end with this one!

We use the AIF gl web service to create journals from an external application - or at least we used too!

After an upgrade we seem to have errm lost a lot of the fields in the definition of the service. Even AxdLedgerGeneralJournal seems to be missing !

Has anyone seem this type of problem before?

Any help would be really appreciated!

Cheers

Peter

AX Table - Auto Increment Field

$
0
0

Hi, i'm new to AX and am trying to create a new table in AX and would also like to have an auto increment field as the primary key. can anyone advise on how to do this?

Thanks

Craig

ServicePostalAddress on Service Order through AIF

$
0
0

Hi.

We are creating a Service Order using AIF. We need to be able to set the Service Location as well when creating the Service Order. The corresponding field on the ServiceOrderTable is ServicePostalAddress, which is basically the RecID of the LogisticsPostalAddress table. Unfortunately, this field is not exposed through AIF, so we are having difficult setting a service location on the Service Order through AIF. 

Anybody that has experience on this? Thanks in advance.

Regards,

Anil

get away from Document Hash in File Adapter integration in AX 2012 ?

$
0
0

My understanding is that if RecId and RecVersion are there in the file then document hash is not needed (link ). But this is not working for me with documentHash provided in file it works fine, the moment I take out documentHash request fails with error:

"Field _DocumentHash must be filled in"

an FYI.. I have provided RecId and RecVersion in both the cases.

How can I get away from DocumentHash for just this service through File Adapter.

Also, where can I find the code that checks DocumentHash between DB and the request ?

Thanks in Advance,

San.

One register is missing from POS Statement Calculation

$
0
0

We calculate POS statements using the "POS Terminal" statement method and closing method "Shift".  Lately we have found that one register has been missing from the statement calculation.  The closed shift and transactions appear when we look at the shift. 

The work around we have been using is to create a new statement and specify that terminal explicitly.  This creates additional work for our accounting department, so they asked me to investigate.

Has anyone else experienced this?  If so, how did you correct it?

 

We are running AX 2012 R2 CU6


AX2009-AX2012 R3 Upgrade options

$
0
0

Several months ago, I completed an upgrade from AX2009 to AX2012 R2 CU7.  Both code and data were upgraded and the system will fully synchronize and compile.  We did not go live with the project.  We are now beginning an upgrade project to take us from AX2009 to AX2012 R3.  What strategy can I use to take advantage of the upgraded customizations that exist in my AX2012 R2 version model store?  My tentative plan is to do an in place upgrade from R2 to R3, export the code, the models and the model store, and then start with a fresh AX2009 to AX2012 R3 upgrade.  Once I get to the code upgrade section I need to find the best way to bring in my previous work.  I have some ideas, but I would like to hear suggestions from the community.

Thanks!

Lisa J

Can I post negative amount in Payroll earning codes

$
0
0

Hello

in Dynamics AX 2012 R2, can I post negative amount in Payroll earning codes, suppose I want to deduct an amount of 50 dollars from the employee salary in a pay period, Can I create a new earning code and post to it a value of -50 $

if not how can I do it

Thanks

Sales order line reservation discrepancy (AIF vs Client)

$
0
0

Hi all,

I have a situation where lines on Sales Orders created in the client are being reserved at the warehouse, but lines on Sales Orders created via AIF are reserved at the location.  I would like for AIF lines to be reserved at the warehouse and NOT the location.

Is there a setting somewhere in AIF to reserve only to the warehouse?

Thanks in advance,

Tom

Approve button in workflow action menu for Retail Catalog Approval Workflow

$
0
0

Hello,

How do I approve the Retail Online Catalog. It's status is Submitted for approval. Is there any job that needs to be executed to approve the workflow. I don't see the approve button on the workflow action menu either.

Appreciate your help.

Thanks

Pankaj

error while invoicing a received PO

$
0
0

I have AX2012 with CU7 environment , when I clicked invoice on PO with status received I got the following error: 

 

Cannot edit a record in Source document line (SourceDocumentLine).

The record has never been selected.

Removal of suspension of recId allocation for table VendInvoiceInfoTable has failed.

Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.

   at Dynamics.Ax.Application.SysRecIdSequence.Removerecidsuspension(Int32 _tableId) in SysRecIdSequence.removeRecIdSuspension.xpp:line 23

   at Dynamics.Ax.Application.formletterParmData.Removerecidsuspension() in formletterParmData.removeRecIdSuspension.xpp:line 15

   at Dynamics.Ax.Application.formletterParmData.Catchall() in formletterParmData.catchAll.xpp:line 9

   at Dynamics.Ax.Application.formletterParmData.Createdata(Boolean _append, Boolean ) in formletterParmData.createData.xpp:line 62

   at Dynamics.Ax.Application.PurchFormletterParmDataInvoice.chooseLinesServerIL(Object[] _pack) in PurchFormletterParmDataInvoice.chooseLinesServerIL.xpp:line 20

   at PurchFormletterParmDataInvoice::chooseLinesServerIL(Object[] )

   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)

   at Dynamics.Ax.Application.SysDictClass.invokeStaticMethod(Object[] _params) in SysDictClass.invokeStaticMethod.xpp:line 26

   at SysDictClass::invokeStaticMethod(Object[] )

   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)

   at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runAsInvoke(String className, String staticMethodName, Object[] parms, Object[]& exportInfolog)

 

 

 

 

during the debugging of the code, I find that the error happens at the following line in SysDictClass\invokeStaticMethodIL                 

result =  result (

 result=runAs (

 curUserId(),

 classNum(SysDictClass),

 staticMethodStr(SysDictClass, invokeStaticMethod),

 [_className, _methodName, _params, true, DateTimeUtil::getSystemDateTime()]);

 

 

If Execute business operation in CIL is uncheck the error does not appear and action performed successfully.

 

Can you help me how can I track this error? 

Viewing all 73760 articles
Browse latest View live


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