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

Testing upgrade from AX 2012 CU9 to CU12

$
0
0

Hello,

I am currently testing the process of upgrading from AX 2012 CU9 to CU12. When I compile the application I do not get any errors, but when I do a full CIL compile I get the following error in the Dynamics.Ax.Application.dll.log file.

Error when loading the method. Type: DMFEntity, Method: defaultEntityForAccountsPayable
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Microsoft.Dynamics.Ax.Xpp.ILGenerator.buildArgTypes(Int32 parmCount, Int32 optionalParmCount, Boolean isInstance)
   at Microsoft.Dynamics.Ax.Xpp.ILGenerator.BuildMethod(TypeBuilder typeBuilder, XmlNode methodNode)
   at Microsoft.Dynamics.Ax.Xpp.ILGenerator.LoadMethods(XmlNode classNode, TypeBuilder typeBuilder)
   at Microsoft.Dynamics.Ax.Xpp.ILGenerator.GenerateXppModule()
The CIL generator found errors and could not save the new assembly.
Errors: 1
Warnings: 0


When I compile the DMFEntity I get the following macro does not exist. 

Description    Path    Line    Method/Property name    Diagnostic ID    
The #MarkupTolerance macro does not exist.    \Data Dictionary\Tables\DMFEntity\Methods\defaultEntityForAccountsPayable    151    defaultEntityForAccountsPayable    Err:9994    
The #CashDisc macro does not exist.    \Data Dictionary\Tables\DMFEntity\Methods\defaultEntityForAccountsReceivable    77    defaultEntityForAccountsReceivable    Err:9994    
The #BankDocumentFacilityType macro does not exist.    \Data Dictionary\Tables\DMFEntity\Methods\defaultEntityForCashAndBank    21    defaultEntityForCashAndBank    Err:9994    
The #LedgerBalanceControl macro does not exist.    \Data Dictionary\Tables\DMFEntity\Methods\defaultEntityForGeneralLedger    188    defaultEntityForGeneralLedger    Err:9994    
The #HcmTitle macro does not exist.    \Data Dictionary\Tables\DMFEntity\Methods\defaultEntityForHRM    204    defaultEntityForHRM    Err:9994    
The #InventModelGroup macro does not exist.    \Data Dictionary\Tables\DMFEntity\Methods\defaultEntityForInventoryAndWarehouse    69    defaultEntityForInventoryAndWarehouse    Err:9994    
The #OutlookSyncParameters macro does not exist.    \Data Dictionary\Tables\DMFEntity\Methods\defaultEntityForOrgAdministration    183    defaultEntityForOrgAdministration    Err:9994    
The #DestinationCode macro does not exist.    \Data Dictionary\Tables\DMFEntity\Methods\defaultEntityForProcurementAndSourcing    13    defaultEntityForProcurementAndSourcing    Err:9994    
The #PBAUserProfiles macro does not exist.    \Data Dictionary\Tables\DMFEntity\Methods\defaultEntityForProductInformation    207    defaultEntityForProductInformation    Err:9994    
The #JmgExternalTerminalTable macro does not exist.    \Data Dictionary\Tables\DMFEntity\Methods\defaultEntityForProductionControl    48    defaultEntityForProductionControl    Err:9994    
The #SMASalesPriceSubscription macro does not exist.    \Data Dictionary\Tables\DMFEntity\Methods\defaultEntityForProjMgtAndAccounting    152    defaultEntityForProjMgtAndAccounting    Err:9994    
The #UserGroupList macro does not exist.    \Data Dictionary\Tables\DMFEntity\Methods\defaultEntityForSystemAdministration    160    defaultEntityForSystemAdministration    Err:9994    
The #TrvLocations macro does not exist.    \Data Dictionary\Tables\DMFEntity\Methods\defaultEntityForTravelAndExpense    91    defaultEntityForTravelAndExpense    Err:9994    
The #CashDisc macro does not exist.    \Data Dictionary\Tables\DMFEntity\Methods\defaultModule    26    defaultModule    Err:9994    
CIL generation: The given key was not present in the dictionary.    \XppIL    1    XppIL    Err:351    

It seems a little strange that all these macros do not exist considering they are all coming from the cumulative update 12. I also tried to clear all the dll files from the XppIL folder and do the whole recompile process. I still got the same out put. Can someone tell me what I might be missing.

Thanks for all your help,

Ash


Exporting to Excel and having it in landscape

$
0
0

When exporting data from AX into Excel it automatically has it in portrait and for some data it is preferred in landscape for printing. I've tried making a macro in Excel to change the orientation instead of going to Page Layout and changing it, but exporting data to excel and it opens it doesn't trigger the personals file so macros don't work.

Is there a way around it in AX or Excel?

Task CALs

$
0
0

Hello community,

Are Task CALs supposed to show up in PartnerSource in the licensing area?

Thanks in advance,

Ryan

Operating unit types

$
0
0

Hello Friends,

Got a question on operating unit types on Dynamics AX 365O update 4. Following highlighted are the out-of-box operating unit types which have recently introduced in 365O version 4.. Did anybody in this group have experienced deprecated unit types, I am more keen to know about Branch-Deprecated.

I am looking for a solution for one of my client.  When I use operating unit type Branch it does not link with financial dimension value - Branches. However, when I use operating unit type Branch Deprecated it links back with financial dimension values - Branches.

Will there be any adverse effect on the system by using operating unit Branch - Deprecated ?  Bear in mind this operating unit will be used in many areas such as producing management reporter, posting transactions, creating organisation hierarchy to link employee role/position and many areas. 

Department
Cost centre
Value stream
Business unit
Branch - Deprecated
Rental location - Deprecated
Region - Deprecated
Branch
Rental location

Region


Your response will be highly appreciated.

Thanks,

Pratik

AIF web service Config file

$
0
0

Whats the location of web.config file of AIF inbound service.

How to create AIF to Confirm shipment?

$
0
0

I'm looking to "Confirm shipment" when submitting a TransferID/OrderNum:

This is the code that executes the Confirm shipment:

I believe the steps are:

1.  Tools > AIF > Create document service

2.  With update and with Regenerate data object classes and Update AxBC classes checked

3. After it's generated, modify the update class with the code above. But how would I pass in the TransferID/OrderNum to execution code:  shipPlanningListPageForm.btnShipConfirm_clicked(whsShipmentTable_ds);?

Also, where is this code, I can't seem to find it: shipPlanningListPageForm?

Any direction is appreciated, thanks!

Two Legal Entities - Sales Order Creation - Invoice Posting

$
0
0

Hi Everyone,

Can someone help me. We have two legal entities, let say A and B. Entity A is our main entity, this is where we post customers payment.
We have Entity B, in this entity we create sales orders for particular products and the sales order gets invoiced.

.1 Is it possible for invoices in Entity B to be copied/moved in Entity A? 

.2 We want that all invoices will be posted/generated in Entity A whether the SO was created from A or B.

.3 Is the above to be achieved with Inter-company? If it is can you provide a link on how to set this up?

Thank you,

Jesa

Listing JSON and SOAP services in D365

$
0
0

Is there a URL that will list the JSON and/or SOAP services for D365 for operations like there is for listing the entities?

Thanks,
Joe


Product name not showing in MPOS (AX 2012 R3)

$
0
0

Hello,
We recently installed MPOS for AX 2012 R3,
Everything has worked so far but suddenly, for one of the stores assigned to a MPOS, the product name shows up as blank, and when searching for it, it says undefined. Other stores, following the same attribute & metadata works fine, displaying the names.

Anyone know why this occurs?


General Journal Workflow: Journal submitter is also in the workflow approvers' group

$
0
0

Hi,

We are operating AX version: 6.3.3000.111  CU10 and I am experiencing a problem in workflow.

The department has promoted an employee who usually submits journals. This employee will continue to submit journals for approval, and this employee will also approve other users' journals.

However, AX throws the following error:
Stopped (error): X++ Exception: Unable to continue. Submitter and approver are mapped to the same user
 at SysWorkflowWorkItem-create
SysWorkflowWorkItem-createWorkItems
SysWorkflow-save
SysWorkflowQueue-resume

On another site, a user points out that there is a fix to this, but this page (linked below) is inaccessible.
https://fix.lcs.dynamics.com/Issue/Resolved/1162660?kb=3127006&bugId=3650670

Can someone tell me how to allow a workflow approver to create and submit journals without crashing the workflow, meanwhile preventing him/her from approver his/her own workflow items?

Partial delivery of produced items

$
0
0

Hi community,

Lets's imagine we would produce large items, e.g. a big Truck which of course consists of many items. Truck has ONE BOM without sub BOMs.

Now as we have to deliver it abroad we have to pre-assemble it to a certain degree and we have to complete the assembly on customer site. Let's say we deliver the entire frame in delivery #1 and the drivers cabin in delivery #2. Afterwards we go to site and complete by assembling frame and cabin.

Is that example sufficient for understandig what happens in real life scenario?

Now my questions

- how to handle the production order?

- how to perform delivery #1 and #2?

Bonus scenario

From time to time we prefere to source the truck in another company (not intercompany)

Bonus question

- usually we source truck, how to create sufficient purchase order based on truck in order to handle both deliveries separately and allow assembly by one of our guys on site. Truck has serial no. and needs to remain trackable as truck and not as frame and cabin.

Any hints/complete solution is highly appreciated.

BR

Martin

Business Unit Should be company Specific in JV Entry

$
0
0

Dear All,

While entering JV Lines in Finicial  dimensions Business  Units  drop down are coming from all companies while my user requires it to be company specific. Any Way..

Purchase orders should be company specific.

$
0
0

DEar All,

While going to GL>>Setup>>Financial Dim >> Dimension Val >> PO No . While entering PO number it is showing same Po number done in all companies. It should be company specific for my user.

Import contacts

$
0
0

Hi,

If I would like to import contacts, is there any out-of-box data entity I can use?

Also, is it possible to link multiple customers (they are in different LE) to the same contact in AX 7?

Thanks,

Configuration manager


Create a fuction Release to Bacth Order for multi ItemId by code X++

$
0
0

Hi all ! I need code create fuction Release to Bacth Order for multi ItemId  by X++ (with parameter ItemId). when I multi select ItemId from my customize form.  help me a solution or Code X++. thanks all !

my Customize form:

this Fuction will process like fuction below but no use graphic interface :

D365FO building multiple VSTS projects' code in a single server

$
0
0

Are there instructions how to setup up a single LCS deployed build server to handle multiple VSTS project code changes and changesets? Aka. use a single build server to handle the builds of all of our VSTS projects and to send the built packages to a file server share where VSTS projects have dedicated folders.

prevent sales price less than journal price

$
0
0

hello all

i just need the best practice , how i do it with if and switch

i did that

PriceDiscTable pdt;

while select ItemRelation from pdt
where

SalesLine.ItemId==pdt.ItemRelation &&
SalesLine.SalesPrice < pdt.Amount
{
info("SalesLine.SalesPrice < pdt.Amount false");
return false;
}

How to make management reporter automatically publish a report to the shared location when it is generated?

$
0
0

Dear 

is there an option to make management reporter automatically publish a report to the shared location once the report is generated?

i am using the report group and i usually generate ten reports at the same time but i don't want to go into each report and press publish for it to be published

is there a way to do it automatically when i generate the report?

regards

How to close a form opened in code by MenuFunction.run() in

$
0
0

I have a requirement to open a form in a script however I would like to close it for each iteration of course otherwise memory requirement will increase continuously. I am using the MenuFunction class wit this code. 

How can I close the form that opens from this?

MenuFunction mf;

mf = new MenuFunction(menuItemDisplayStr(AccountingDistributionsDocumentView), MenuItemType::Display);
mf.run(args);

Viewing all 73760 articles
Browse latest View live


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