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

2012 R3 upgrade - data

$
0
0

Hi,

i am running again into problems during R3 in-place upgrade, this time with data synch.

so after checking off all items from the data upgrade checklist, i try to run the final synch.

It reports synchronize failed on 1 table,  which is  actually a view. in the infolog, and in application log on the server, i can see the full error description: 'cannot execute data definition language command .incorrect syntax..'

when i open the statement, the syntax error is very clear - 

' CREATE VIEW "DBO".PURCHLINEALLVERSIONS AS

   SELECT T1.ACCOUNTINGDISTRIBUTIONTEMPLATE AS ,

                T1.ACTIVITYNUMBER AS ,'  etc... 

   ' FROM PURCHLINEARCHIVEDVERSIONS T1 '

   all aliases in the sql statement are missing . 

when i open the query which is the datasource for the PURCHLINEALLVERSIONS view, i can't see anything wrong.

the view in question is a UNION between two other views - PURCHLINEARCHIVEDVERSIONS and PURCHLINENOTARCHIVEDVERSIONS. the corresponding datasource queries look ok, but the field list in both views design is missing 5 fields. I add those 5 fields, which are supplied from the queries (they appear in the fieldname dropdown when i add a field to the view). I run x++ compile, full CIL compile, and synch again. same error shows again.

where do i go wrong? 

why are all the aliases missing from the first part of the sql statement, where i get an error?

why DDL is generating the aliases for PURCHLINEARCHIVEDVERSIONS only, and not for the other view?

here is a full sql statement :

CREATE VIEW "DBO".PURCHLINEALLVERSIONS AS 

SELECT T1.ACCOUNTINGDISTRIBUTIONTEMPLATE as ,
T1.ACTIVITYNUMBER as ,T1.ADDRESSREFRECID as ,T1.ADDRESSREFTABLEID as ,
T1.ASSETBOOKID as ,T1.ASSETGROUP as ,T1.ASSETID as ,T1.ASSETTRANSTYPEPURCH as ,
T1.BARCODE as ,T1.BARCODETYPE as ,T1.BLOCKED as ,T1.CASETAGGING as ,T1.COMPLETE as ,
T1.CONFIRMEDDLV as ,T1.COUNTYORIGDEST as ,T1.COVREF as ,T1.CREATEFIXEDASSET as ,
T1.CURRENCYCODE as ,T1.CUSTOMERREF as ,T1.CUSTPURCHASEORDERFORMNUM as ,
T1.DEFAULTDIMENSION as ,T1.DELIVERYDATE as ,T1.DELIVERYNAME as ,T1.DELIVERYPOSTALADDRESS as ,
T1.DELIVERYTYPE as ,T1.DEPRECIATIONSTARTDATE as ,T1.DISCAMOUNT as ,T1.DISCPERCENT as ,
T1.EXTERNALITEMID as ,T1.GSTHSTTAXTYPE_CA as ,T1.INTERCOMPANYINVENTTRANSID as ,
T1.INTERCOMPANYORIGIN as ,T1.INVENTDIMID as ,T1.INVENTRECEIVEDNOW as ,T1.INVENTREFID as ,
T1.INVENTREFTRANSID as ,T1.INVENTTRANSID as ,T1.ISFINALIZED as ,T1.ITEMBOMID as ,T1.ITEMID as ,
T1.ITEMPBAID as ,T1.ITEMREFTYPE as ,T1.ITEMROUTEID as ,T1.ITEMTAGGING as ,T1.LEDGERDIMENSION as ,
T1.LINEAMOUNT as ,T1.LINEDELIVERYTYPE as ,T1.LINEDISC as ,T1.LINEHEADER as ,T1.LINENUMBER as ,
T1.LINEPERCENT as ,T1.MATCHINGAGREEMENTLINE as ,T1.MATCHINGPOLICY as ,T1.MULTILNDISC as ,T1.MULTILNPERCENT as ,
T1.NAME as ,T1.OVERDELIVERYPCT as ,T1.PALLETTAGGING as ,T1.PORT as ,T1.PRICEUNIT as ,T1.PROCUREMENTCATEGORY as ,
T1.PROJCATEGORYID as ,T1.PROJID as ,T1.PROJLINEPROPERTYID as ,T1.PROJSALESCURRENCYID as ,T1.PROJSALESPRICE as ,
T1.PROJSALESUNITID as ,T1.PROJTAXGROUPID as ,T1.PROJTAXITEMGROUPID as ,T1.PROJTRANSID as ,T1.PURCHASETYPE as ,
T1.PURCHID as ,T1.PURCHMARKUP as ,T1.PURCHPRICE as ,T1.PURCHQTY as ,T1.PURCHRECEIVEDNOW as ,T1.PURCHREQID as ,
T1.PURCHREQLINEREFID as ,T1.PURCHSTATUS as ,T1.PURCHUNIT as ,T1.QTYORDERED as ,T1.REMAININVENTFINANCIAL as ,
T1.REMAININVENTPHYSICAL as ,T1.REMAINPURCHFINANCIAL as ,T1.REMAINPURCHPHYSICAL as ,T1.REQATTENTION as ,
T1.REQPLANIDSCHED as ,T1.REQPOID as ,T1.REQUESTER as ,T1.RETURNACTIONID as ,T1.RETURNDISPOSITIONCODEID as ,
T1.RETURNSTATUS as ,T1.SCRAP as ,T1.SHIPPINGDATECONFIRMED as ,T1.SHIPPINGDATEREQUESTED as ,T1.SOURCEDOCUMENTLINE as ,
T1.STATPROCID as ,T1.STATTRIANGULARDEAL as ,T1.STOCKEDPRODUCT as ,T1.TAX1099AMOUNT as ,T1.TAX1099FIELDS as ,
T1.TAX1099STATE as ,T1.TAX1099STATEAMOUNT as ,T1.CONFIRMEDTAXAMOUNT as ,T1.TAXAUTOGENERATED as ,
T1.TAXGROUP as ,T1.TAXITEMGROUP as ,T1.TAXWITHHOLDBASECUR_TH as ,T1.TAXWITHHOLDGROUP_TH as ,
T1.TAXWITHHOLDITEMGROUPHEADING_TH as ,T1.CONFIRMEDTAXWRITECODE as ,T1.TRANSACTIONCODE as ,T1.TRANSPORT as ,
T1.UNDERDELIVERYPCT as ,T1.VENDACCOUNT as ,T1.VENDGROUP as ,T1.VERSIONDATETIME as ,T1.PURCHTABLEVERSIONRECID as ,
T1.ISARCHIVED as ,T1.RECID AS RECIDas ,T1.PDSCWINVENTRECEIVEDNOW as ,T1.PDSCWQTY as ,T1.PDSCWREMAININVENTPHYSICAL as ,
T1.PDSCWREMAININVENTFINANCIAL as ,T1.VIS_ITEMMASTERDESC AS VIS_ITEMMASTERDESCas ,T1.POSTINGPROFILE_RU as ,
T1.DEVIATIONQTY_RU as ,T1.REFRETURNINVOICETRANS_W as ,T1.MARKUPCODE_RU as ,T1.INVOICEGTDID_RU as ,
T1.COUNTRYREGIONNAME_RU as ,T1.PRICEAGREEMENTDATE_RU as ,T1.DATAAREAID AS DATAAREAIDas ,T1, PARTITION AS PARTITION,
1 AS UnionAllBranchId
FROM PURCHLINEARCHIVEDVERSIONS T1
UNION ALL

SELECT T1.ACCOUNTINGDISTRIBUTIONTEMPLATE,T1.ACTIVITYNUMBER,T1.ADDRESSREFRECID,T1.ADDRESSREFTABLEID,T1.ASSETBOOKID,
T1.ASSETGROUP,T1.ASSETID,T1.ASSETTRANSTYPEPURCH,T1.BARCODE,T1.BARCODETYPE,T1.BLOCKED,T1.CASETAGGING,T1.COMPLETE,
T1.CONFIRMEDDLV,T1.COUNTYORIGDEST,T1.COVREF,T1.CREATEFIXEDASSET,T1.CURRENCYCODE,T1.CUSTOMERREF,
T1.CUSTPURCHASEORDERFORMNUM,T1.DEFAULTDIMENSION,T1.DELIVERYDATE,T1.DELIVERYNAME,T1.DELIVERYPOSTALADDRESS,
T1.DELIVERYTYPE,T1.DEPRECIATIONSTARTDATE,T1.DISCAMOUNT,T1.DISCPERCENT,T1.EXTERNALITEMID,T1.GSTHSTTAXTYPE_CA,
T1.INTERCOMPANYINVENTTRANSID,T1.INTERCOMPANYORIGIN,T1.INVENTDIMID,T1.INVENTRECEIVEDNOW,T1.INVENTREFID,T1.INVENTREFTRANSID,
T1.INVENTTRANSID,T1.ISFINALIZED,T1.ITEMBOMID,T1.ITEMID,T1.ITEMPBAID,T1.ITEMREFTYPE,T1.ITEMROUTEID,T1.ITEMTAGGING,
T1.LEDGERDIMENSION,T1.LINEAMOUNT,T1.LINEDELIVERYTYPE,T1.LINEDISC,T1.LINEHEADER,T1.LINENUMBER,T1.LINEPERCENT,
T1.MATCHINGAGREEMENTLINE,T1.MATCHINGPOLICY,T1.MULTILNDISC,T1.MULTILNPERCENT,T1.NAME,T1.OVERDELIVERYPCT,T1.PALLETTAGGING,
T1.PORT,T1.PRICEUNIT,T1.PROCUREMENTCATEGORY,T1.PROJCATEGORYID,T1.PROJID,T1.PROJLINEPROPERTYID,T1.PROJSALESCURRENCYID,
T1.PROJSALESPRICE,T1.PROJSALESUNITID,T1.PROJTAXGROUPID,T1.PROJTAXITEMGROUPID,T1.PROJTRANSID,T1.PURCHASETYPE,T1.PURCHID,
T1.PURCHMARKUP,T1.PURCHPRICE,T1.PURCHQTY,T1.PURCHRECEIVEDNOW,T1.PURCHREQID,T1.PURCHREQLINEREFID,T1.PURCHSTATUS,
T1.PURCHUNIT,T1.QTYORDERED,T1.REMAININVENTFINANCIAL,T1.REMAININVENTPHYSICAL,T1.REMAINPURCHFINANCIAL,
T1.REMAINPURCHPHYSICAL,T1.REQATTENTION,T1.REQPLANIDSCHED,T1.REQPOID,T1.REQUESTER,T1.RETURNACTIONID,
1.RETURNDISPOSITIONCODEID,T1.RETURNSTATUS,T1.SCRAP,T1.SHIPPINGDATECONFIRMED,T1.SHIPPINGDATEREQUESTED,
T1.SOURCEDOCUMENTLINE,T1.STATPROCID,T1.STATTRIANGULARDEAL,T1.STOCKEDPRODUCT,T1.TAX1099AMOUNT,T1.TAX1099FIELDS,
T1.TAX1099STATE,T1.TAX1099STATEAMOUNT,T1.CONFIRMEDTAXAMOUNT,T1.TAXAUTOGENERATED,T1.TAXGROUP,T1.TAXITEMGROUP,
T1.TAXWITHHOLDBASECUR_TH,T1.TAXWITHHOLDGROUP_TH,T1.TAXWITHHOLDITEMGROUPHEADING_TH,T1.CONFIRMEDTAXWRITECODE,
T1.TRANSACTIONCODE,T1.TRANSPORT,T1.UNDERDELIVERYPCT,T1.VENDACCOUNT,T1.VENDGROUP,T1.VERSIONDATETIME,
T1.PURCHTABLEVERSIONRECID,T1.ISARCHIVED,T1.PDSCWINVENTRECEIVEDNOW,T1.PDSCWQTY,T1.PDSCWREMAININVENTPHYSICAL,
T1.PDSCWREMAININVENTFINANCIAL,T1.VIS_ITEMMASTERDESC,T1.POSTINGPROFILE_RU ,
T1.DEVIATIONQTY_RU ,T1.REFRETURNINVOICETRANS_W ,T1.MARKUPCODE_RU ,T1.INVOICEGTDID_RU ,
T1.COUNTRYREGIONNAME_RU ,T1.PRICEAGREEMENTDATE_RU,T1.DATAAREAID,T1.PARTITION,T1.RECID,2
FROM PURCHLINENOTARCHIVEDVERSIONS T1

any thoughts or similar experiences ? 

thanks,


Payroll & HR Alerts

$
0
0

Hi

I have set up alerts for fields on the Worker form such as First Name, Middle Name and Surname for all event types. Changes to the values in the fields do not generate notifications.

When setting up alerts on the Departments form for Search Name notifications are generated when the value is changed.

From this I deduce that the Batch Job generating the alerts is set up correctly but that the Alerts only work on some tables.

My understanding is that Alerts should work on any field in any table. Any suggestions as to how I can get it to work on any field in HR & Payroll?

import data from txt file to Axapta?

$
0
0

Hi All,

I have to import data from txt file to AX.

In txt file having approximately  190  fields are there , the total data can't be stored as a single line in txt file , it will come 2 pages. some lines having single line only.

the total data in txt file has to be inserted in to a table.

my exact quarry is if the data goes to the second line how can I read the data and insert in to AX table?

Thank you very much in advance.

Regards

veer

Error when processing an allocation request!

$
0
0

I get the following error when processing an allocation request, any help?!!

"The value 5637146077 is not found in the map."

All reports headers are showing their labels instead of headings

$
0
0

Dear Experts ,

All reports headers are showing their labels instead of headings. Please help me on this.

Regards,

Ravi Theja Madisetty

AX 2012 R2 - Unwanted massive project stages modification

$
0
0

Hello!

We're currently using AX 2012 R2 since more than a year, and we did face an unusual issue recently for the second time, months apart.

By an unknown trigger, the project stage for all the projects in the system is modified to Completed. We have thousands of projects and subprojects, from internal Time projects to billable T&M projects, and everything was modified to Completed. No more transactions (journals, timesheets) were possible because of this massive change, and we rushly had to generate a script to change the project stages to In process to allow the operations to resume.

Our assumption: the change on a single project stage did trigger and unwanted batch that did the same modification on all projects. There is no way in AX to process a batch to change massively the project stage, unless the subprojects from a parent project, so we don't understand.

 

Is it something that happened somewhere else? I can't find any other information about a similar issue.

 

Thanks,
David

 

 

Error while completing work : The value 'LP0202' in field 'Target license plate ID' is not found in the related table 'License plate'.

$
0
0

Hi All,

I am getting the error "The value 'LP0202' in field 'Target license plate ID' is not found in the related table 'License plate'." while i am trying to manually complete a work in new WMS. I tried to type some value for license plate but that didn't work. Alos tried to insert a new value in License plate list but the newly inserted value is not showing in drop down to select license plate number in order to complete the work. 

Kindly assist.

Regards,

Shweta

Business logic version.

$
0
0

Hello,

I see some problems dealing with framework on SSRS - business logic.

When I add new function, business logic is created in framework 4.0 by default.

Also, when I add my own class library - framework 4.0 by default.

But if I keep it that - when I deploy my report, I get a message:

Error while loading code module: ‘MyReport.BusinessLogic, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’. Details: Could not load file or assembly 'MyReport.BusinessLogic, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

So, if I change it for first time to framework 3.5 - everything is compiled fine - But only for the first time.

If there is already a project, I cannot change the framework - i.e I change from 4.0 to 3.5, save+close+open the project again, and I cannot see the change.

What is the preferred framework, and how can I change framework of existing projects?

Thanks :)


how to delete Whats inside Reference Data Source in Form AX 2012

$
0
0

i need to delete what is inside Reference Data Source so anybody help me ASAP???

Thanks

Show purchase order remaining quantity

$
0
0

Is there a way to show the remaining quantity on the each line of the purchase order, or somewhere else?

Thanks.

Journal Batch Number series

$
0
0

Hi,

i wish to create different journal batch number series for specific kind of transactions. Please help me to do it

Thanks

Jomy

[AX 2012 R2] SSRS Report Enum Parameter

$
0
0

Hello,

tried to expand the ssmSalesCustItemStatistics Report with two paramters (No:Yes) fields.

When i call the Report from menue item, the params itself are showed. But whenever I worked in the VS Environment and deployed the Report again, the last Parameter is shown as a text field.

Any idea how i can manage this Problem ?

Sometimes there is also only one Parameter shown.

how to add new workflow for items & Expense Journal AX 2012

$
0
0

i need to setup new workflow for Items Journal and Expenses Journal in Project Management Module ;

Any quick help will be highly appreciated??

Costing and Inventory Valuation in Microsoft Dynamics AX 2012 Course

$
0
0

Hi All,

I'm a newbie. I'm studying  Item group, and try to understand how to use account in this screen.

For example, there are two Account type "receipt", "issue" in Inventory Tab, what case that accounts to use.

So, would you send me the book "Costing and Inventory Valuation" or send me the links that explain it.

Thanks in advance.

Prioritize the production order

$
0
0

I have one production order that is already started, now i get a urgent production order which has to be prioritized. and these two order used a shared machine.

In order to schedule the urgent production order properly, do i have to cancel the first production order that is already started? or there is a alternative way to figure out the problem ?

thanks.


Purchase Requisition and Workflow

$
0
0

I am generating a PR and user is present in HRM as well as user relations are defined.Now the problem is i am not getting option to submit it so that it's status changes to Submitted and workflow starts from there.

No license code available for language en-us.

$
0
0

Hi all,

please provide the solution while installing AX 2009

How to change the Label of a Menu from X++?

$
0
0

Hi All,

I have a Menu in Dynamics AX 2012 and set up its Label 'ABCD' from Properties pane in AOT. I have also set up its reference inside MainMenu.

Now what I want, is to change this Label value programmatically (i.e. from X++ code) if a particular condition is true. That is I want to make the Label of that Menu change to 'XYZ' (if some p > q).

Is it possible programmatically? And if yes, plz suggest a way.

Thanks & Regards.

Sagnik.

How to: Consume Standard Document Handling Service in C#.NET or CRM 2011

$
0
0

Hi all,

I need to know how to consume AX 2012 standard document handling service in C#.NET or CRM 2011.

if anyone familiar about this plz let me know how to done this.....  

Shortcut for max date

$
0
0

Is there a shortcut for max date in the system similar to today date where the user can type only t and the system automatically retrieves the today date?

Viewing all 73760 articles
Browse latest View live


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