Quantcast
Channel: Dynamics 365 Blog
Viewing all 1498 articles
Browse latest View live

AXutil Optimize (Dynamics AX 2012 RTM)

$
0
0

Description:

The AXUtil Optimize function reindexes the Model database, but also run a shrink of the database. As the model database is in the main database in AX 2012 RTM, the whole database is shrinked.

In a large database example 1 TB database, this shrink can take extreme long time and block the production system for normal usage.

 

Reason:

 

What next:

If you are running in AX 2012 RTM, you need to plan when you run the AXUtil Optimize or alter the XU_Shrink stored procedure, so does not run.

In Dynamics AX 2012 R2 we have moved the model database out of the main database, so here you will not be affected by the issue.

Author: Kim Truelsen

Date: 26/11-2013


SEPA affected objects

$
0
0

Here is a list of the objects affected by our SEPA update. The objects listed concerns each of our supported versions. AX 2009, AX 2012  & AX2012 R2 so you might have to scroll down a bit if you are on a later version. You can learn more about the latest status(2013) of SEPA here http://blogs.msdn.com/b/axsupport/archive/2013/11/22/status-on-sepa-november-2013.aspx

AX 2009

\Data Dictionary\Tables\AddressCountryRegion
\Data Dictionary\Tables\CompanyInfo
\Data Dictionary\Tables\CustBankAccount
\Data Dictionary\Tables\CustDirectDebitMandate
\Data Dictionary\Tables\CustDirectDebitMandateLog
\Data Dictionary\Tables\CustDirectDebitMandateLogRecord
\Data Dictionary\Tables\CustInvoiceJour
\Data Dictionary\Tables\CustInvoiceTable
\Data Dictionary\Tables\CustParameters
\Data Dictionary\Tables\CustPaymModeTable
\Data Dictionary\Tables\CustTable
\Data Dictionary\Tables\CustTrans
\Data Dictionary\Tables\CustTransOpen
\Data Dictionary\Tables\LedgerJournalTrans
\Data Dictionary\Tables\ProjInvoiceJour
\Data Dictionary\Tables\SalesTable
\Data Dictionary\Maps\AddressMap
\Data Dictionary\Maps\CustVendTrans
\Data Dictionary\Extended Data Types\BankDebitDirectId
\Data Dictionary\Extended Data Types\CUC_IT
\Data Dictionary\Extended Data Types\CustBankSubmissionDays
\Data Dictionary\Extended Data Types\CustDirectDebitMandateLogRecordValue
\Data Dictionary\Extended Data Types\CustDirectDebitMandateRecId
\Data Dictionary\Extended Data Types\CustMandateCancellationDate
\Data Dictionary\Extended Data Types\CustMandateExpectedUsageCount
\Data Dictionary\Extended Data Types\CustMandateId
\Data Dictionary\Extended Data Types\CustMandateMonthsToExpiration
\Data Dictionary\Extended Data Types\CustMandateSignatureDate
\Data Dictionary\Extended Data Types\CustMandateUsageCount
\Data Dictionary\Extended Data Types\CustPaymIsSEPA
\Data Dictionary\Extended Data Types\CustPrenotificationDays
\Data Dictionary\Extended Data Types\SEPADirectDebitIssuerType
\Data Dictionary\Base Enums\BankIBSPaymType
\Data Dictionary\Base Enums\CustDirectDebitMandateLogRecordKey
\Data Dictionary\Base Enums\CustDirectDebitMandateState
\Data Dictionary\Base Enums\CustMandatePaymentType
\Data Dictionary\Base Enums\CustMandateScheme
\Data Dictionary\Base Enums\CustMandateStatus
\Data Dictionary\Base Enums\RemmitanceInfo
\Data Dictionary\Base Enums\SEPADirectDebitIssuer
\Data Dictionary\Base Enums\SEPAMessageVariantDE
\Classes\AddressSelectForm
\Classes\AddressSelectForm_CustDirectDebitMandate
\Classes\AxCompanyInfo
\Classes\AxCustInvoiceJour
\Classes\AxCustInvoiceTable
\Classes\AxCustPaymModeTable
\Classes\AxCustTable
\Classes\AxCustTrans
\Classes\AxProjInvoiceJour
\Classes\AxSalesTable
\Classes\BankPaymCancel
\Classes\CustCollectEInvoice_CustTable_NO
\Classes\CustCustomer_CustTable
\Classes\CustDirectDebitMandateLogHelper
\Classes\CustFreeTextInvoice_CustInvoiceTable
\Classes\CustOutPaym
\Classes\CustOutPaym_SEPA
\Classes\CustOutPaym_SEPA_BE
\Classes\CustOutPaym_SEPA_DE
\Classes\CustOutPaym_SEPA_ES
\Classes\CustOutPaym_SEPA_FR
\Classes\CustOutPaym_SEPA_IT
\Classes\CustOutPaym_SEPA_NL
\Classes\CustOutPaymRecord_SEPA
\Classes\CustOutPaymRecord_SEPA_BE
\Classes\CustOutPaymRecord_SEPA_DE
\Classes\CustOutPaymRecord_SEPA_ES
\Classes\CustOutPaymRecord_SEPA_FR
\Classes\CustOutPaymRecord_SEPA_IT
\Classes\CustOutPaymRecord_SEPA_NL
\Classes\CustReversePosting
\Classes\CustVendOutPaym
\Classes\CustVendOutPaymRecord
\Classes\CustVendPaymProposalTransferToJournal
\Classes\CustVoucher
\Classes\LedgerJournalTransUpdateCust
\Classes\NumberSeqReference_Customer
\Classes\ProdProjEInvoice_CustPaymModeTable
\Classes\ProdProjEInvoice_CustTable
\Classes\ProdProjEInvoice_CustTrans
\Classes\ProdProjEInvoice_ProjInvoiceJour
\Classes\ReturnReturnOrderIn_SalesTable
\Classes\ReturnReturnOrderOut_SalesTable
\Classes\SalesSalesEInvoice_CustInvoiceJour
\Classes\SalesSalesEInvoice_CustPaymModeTable
\Classes\SalesSalesEInvoice_CustTable
\Classes\SalesSalesEInvoice_CustTrans
\Classes\SalesSalesInvoice_CustInvoiceJour
\Classes\SalesSalesOrder_SalesTable
\Classes\VendOutPaym
\Classes\VendOutPaym_SEPA
\Classes\VendOutPaym_SEPA_AT
\Classes\VendOutPaym_SEPA_BE
\Classes\VendOutPaym_SEPA_DE
\Classes\VendOutPaym_SEPA_DEPrintable
\Classes\VendOutPaym_SEPA_ES
\Classes\VendOutPaym_SEPA_FI
\Classes\VendOutPaym_SEPA_FR
\Classes\VendOutPaym_SEPA_IT
\Classes\VendOutPaym_SEPA_NL
\Classes\VendOutPaym_SEPA03
\Classes\VendOutPaym_SEPA03_AT
\Classes\VendOutPaym_SEPA03_BE
\Classes\VendOutPaym_SEPA03_DE
\Classes\VendOutPaym_SEPA03_ES
\Classes\VendOutPaym_SEPA03_FI
\Classes\VendOutPaym_SEPA03_FR
\Classes\VendOutPaym_SEPA03_IT
\Classes\VendOutPaym_SEPA03_NL
\Classes\VendOutPaymRecord_ISO20022_Gen_BE
\Classes\VendOutPaymRecord_SEPA
\Classes\VendOutPaymRecord_SEPA_AT
\Classes\VendOutPaymRecord_SEPA_BE
\Classes\VendOutPaymRecord_SEPA_DE
\Classes\VendOutPaymRecord_SEPA_ES
\Classes\VendOutPaymRecord_SEPA_FI
\Classes\VendOutPaymRecord_SEPA_FR
\Classes\VendOutPaymRecord_SEPA_IT
\Classes\VendOutPaymRecord_SEPA_NL
\Classes\VendOutPaymRecord_SEPA03
\Classes\VendOutPaymRecord_SEPA03_AT
\Classes\VendOutPaymRecord_SEPA03_BE
\Classes\VendOutPaymRecord_SEPA03_DE
\Classes\VendOutPaymRecord_SEPA03_ES
\Classes\VendOutPaymRecord_SEPA03_FI
\Classes\VendOutPaymRecord_SEPA03_FR
\Classes\VendOutPaymRecord_SEPA03_IT
\Classes\VendOutPaymRecord_SEPA03_NL
\Forms\CompanyInfo
\Forms\CustDirectDebitMandate
\Forms\CustDirectDebitMandateLookup
\Forms\CustFreeInvoice
\Forms\CustOpenTrans
\Forms\CustOpenTransReverse
\Forms\CustParameters
\Forms\CustPaymEntry
\Forms\CustPaymMode
\Forms\CustTable
\Forms\CustTrans
\Forms\CustTransOpen
\Forms\LedgerJournalTransCustPaym
\Forms\SalesTable
\Reports\CustDirectDebitMandate
\Reports\CustDirectDebitMandateInvoice
\Reports\FreeTextInvoice
\Reports\ProjInvoice
\Reports\SalesInvoice
\Reports\VendOutAttendingNote_SEPA_DE
\Reports\VendOutCoveringLetter_SEPA_DE
\Reports\VendOutPaymControl
\Menu Items\Display\CustDirectDebitMandate
\Menu Items\Output\CustDirectDebitMandateInvoiceReport
\Menu Items\Output\CustDirectDebitMandateReport
\Menu Items\Output\VendOutAttendingNote_SEPA_DE
\Menu Items\Output\VendOutCoveringLetter_SEPA_DE

AX 2012

\Data Dictionary\Tables\CompanyInfo
\Data Dictionary\Tables\CustBankAccount
\Data Dictionary\Tables\CustDirectDebitMandate
\Data Dictionary\Tables\CustDirectDebitMandateInvoiceHeaderTmp
\Data Dictionary\Tables\CustDirectDebitMandateInvoiceTmp
\Data Dictionary\Tables\CustDirectDebitMandateLog
\Data Dictionary\Tables\CustDirectDebitMandateLogRecord
\Data Dictionary\Tables\CustDirectDebitMandateTmp
\Data Dictionary\Tables\CustInvoiceJour
\Data Dictionary\Tables\CustInvoiceTable
\Data Dictionary\Tables\CustParameters
\Data Dictionary\Tables\CustPaymModeTable
\Data Dictionary\Tables\CustTable
\Data Dictionary\Tables\CustTrans
\Data Dictionary\Tables\CustTransOpen
\Data Dictionary\Tables\CustVendOutTmp
\Data Dictionary\Tables\DocuRef
\Data Dictionary\Tables\FreeTextInvoiceTmp
\Data Dictionary\Tables\LedgerJournalTrans
\Data Dictionary\Tables\ProjInvoiceJour
\Data Dictionary\Tables\ProjInvoiceTmp
\Data Dictionary\Tables\SalesInvoiceDetailTmp
\Data Dictionary\Tables\SalesInvoiceHeaderFooterTmp
\Data Dictionary\Tables\SalesTable
\Data Dictionary\Maps\CustVendTrans
\Data Dictionary\Views\CustDirectDebitMandateLogView
\Data Dictionary\Extended Data Types\BankDebitDirectId
\Data Dictionary\Extended Data Types\CUC_IT
\Data Dictionary\Extended Data Types\CustBankSubmissionDays
\Data Dictionary\Extended Data Types\CustDirectDebitMandateLogRecordValue
\Data Dictionary\Extended Data Types\CustDirectDebitMandateRecId
\Data Dictionary\Extended Data Types\CustMandateCancellationDate
\Data Dictionary\Extended Data Types\CustMandateExpectedUsageCount
\Data Dictionary\Extended Data Types\CustMandateId
\Data Dictionary\Extended Data Types\CustMandateMonthsToExpiration
\Data Dictionary\Extended Data Types\CustMandateSignatureDate
\Data Dictionary\Extended Data Types\CustMandateUsageCount
\Data Dictionary\Extended Data Types\CustPaymIsSEPA
\Data Dictionary\Extended Data Types\CustPrenotificationDays
\Data Dictionary\Base Enums\CustDirectDebitMandateLogRecordKey
\Data Dictionary\Base Enums\CustDirectDebitMandateState
\Data Dictionary\Base Enums\CustMandatePaymentType
\Data Dictionary\Base Enums\CustMandateScheme
\Data Dictionary\Base Enums\CustMandateStatus
\Macros\AifPaymentFormats
\Macros\AxdCustPaymentsDCT
\Classes\AifMessage
\Classes\AifMessageParts
\Classes\AxCompanyInfo
\Classes\AxCustInvoiceJour
\Classes\AxCustInvoiceTable
\Classes\AxCustPaymModeTable
\Classes\AxCustTable
\Classes\AxCustTrans
\Classes\AxdExportCustVendPayment
\Classes\AxProjInvoiceJour
\Classes\AxSalesTable
\Classes\BankPaymCancel
\Classes\CustCustomer_CustTable
\Classes\CustDirectDebitMandateContract
\Classes\CustDirectDebitMandateController
\Classes\CustDirectDebitMandateDP
\Classes\CustDirectDebitMandateInvoiceController
\Classes\CustDirectDebitMandateInvoiceDP
\Classes\CustDirectDebitMandateLogHelper
\Classes\CustECollectLetter_CustTable_NO
\Classes\CustPayments_CustDirectDebitMandate
\Classes\CustPayments_CustTable
\Classes\CustPayments_CustTrans
\Classes\CustPayments_Log
\Classes\CustPayments_LogRecord
\Classes\CustPayments_LogView
\Classes\CustReversePosting
\Classes\CustVendPaymAifSetup
\Classes\CustVendPaymProposalTransferToJournal
\Classes\CustVoucher
\Classes\FreeTextInvoiceDP
\Classes\LedgerJournalTransUpdateCust
\Classes\NumberSeqModuleCustomer
\Classes\ProdProjEInvoice_CustPaymModeTable
\Classes\ProdProjEInvoice_CustTable
\Classes\ProdProjEInvoice_CustTrans
\Classes\ProdProjEInvoice_ProjInvoiceJour
\Classes\ProjInvoiceDP
\Classes\ProjInvoiceJournalPost
\Classes\ReturnReturnOrderIn_SalesTable
\Classes\ReturnReturnOrderOut_SalesTable
\Classes\SalesInvoiceDP
\Classes\SalesSalesEInvoice_CustInvoiceJour
\Classes\SalesSalesEInvoice_CustPaymModeTable
\Classes\SalesSalesEInvoice_CustTable
\Classes\SalesSalesEInvoice_CustTrans
\Classes\SalesSalesInvoice_CustInvoiceJour
\Classes\SalesSalesOrder_SalesTable
\Classes\VendOutPaymControlAIF
\Forms\CustDirectDebitMandate
\Forms\CustFreeInvoice
\Forms\CustOpenTrans
\Forms\CustOpenTransReverse
\Forms\CustParameters
\Forms\CustPaymEntry
\Forms\CustPaymMode
\Forms\CustTable
\Forms\CustTrans
\Forms\CustTransOpen
\Forms\LedgerJournalTransCustPaym
\Forms\OMLegalEntity
\Forms\SalesCopying
\Forms\SalesTable
\SSRS Reports\Reports\CustDirectDebitMandate
\SSRS Reports\Reports\CustDirectDebitMandateInvoice
\SSRS Reports\Reports\FreeTextInvoice
\SSRS Reports\Reports\ProjInvoice
\SSRS Reports\Reports\SalesInvoice
\SSRS Reports\Reports\VendOutPaymControl
\Visual Studio Projects\Dynamics AX Model Projects\CustDirectDebitMandateInvoiceReport
\Visual Studio Projects\Dynamics AX Model Projects\CustDirectDebitMandateReport
\Queries\CustPayments
\Menu Items\Display\CustDirectDebitMandateEdit
\Menu Items\Display\CustDirectDebitMandateNew
\Menu Items\Display\CustDirectDebitMandateView
\Menu Items\Output\CustDirectDebitMandate
\Menu Items\Output\CustDirectDebitMandateInvoice
\Security\Privileges\CustTableMaintain
\Resources\CustPayments_SEPADirectDebit_02_xslt
\Resources\VendPayments_SEPACreditTransfer_03_xsl
\Resources\VendPayments_SEPACreditTransfer_xslt
\Resources\VendPayments_SEPATruncateTags_xslt
\Resources\VendPayments_SEPATruncateTagsAndBOM_xslt

AX 2012 R2

\Data Dictionary\Tables\CompanyInfo
\Data Dictionary\Tables\CustBankAccount
\Data Dictionary\Tables\CustDirectDebitMandate
\Data Dictionary\Tables\CustDirectDebitMandateInvoiceHeaderTmp
\Data Dictionary\Tables\CustDirectDebitMandateInvoiceTmp
\Data Dictionary\Tables\CustDirectDebitMandateLog
\Data Dictionary\Tables\CustDirectDebitMandateLogRecord
\Data Dictionary\Tables\CustDirectDebitMandateTmp
\Data Dictionary\Tables\CustInvoiceJour
\Data Dictionary\Tables\CustInvoiceTable
\Data Dictionary\Tables\CustParameters
\Data Dictionary\Tables\CustPaymModeTable
\Data Dictionary\Tables\CustTable
\Data Dictionary\Tables\CustTrans
\Data Dictionary\Tables\CustTransOpen
\Data Dictionary\Tables\CustVendOutTmp
\Data Dictionary\Tables\DocuRef
\Data Dictionary\Tables\FreeTextInvoiceHeaderFooterTmp
\Data Dictionary\Tables\FreeTextInvoiceLocalizationTmp
\Data Dictionary\Tables\FreeTextInvoiceTmp
\Data Dictionary\Tables\LedgerJournalTrans
\Data Dictionary\Tables\ProjInvoiceJour
\Data Dictionary\Tables\ProjInvoiceLocalizationTmp
\Data Dictionary\Tables\ProjInvoiceTmp
\Data Dictionary\Tables\PSAContractLineInvoiceTmp
\Data Dictionary\Tables\PSACustRetentionReleaseInvoiceTmp
\Data Dictionary\Tables\PSAManageInvoiceBRTmp
\Data Dictionary\Tables\PSAManageInvoiceTmp
\Data Dictionary\Tables\PSAProjInvoiceHeaderTmp
\Data Dictionary\Tables\SalesInvoiceHeaderFooterTmp
\Data Dictionary\Tables\SalesInvoiceLocalizationTmp
\Data Dictionary\Tables\SalesInvoiceTmp
\Data Dictionary\Tables\SalesTable
\Data Dictionary\Maps\CustVendTrans
\Data Dictionary\Views\CustDirectDebitMandateLogView
\Data Dictionary\Extended Data Types\BankDebitDirectId
\Data Dictionary\Extended Data Types\CUC_IT
\Data Dictionary\Extended Data Types\CustBankSubmissionDays
\Data Dictionary\Extended Data Types\CustDirectDebitMandateLogRecordValue
\Data Dictionary\Extended Data Types\CustDirectDebitMandateRecId
\Data Dictionary\Extended Data Types\CustMandateCancellationDate
\Data Dictionary\Extended Data Types\CustMandateExpectedUsageCount
\Data Dictionary\Extended Data Types\CustMandateId
\Data Dictionary\Extended Data Types\CustMandateMonthsToExpiration
\Data Dictionary\Extended Data Types\CustMandateSignatureDate
\Data Dictionary\Extended Data Types\CustMandateUsageCount
\Data Dictionary\Extended Data Types\CustPaymIsSEPA
\Data Dictionary\Extended Data Types\CustPrenotificationDays
\Data Dictionary\Base Enums\CustDirectDebitMandateLogRecordKey
\Data Dictionary\Base Enums\CustDirectDebitMandateState
\Data Dictionary\Base Enums\CustMandatePaymentType
\Data Dictionary\Base Enums\CustMandateScheme
\Data Dictionary\Base Enums\CustMandateStatus
\Macros\AifPaymentFormats
\Macros\AxdCustPaymentsDCT
\Classes\AxCompanyInfo
\Classes\AxCustInvoiceJour
\Classes\AxCustInvoiceTable
\Classes\AxCustPaymModeTable
\Classes\AxCustTable
\Classes\AxCustTrans
\Classes\AxdExportCustVendPayment
\Classes\AxProjInvoiceJour
\Classes\AxSalesTable
\Classes\BankPaymCancel
\Classes\CustCustomer_CustTable
\Classes\CustDirectDebitMandateContract
\Classes\CustDirectDebitMandateController
\Classes\CustDirectDebitMandateDP
\Classes\CustDirectDebitMandateInvoiceController
\Classes\CustDirectDebitMandateInvoiceDP
\Classes\CustDirectDebitMandateLogHelper
\Classes\CustECollectLetter_CustTable_NO
\Classes\CustPayments_CustDirectDebitMandate
\Classes\CustPayments_CustTable
\Classes\CustPayments_CustTrans
\Classes\CustPayments_Log
\Classes\CustPayments_LogRecord
\Classes\CustPayments_LogView
\Classes\CustReversePosting
\Classes\CustVendPaymAifSetup
\Classes\CustVendPaymProposalTransferToJournal
\Classes\CustVoucher
\Classes\FreeTextInvoiceDP
\Classes\LedgerJournalTransUpdateCust
\Classes\NumberSeqModuleCustomer
\Classes\ProdProjEInvoice_CustPaymModeTable
\Classes\ProdProjEInvoice_CustTable
\Classes\ProdProjEInvoice_CustTrans
\Classes\ProdProjEInvoice_ProjInvoiceJour
\Classes\ProjInvoiceDP
\Classes\ProjInvoiceJournalPost
\Classes\PSAContractLineInvoiceDP
\Classes\PSACustRetentionReleaseInvoiceDP
\Classes\PSAManageInvoiceBRDP
\Classes\PSAManageInvoiceDP
\Classes\PSAProjInvoiceDP
\Classes\ReturnReturnOrderIn_SalesTable
\Classes\ReturnReturnOrderOut_SalesTable
\Classes\SalesInvoiceDP
\Classes\SalesInvoiceDPBase
\Classes\SalesSalesEInvoice_CustInvoiceJour
\Classes\SalesSalesEInvoice_CustPaymModeTable
\Classes\SalesSalesEInvoice_CustTable
\Classes\SalesSalesEInvoice_CustTrans
\Classes\SalesSalesInvoice_CustInvoiceJour
\Classes\SalesSalesOrder_SalesTable
\Classes\VendOutPaymControlAIF
\Forms\CustDirectDebitMandate
\Forms\CustFreeInvoice
\Forms\CustOpenTrans
\Forms\CustOpenTransReverse
\Forms\CustParameters
\Forms\CustPaymEntry
\Forms\CustPaymMode
\Forms\CustTable
\Forms\CustTrans
\Forms\CustTransOpen
\Forms\LedgerJournalTransCustPaym
\Forms\OMLegalEntity
\Forms\SalesCopying
\Forms\SalesTable
\SSRS Reports\Reports\CustDirectDebitMandate
\SSRS Reports\Reports\CustDirectDebitMandateInvoice
\SSRS Reports\Reports\FreeTextInvoice
\SSRS Reports\Reports\ProjInvoice
\SSRS Reports\Reports\PSAContractLineInvoice
\SSRS Reports\Reports\PSACustRetentionReleaseInvoice
\SSRS Reports\Reports\PSAManageInvoice
\SSRS Reports\Reports\PSAManageInvoiceBR
\SSRS Reports\Reports\PSAProjInvoice
\SSRS Reports\Reports\SalesInvoice
\SSRS Reports\Reports\VendOutPaymControl
\Visual Studio Projects\Dynamics AX Model Projects\CustDirectDebitMandateInvoiceReport
\Visual Studio Projects\Dynamics AX Model Projects\CustDirectDebitMandateReport
\Queries\CustPayments
\Menu Items\Display\CustDirectDebitMandateEdit
\Menu Items\Display\CustDirectDebitMandateNew
\Menu Items\Display\CustDirectDebitMandateView
\Menu Items\Output\CustDirectDebitMandate
\Menu Items\Output\CustDirectDebitMandateInvoice
\Security\Privileges\CustTableMaintain
\Resources\CustPayments_SEPADirectDebit_02_xslt
\Resources\VendPayments_SEPACreditTransfer_03_xsl
\Resources\VendPayments_SEPACreditTransfer_xslt
\Resources\VendPayments_SEPATruncateTags_xslt
\Resources\VendPayments_SEPATruncateTagsAndBOM_xslt

 

 

 

 

 

AX Content: Microsoft Dynamics Lifecycle Services

$
0
0

Microsoft Dynamics Lifecycle Services (LCS) provides a cloud-based collaborative workspace that customers and their partners can use to manage Microsoft Dynamics AX projects from pre-sales to implementation and operations. Based on the phase of your project and the industry you are working in, the site provides checklists and tools that help you manage the project. It also provides a dashboard so that you have a single place to get up-to-date project information. Lifecycle Services is available to customers and partners as part of their support plans. You can access it with your CustomerSource or PartnerSource credentials.

Some of the tools provided by Lifecycle Services are:

Projects– The key organizer of Lifecycle Services. The type of project you select determines which tools are available to manage your project. Check out more information here.

Business process modeler (BPM)– The business process modeler allows you to create, view, and modify standard business process flows within Microsoft Dynamics AX. For more information, see BPM.

License sizing estimator and Usage profiler These tools can help you estimate the size of your implementation in terms of number of licenses required, hardware and software. You can find more information here and here.

Customization and Upgrade analysis – Customization analysis helps you plan your customizations by validating model files against best practices. The upgrade analysis tool helps you plan your upgrade to Microsoft Dynamics AX 2012. You can find more information about these tools here and here.

Issue search– Issue search helps you find existing solutions and workarounds for known issues in Microsoft Dynamics AX. Check out more information here.

System diagnostics– The system diagnostics service will help administrators monitor Microsoft Dynamics AX environments. For more information, look here.

For more information about Microsoft Dynamics Lifecycle Services, check out the complete user guide here.

 

Cumulative SEPA credit transfer and SEPA direct debit update for Austria direct debit specific country format, update COR1 mandate scheme and changes in MT940 file import format functionality in Microsoft Dynamics AX 2009 SP1” has been released

$
0
0

Please be informed that  “Cumulative SEPA credit transfer and SEPA direct debit update for Austria direct debit specific country format, update COR1 mandate scheme and changes in MT940 file import format functionality in Microsoft Dynamics AX 2009 SP1” has now been released

Overview:

The EPC is committed to delivering following pan-European payment instruments:
- For credit transfers – SCT – SEPA Credit Transfer
- For direct debits – SDD – SEPA Direct Debit

The SEPA credit transfer payment format is implemented by using the payment format functionality in Microsoft Dynamics AX. Nine SEPA export file formats are available in Microsoft Dynamics AX. These export formats conform to the SEPA ISO 20022 XML standard that is specified in the SEPA Credit Transfer Scheme Rulebook that the EPC releases. The following SEPA export file formats are currently available:
- The SEPA ISO20022 Credit Transfer export format is used for most countries/regions within the Single Euro Payments Area.
- Support is provided for eight countries that have special requirements, and a separate export format is provided for each of these countries: Austria, Belgium, Finland, France, Germany, Italy, Spain, and The Netherlands.

The SEPA direct debit generic payment format is currently supported in Microsoft Dynamics and follows the EPC B2B and Core Direct Debit Scheme Rulebooks. The ability to deal with pre-notification and handle direct debit mandates is currently supported in Microsoft Dynamics. The following SEPA export file formats are currently available:
- The SEPA ISO20022 Credit Transfer export format is used for most countries/regions within the Single Euro Payments Area.
- Support is provided for seven countries that have special requirements and separate export format for each of these countries/regions: Austria, Belgium, France, Germany, Italy, Spain and The Netherlands.

Download information:
Until the KB article is published externally, the feature is available for download by opening a support case and asking for a hotfix for the KB article 2902097. This article will be updated once the KB article is published and the hotfix should be made available through Lifecycle Services within a few days.

 

You receive the error: “The transactions on voucher xxxxxxx do not balance as per xx/xx/xxxx. (Company currency: -x.xx - secondary currency: x.xx)” when attempting to post an invoice proposal in Project management and accounting.

$
0
0

One possible cause of this issue is the duplication of number sequences.  In Project management and accounting, there are separate number sequence setups available for On-Account Invoice, Invoice, On-Account Credit Note and Credit Note document types.  If the number sequences are not uniquely defined, in the posting process, when the records are fetched from the projProposalJour\ProjInvoiceJour it is possible that posting a credit would fetch the corresponding invoice with the same number sequence and vice versa.  This would then result in a situation where the merger of the documents results in an out of balance transaction, and then you would receive the error: "The transactions on voucher xxxxxxx do not balance as per xx/xx/xxxx. (Company currency: -x.xx - secondary currency: x.xx)".

To resolve this issue, you have a few options:

  1. Uniquely define the number sequences with a character segment specific to each document type.
  2. Use the same number sequence for the document types.
  3. You could also resolve the error by bumping up the next number to something that would not be a duplicate.  However, this would be a temporary solution as you would likely run into the error in the future on other documents.

Cumulative SEPA credit transfer and SEPA direct debit update for Austria direct debit specific country format, update COR1 mandate scheme and changes in MT940 file import format functionality in Microsoft Dynamics AX 2012 has been released

$
0
0

Cumulative SEPA credit transfer and SEPA direct debit update for Austria direct debit specific country format, update COR1 mandate scheme and changes in MT940 file import format functionality in Microsoft Dynamics AX 2012 has now been released

Overview:
The Single Euro Payments Area (SEPA) is an initiative by the European Commission in which all electronic payments are considered domestic, regardless of the country/region where the individual, business, or organization, and the bank are located. Within this area, there is no difference between national and cross-border payments. The SEPA includes the 27 European Union (EU) member states, plus Iceland, Liechtenstein, Norway, Switzerland, and Monaco. The SEPA helps form a single market for payment transactions within the European Economic Area (EEA).

The EPC is committed to delivering following pan-European payment instruments:
- For credit transfers – SCT – SEPA Credit Transfer
- For direct debits – SDD – SEPA Direct Debit

The SEPA credit transfer payment format is implemented by using the payment format functionality in Microsoft Dynamics AX. Nine SEPA export file formats are available in Microsoft Dynamics AX. These export formats conform to the SEPA ISO 20022 XML standard that is specified in the SEPA Credit Transfer Scheme Rulebook that the EPC releases. The following SEPA export file formats are currently available:
- The SEPA ISO20022 Credit Transfer export format is used for most countries/regions within the Single Euro Payments Area.
- Support is provided for eight countries that have special requirements, and a separate export format is provided for each of these countries: Austria, Belgium, Finland, France, Germany, Italy, Spain, and The Netherlands.

The SEPA direct debit generic payment format is currently supported in Microsoft Dynamics and follows the EPC B2B and Core Direct Debit Scheme Rulebooks. The ability to deal with pre-notification and handle direct debit mandates is currently supported in Microsoft Dynamics. The following SEPA export file formats are currently available:
- The SEPA ISO20022 Credit Transfer export format is used for most countries/regions within the Single Euro Payments Area.
- Support is provided for seven countries that have special requirements and separate export format for each of these countries/regions: Austria, Belgium, France, Germany, Italy, Spain and The Netherlands.

Download information:
Until the KB article is published externally, the feature is available for download by opening a support case and asking for a hotfix for the KB article 2902097. This article will be updated once the KB article is published and the hotfix should be made available through Lifecycle Services within a few days.

Using Lifecycle Services to Download Hotfixes

$
0
0

If you haven’t heard about our new Lifecycle Services tools designed to help manage your entire Microsoft Dynamics AX application lifecycle, there are plenty of reasons to start learning more about them. A listing of the tools that are available can be found on TechNet (http://technet.microsoft.com/en-us/library/dn268616.aspx) and there are also a series of videos that show some examples of how the tools are used which can be found on our Lifecyle Services Engineering blog.

One of the most important and most exciting features within Lifecycle Services is the Issue Search service which provides the ability to download any hotfix released for any release of Microsoft Dynamics AX 2012 and get some high level information on what objects changed with that hotfix. If you know the KB article already for a fix, the search can instantly take you to a page to download the hotfix and get information about the contents of the hotfix. There are many other search options as well if you want to search for fixes in a particular area, keyword, release, etc.

It is incredibly easy for any customer or partner that can login to CustomerSource or PartnerSource to be able to quickly get setup to look for and download hotfixes using the Issue Search tool within Lifecycle Services also known as LCS. If you have never used LCS before, just follow these quick and easy steps to get you started using Issue Search today!

  1. You will need to know the Windows Live ID that is linked to your CustomerSource or PartnerSource login. That same Live ID will be used to login to Lifecycle Services.
  2. In your browser, navigate to https://lcs.dynamics.com and choose to the Customer/Partner login option, and if you are already signed in to your linked Live ID you will be taken directly into LCS or you will be asked to Sign In at this time.
  3. If it is the first time you are logging in, you will be presented with a Legal Agreement that you must read through to the bottom and accept before entering the site. Once you accept the agreement you will come in to your LCS home page.
  4. Look for the column of buttons labeled Projects, and follow one of these two paths:
    1. If you already have a project created, press the All projects button to go into a list of the already created projects. Then pick one of the projects listed to get into the Project home page.
    2. Otherwise, click the New project button and give the project a name and description and choose whichever type of project you feel is most appropriate. Visit the Project home page TechNet information for a description of the different project types. Fill out the other information on the New project form and choose the Create project button. This will create the project and take you into the Project home page.
  5. On the project home page, look for the icon titled Issue Search (icon is a magnifying glass) and click on the icon to open the Issue Search tool.
  6. If you know the KB article number for the hotfix, type it in and click the Magnifying glass button to search.

       7.  Click on the title of the item in the list and you will be taken to the page which allows the download of the hotfix and additional information about the fix.

 

       8.Clicking on the Download hotfix button will take you directly to the page to allow you to download the fix. Clicking the View changes button will take you to a window where you can inspect the code changes directly related to this hotfix.


 Critical:

The only supported method for using hotfixes provided by Microsoft is to install the official hotfix package which can be downloaded.

Microsoft DOES NOT recommend making code changes in your development environment based on the information shown in the View changes window. The information displayed does not highlight any changes that may have been already made by a prior or future hotfix which touch the same method or objects.

 

As mentioned, you also can use keywords, areas of the product, or other options to search for Resolved or In Progess hotfixes. Using quotations to group words is suggested when doing a search if searching for a single phrase. Once the search is complete, you can easily click on one of the Item types or versions at the top to restrict the search even further.

 Information appearing in the Issue Search is updated very frequently. You are also able to select an issue that has an Open issue type and track its progress using a Watch List feature for issues that are currently under investigation all the way through to the resolution of the issue.

Cumulative SEPA credit transfer and SEPA direct debit update for Austria direct debit specific country format and update COR1 mandate scheme in Microsoft Dynamics AX 2012 R2 has been released

$
0
0

This is to inform you that Cumulative SEPA credit transfer and SEPA direct debit update for Austria direct debit specific country format and update COR1 mandate scheme in Microsoft Dynamics AX 2012 R2 has been released

Overview:

The Single Euro Payments Area (SEPA) is an initiative by the European Commission in which all electronic payments are considered domestic, regardless of the country/region where the individual, business, or organization, and the bank are located. Within this area, there is no difference between national and cross-border payments. The SEPA includes the 27 European Union (EU) member states, plus Iceland, Liechtenstein, Norway, Switzerland, and Monaco. The SEPA helps form a single market for payment transactions within the European Economic Area (EEA).

The EPC is committed to delivering following pan-European payment instruments:
- For credit transfers – SCT – SEPA Credit Transfer
- For direct debits – SDD – SEPA Direct Debit

The SEPA credit transfer payment format is implemented by using the payment format functionality in Microsoft Dynamics AX. Nine SEPA export file formats are available in Microsoft Dynamics AX. These export formats conform to the SEPA ISO 20022 XML standard that is specified in the SEPA Credit Transfer Scheme Rulebook that the EPC releases. The following SEPA export file formats are currently available:
- The SEPA ISO20022 Credit Transfer export format is used for most countries/regions within the Single Euro Payments Area.
- Support is provided for eight countries that have special requirements, and a separate export format is provided for each of these countries: Austria, Belgium, Finland, France, Germany, Italy, Spain, and The Netherlands.

The SEPA direct debit generic payment format is currently supported in Microsoft Dynamics and follows the EPC B2B and Core Direct Debit Scheme Rulebooks. The ability to deal with pre-notification and handle direct debit mandates is currently supported in Microsoft Dynamics. The following SEPA export file formats are currently available:
- The SEPA ISO20022 Credit Transfer export format is used for most countries/regions within the Single Euro Payments Area.
- Support is provided for seven countries that have special requirements and separate export format for each of these countries/regions: Austria, Belgium, France, Germany, Italy, Spain and The Netherlands.

Download information:

Until the KB article is published externally, the feature is available for download by opening a support case and asking for a hotfix for the KB article 2902097. This article will be updated once the KB article is published and the hotfix should be made available through Lifecycle Services within a few days.


New and Updated Documentation for Microsoft Dynamics® AX 2012, Microsoft Dynamics AX 2012 Feature Pack, and Microsoft Dynamics AX 2012 R2 – December 2013

$
0
0

Since the end of October we have published some major batches of content and existing documentation has been updated.

The documentation for the cumulative update 7 for Microsoft Dynamics AX 2012 R2 has already been announced on this blog and so has the publication of the New, Changed, and Deprecated Features guide for AX2012. Below, you’ll find a link to download the New, Changed, and Deprecated Features guide for AX2012 and a link to the content on TechNet.

Apart from the content mentioned above, this article contains links to new information for the Human resources and Payroll cubes, a link to the Find AX 2012 content datasheet, and a link to information about the RFP responses tool. The RFP responses tool was formerly known as the Q&A tool, and has been moved from InformationSource to Lifecycle Services.

 

New Changed, and Deprecated Features

Microsoft Dynamics AX 2012 New, Changed, and Deprecated Features guide   Download this document for a summary of new and changed features that have been implemented in Microsoft Dynamics® AX 2012, Microsoft Dynamics AX 2012 Feature Pack, and Microsoft Dynamics AX 2012 R2. The document also describes companion apps and tools and services that support AX 2012. It also includes deprecated feature notices that describe features that have been removed in an AX 2012 release or are planned to be removed in future releases.

Microsoft Dynamics AX 2012 New, Changed, and Deprecated Features Library on TechNet   View a summary of new and changed features in Microsoft Dynamics® AX 2012, Microsoft Dynamics AX 2012 Feature Pack, and Microsoft Dynamics AX 2012 R2 on TechNet.

 

New Reference Information

Reference information for the Human resources cube   This topic lists the measures and dimensions in the Human resources cube. Audience: Developers and ITPro

Reference information for the Payroll cube   This topic lists the measures and dimensions in the Payroll cube. Audience: Developers and ITPro

 

Help and Resources Datasheet – Now online

Find AX 2012 content   This topic is an online version of the Help and Resources datasheet. It describes the available content resources and tools, and what each can be used for.  Audience: All

 

Update on the RFP responses tool

RFP responses   This topic describes the RFP responses page on Microsoft Dynamics Lifecycle Services.  Audience: Partners

           

 

 

The Description in the Free text invoice lines changes after the invoice is posted or when printing a Free Text Invoice in AX2012

$
0
0

The Description information does not go to the Free Text Invoice Report, what happens is that the Description writes itself to the Invoice Text field on the General Tab of Line Details on the Free Text invoice. Once there is data in that field filled in, the field does not change by changing the Description on the FTI line. However, if you change the data in the Invoice Text field on Line details, you will see that update on the Free Text Invoice Report and posted journal:


 
   
  
  
  
  
  
  
  
  
  
  
  
 
 
 

 

 
 
  
  
  
  
  
  
  
  
  
  
  
  
 
 
 

AX Content: Multiple instances of SQL Server Reporting Services (SSRS) on one computer

$
0
0

Do you have multiple instances of SQL Server Reporting Services that run on the same computer? Do you want to integrate those instances with Microsoft Dynamics AX? If so, a Windows PowerShell command is now available with cumulative update 7 for Microsoft Dynamics AX 2012 R2 that makes the integration process a whole lot easier! 

For example, assume that you have a report server that hosts three Reporting Services instances. To integrate these instances with Microsoft Dynamics AX, follow these steps:

  1. Integrate the first Reporting Services instance with Microsoft Dynamics AX. To do this, run the Microsoft Dynamics AX setup wizard to install the reporting extensions, and then deploy the reports that are included with Microsoft Dynamics AX. For more information, see Checklist: Install the Reporting Services extensions and deploy reports.
  2. Integrate the second Reporting Services instance with Microsoft Dynamics AX by running the Install-AXReportInstanceExtensions Windows PowerShell command.
  3. Integrate the third Reporting Services instance with Microsoft Dynamics AX by running the Install-AXReportInstanceExtensions command.

The following diagram summarizes this process.

For information about how to run the Install-AXReportInstanceExtensions command, see Install multiple instances of Reporting Services on the same computer (for use with Microsoft Dynamics AX).

 

Trace Parser Tip - How to find a SQL statement across all sessions

$
0
0

I recently had a trace from a customer that had around 60 different sessions. I was trying to find a specific SQL statement in one of the sessions that I had identified in a SQL blocking trace.

However I didn’t want to manually select each session to look for it, and there is no other way to search across all sessions. So I created the following query you can run against the Trace Parser database to locate the session(s) with the statement in:

--Find SQL in all traces

-- Suggest you create the following to improve performance

--CREATE NONCLUSTERED INDEX IX_USP_QueryStatementHash

--ON [dbo].[TraceLines] ([CallTypeId],[QueryStatementHash])

SELECT [T4].[TraceId], [T6].[TraceName], [T5].[UserName], [T2].Statement

FROM [dbo].[TraceLines] AS [T1]

INNER JOIN [dbo].[QueryStatements] AS [T2] ON [T1].[QueryStatementHash] = [T2].[QueryStatementHash]

INNER JOIN [dbo].[UserSessionProcesses] AS [T3] ON [T1].[UserSessionProcessId] = [T3].[UserSessionProcessId]

INNER JOIN [dbo].[UserSessions] AS [T4] ON [T3].[SessionId] = [T4].[SessionId]

INNER JOIN [dbo].[Users] AS [T5] ON [T4].[UserId] = [T5].[UserId]

INNER JOIN [dbo].[Traces] AS [T6] ON [T4].[TraceId] = [T6].[TraceId]

WHERE ([T2].[Statement] LIKE '%queryhere%') AND ([T1].[CallTypeId] = 64)

Edit the %queryhere% above to be something like:

“SELECT A.SALESID,A.DELIVERYNAME,A.ORDERING,A.SALESNAME%”

I would not recommend you try to find the full statement; only use the start of the statement as in the example above.

Use the results to easily find the session in trace parser you wanted to investigate.

AX Content: From content to conversation

$
0
0

In keeping with the tradition of looking back at the year that’s passing, this seems like a good time to note some changes that have started appearing in AX documentation, and offering a few thoughts that put those changes into perspective.

We’re starting to change the way we write procedural content so that instead of describing a set of steps that walk you through the completion of a single task, we’re showing how one task is often part of a larger business process as shown in this example. We believe that approach will make it clearer how AX can contribute to your overall business success.

We’ve also begun using diagrams that show where a procedure fits into a larger process that might comprise a number of procedures. However, the effort to identify instances where we can convey information more effectively by using graphics in addition to, or instead of, straight text is still in its infancy. So look for us to be using more graphics and diagrams in the future. Until those examples become more widely available, you can see examples of existing graphics on this Pinterest page.

We’ve also tried a new approach to writing conceptual information, using a question-and-answer format that we think will help provide some context to the kind of information that’s useful – and sometimes critical – to know before you start working through a process. You can see an example here. We believe the new approach places a greater emphasis on relationships of one process to another, and the relationship between AX and the successful completion of your organization’s business processes.

In our new task topics, we’re working to emphasize the relationship of one procedure to a larger process. And the Q&A format for conceptual information is intended to help users understand the broader implications of their actions in AX, beyond the steps necessary to complete a procedure. Why does a process have to be done at a specific time? What are the implications of one selection over another in a parameter form? What configuration settings will be difficult to change a month from now and why?

While that information was often included in our existing content, the changes we’re making are intended to convey that information with less text, and greater clarity, than we’ve achieved before. But saying that is our goal doesn’t mean we’ve realized it yet. To that end, we’re looking for your reactions to our work.

You can give us feedback by using the Comments link in any topic in the Help that’s installed with AX. You can also rate topics and enter comments on the content that’s posted to TechNet and MSDN – or on this blog post – and you can send us email with any thoughts you’d care to share using the AX documentation comments mailbox (adocs@microsoft.com). A recent blog post also outlined ways that you can send feedback to us.

We wish you a successful year in 2014 and we look forward to hearing more, from more of you, in the coming year and the years beyond. Happy New Year everyone!

AX 2012 R2 for Retail - Using advanced discount periods with discounts that have start and end times around 12am.

$
0
0

There are many combinations to set up the validation periods for discount.  If you're not careful, an incorrect configuration may prevent the discount from being applied at the POS at all.  This blog will focus on the scenarios when you need to use the start and ending times that both fall around 12:00am.  Other ranges such as 5pm to 9pm do not have the issues that this blog is concerned with.  An example of a scenario for this blog would be a discount period that ends at the close of business which may be 2am of the next day.  This can be tricky because an end time of 2am on Monday also has the possibility of encapsulating a 12am start of Tuesday.  This confuses the system and as such doesn't display a discount at POS at all for the full day.  In the text below I've added a few notes as well as a few configurations that work and don't work, specifically when it comes to using the discount for a full day or setting the "Ending time after midnight".  One of the most common scenarios that the system gets confused with is 12am-12am start to end times for each day.  The code does not properly handle the 12am end time of Monday and 12am start time of Tuesday.

First lets define a few of the fields available on the discount period form:

  1. On the General FastTab:
  • Start date– Enter the date that the discount period starts.
  • End date– Enter the date that thediscount period ends.
  • Start time– Enter the time that the discount period starts.
  • End time – Enter the time that the discount period ends.
  • Time within bounds– Select this check box if the start date and end date are included in the discount period.
  • Ending time after midnight– Select this check box if the end time of the discount period is after midnight, or on in the next day.
  • Dates within bounds– Select the check box for each day that is included in the discount period.
  • On each days FastTab:
    • Start time– Enter the time that the discount period starts on this day.
    • End time– Enter the time that the discount period ends on this day.
    • Time within bounds– Select this check box if the start time and end time are included in the discount period.
    • Ending time after midnight – Select this check box if the end time of the discount period is after midnight, or on the next day.

          Additional details on field in the form can be found here: Setting up discount periods <http://technet.microsoft.com/en-us/library/hh580630.aspx>

    To give you an example of some scenarios that work and don't work, I created 10 different discount periods with the configurations below by only changing 4 things:  Time within bounds, Ending time after midnight, the Start time, and End time.  Next to each Start-End time.  With each configuration, I listed whether that combination was then able to display the discount at the POS not.

    This form is located at: Retail >> Setup >> Pricing and Discounts >> Discount Period

    General fast tab (same for each configuration below)

    Start Date: 1/1/2014
    End Date: 12/31/2014
    Time within bounds unchecked
    Ending time after midnight: unchecked

    For each days fast tab:

    Time within bounds: Checked
    Ending time after midnight: Checked

    • 12:00:00 am to 12:00:00am    Doesn’t work
    • 12:01:00 am to 12:00:00am    Works
    • 12:01:00 am to 11:59:00pm    Works
    • 12:00:00 am to 11:59:00pm    Doesn’t Work
    • 12:01:00 am to 12:01:00am    Works

    Time within bounds: Checked
    Ending time after midnight: Unchecked

    • 12:00:00 am to 12:00:00am    Doesn’t work
    • 12:01:00 am to 12:00:00am    Doesn’t work
    • 12:01:00 am to 11:59:00pm    Works
    • 12:00:00 am to 11:59:00pm    Doesn’t work
    • 12:01:00 am to 12:01:00am    Doesn’t work

    Other Notes:

    •  Keep in mind that the end time of one period should not go past the start time of the next one such as Monday ending at 12:01am and Tuesdays starting at 12:00am.
    • To sync over your changes:  Retail > Periodic > Data Distribution > Distribution Schedule  
           a. N-1020 (Discount) to sync over the Retail discounts to POS
           b. N-1100 (Product and price parameters) to sync over the BarcodeMask and Discounts.
           c. N-1040 (Products, prices, and bar codes) to sync a new Price Group
           d. N-1070 (Stores and tenders) to sync a Price Group newly added to a Store

            Additional details for setting up discounts can be found here: <http://blogs.msdn.com/b/axsupport/archive/2013/01/25/ax-2012-r2-for-retail-setting-up-discounts-coupons-with-bar-codes-for-scanning-into-pos.aspx>

     

    AX Content: WebSearchAX can help you locate resources

    $
    0
    0

    Microsoft Dynamics AX has many sites, and searching for and locating documentation and resources can be a challenge. Starting with Microsoft Dynamics AX 2012, the Information Experience team has provided a Web search page to help. WebSearchAX provides a targeted search of TechNet, MSDN, communities and code samples just for Dynamics AX.  The tool can be found at this link or through Microsoft Dynamics AX Help menu.

    The WebSearchAX tool provides filters to control where on the web you are searching for help. You can also search for resources for a specific version of Microsoft Dynamics AX.

     

    From the bottom of the WebSearchAX tool, you can access AxErd website. AXErd contains 30 entity relationship diagrams (ERD) for Microsoft Dynamics AX 2012 R2 tables.

    You can also access the Microsoft Dynamics AX page on Pinterest.  The Pinterest page contains our top diagrams from our Microsoft Dynamics AX help content.

    For more detailed information about the WebSearchAX tool, take a look here. And as always, comment on this post to let us know how these resources work for you, or send email to the Information Experience team at adocs@microsoft.com.


    Violation of PRIMARY KEY constraint 'PK_ModelElementData_ElementHandle' error installing some hotfixes on Microsoft Dynamics AX 2012 R2

    $
    0
    0

    Greetings all, I want to pass along some information about a scenario where some customers have recently been unable to install some of our hotfix packages for our Microsoft Dynamics AX 2012 R2 release. The scenario only occurs if all of the following conditions are met in the environment where the hotfix is being installed:

    1. The environment is running on application code of Microsoft Dynamics AX 2012 R2 on a release before CU-7
    2. The environment has installed a version of the Data Import Export Framework so that they have a DMF model within the FPK layer.
    3. The hotfix being installed was released AFTER Dynamics AX 2012 R2 CU-7 and before January 2nd, 2014.

    If all of those conditions are met, the symptom that partners and customers are seeing is the following error appearing either during the installation of the hotfix or by reviewing the log file after the hotfix fails (the number in the error message may vary):

    AxUtil call returned errors:

    Violation of PRIMARY KEY constraint 'PK_ModelElementData_ElementHandle'.Cannot insert duplicate key in object 'dbo.ModelElementData'. The duplicate key value is (832375, 1).

    The statement has been terminated.

    Error updating model database:
    Microsoft.Dynamics.Setup.AxSetupException: AxUtil call returned errors:Violation of PRIMARY KEY constraint 'PK_ModelElementData_ElementHandle'. Cannot insert duplicate key in object 'dbo.ModelElementData'. The duplicate key value is (832375, 1).

    The statement has been terminated.

    This error was introduced into our hotfixes as an unexpected side effect of merging the Data Import Export Framework code into the SYP layer with our Cumulative Update 7 release, which also moved the DMF labels into the SYP layer. The error we are experiencing is because we were trying to import these same DMF labels again into the SYP layer with the installation of the hotfix.

    We have addressed the root cause of the issue so that hotfix packages built now will not contain the DMF labels within the hotfix, and have also released a way for customers and partners who have existing hotfixes that are in this "broken" state to proceed. If you have experienced this issue, you can follow these steps to allow you to install the hotfix package that is currently giving the primary key violation error.

    1. Microsoft has released a special hotfix package that contains only a SYPLabels model file which we will use as a replacement file for your hotfix causing the error.
    2. Go to the following Label File Hotfix link and request a download of the hotfix by filling out the required information.
    3. Submitting the information on the form will generate an automatic email to the email address that was provided on the form which will include another link that is used to download the hotfix itself.
    4. After downloading this special hotfix which should have the name 471807_intl_i386_zip.exe, you can double-click on the executable to extract the contents. This will extract two files - hotfix.txt and DynamicsAX2012R2-KB2923180-SYPLabels.axmodel.
    5. Right-click on the DynamicsAX2012R2-KB2923180-SYPLabels.axmodel file and choose Copy, or select the file in the Windows Explorer and press Ctrl-C to get a copy.
    6. Locate the folder where you extracted the previous hotfix that was causing the error. In the previous hotfix folder, you should see a series of folders that looks similar to the following:

     

    7.  Open the models folder, and you should see contents similar to this:

     

    8. Locate the file that ends with the text syplabels.axmodel and either move it out of that folder or delete it from this models folder.

    9. Now paste in the copy of the DynamicsAX2012R2-KB2923180-SYPLabels.axmodel file you took in step 5 above by pressing Ctrl-V in the Models folder or using right-click and choosing Paste. At this point your folder contents should look similar to this.

     

    10. At this point you should be able to go back to the folder where you see the file axupdate.exe and run it just like you normally would to install a hotfix package. Our hotfix installer will then attempt to install this revised version of the SYPLabels.axmodel file and should proceed without the error.

     

    The label file provided will work for any hotfix that was experiencing this error, because it is a cumulative collection of all labels up to the point in time when we fixed the hotfix process. The name of this new SYPLabels.axmodel file does not need to be changed within the models folder, as our hotfix installer will attempt to install each model file within that folder.

    If you have issues with this process, or if your auditing requirements for hotfix installation require you to receive a new hotfix package to replace the original hotfix package being installed, please open a support incident and reference this blog article with either the issue you are experiencing or the need for a hotfix package to be recreated.

     

     

     

    Dynamics AX - Power options

    $
    0
    0

     Description:

    The power options on the servers and client machines has a major impact on the performance for CPU bound processes.

    I collected some examples based on experience from Customer engagements.

    Example 1:

    In Dynamics AX POS the scanning of an Item took 2-3 seconds. After changing the Windows power option to High performance the same process was below 1 second.

    Example 2:

    Update Transfer orders with 400 lines took 16 minutes. We changed the Windows power option to High Performance and the process took 12 minutes.

    Then changing the BIOS to Max Performance, the process came down to 4 minutes.

     

    Investigation:

    How did I find out that the BIOS power option was incorrect?

    In Windows the power option was already set to High Performance, but this did resolve the issue.!

     

    The way I found out that the power option in the BIOS was incorrect without restarting the physical machine, was to run the following Tool.

     

    1. http://www.roylongbottom.org.uk/dhrystone%20results.htm

    2. Download the http://www.roylongbottom.org.uk/win64.zip

    3. Run the program dhry164int32.exe example 10 times

    4. Look in the Dhry.txt

    Dhrystone Benchmark  Version 1.1 via C/C++ Thu Jan 02 15:56:48 2014

     32 Bit Integers - Via MS C/C++ Compiler Version 14.00.40310.41 for AMD64

     VAX MIPS rating:           5115.53

     Correct result

      CPUID and RDTSC Assembly Code
      CPU AuthenticAMD, Features Code 178BFBFF, Model Code 00100F91
      AMD Opteron(tm) Processor 6172 Measured 2099 MHz
      Has MMX, Has SSE, Has SSE2, Has SSE3, Has 3DNow,
      Windows GetSystemInfo, GetVersionEx, GlobalMemoryStatus
      AMD64 processor architecture, 12 CPUs
      Windows NT  Version 6.1, build 7601, Service Pack 1
      Memory 24576 MB, Free 1390 MB
      User Virtual Space 8388608 MB, Free 8388597 MB

     ********************************************************

     Dhrystone Benchmark  Version 1.1 via C/C++ Thu Jan 02 15:56:57 2014

     64 Bit Integers - Via MS C/C++ Compiler Version 14.00.40310.41 for AMD64

     VAX MIPS rating:           8258.39

     Correct result

      CPUID and RDTSC Assembly Code
      CPU AuthenticAMD, Features Code 178BFBFF, Model Code 00100F91
      AMD Opteron(tm) Processor 6172 Measured 2099 MHz
      Has MMX, Has SSE, Has SSE2, Has SSE3, Has 3DNow,
      Windows GetSystemInfo, GetVersionEx, GlobalMemoryStatus
      AMD64 processor architecture, 12 CPUs
      Windows NT  Version 6.1, build 7601, Service Pack 1
      Memory 24576 MB, Free 1390 MB
      User Virtual Space 8388608 MB, Free 8388597 MB

     

    If the MIPS rating is within 5% for each run you make, then you have set the power option correct.

    In the example below, the difference was more almost 75% and when we restarted the physical server the power option was set to Balanced power consumption.

     

     

     Solution:

     1. Windows Power Options

    Set the power plan to "High Performance"

     

    2. BIOS

     In the BIOS there is also a power option, which needs to be set to

    "MAX Performance"

     NB: The name can be different depending on the hardware vendor

     

    Author: Kim Truelsen; MS Escalation Engineer

    Date: 10/1-2014

    AX Retail: Retail store maintenance and SQL Express

    $
    0
    0

    Description 

     Here are some tips to do maintenance on your store database running SQL express and how to shrink the size of the database.

     

    Store transaction cleanup

    It is important to cleanup the store database as many store databases in smaller shop only runs SQL Express editions. SQL Express has a 10 GB limit in size and when reached the system stops.

    Since most customers are running pull job on very regular time schedule like every 15-30 minutes, the transaction data exists in the HQ database and makes the data in the store obsolete.

    In the Dynamics AX Retail module we have an option to set the number of days these transactions should exists on the store database.

    POS Functionality profile       
    - Days transaction exists

    Affected tables

    RETAILTRANSACTIONTABLE

     RETAILTRANSACTIONTABLEEX5

    RETAILTRANSACTIONBANKEDTENDERTRANS

    RETAILTRANSACTIONDISCOUNTTRANS

    RETAILTRANSACTIONINCOMEEXPENSETRANS

    RETAILTRANSACTIONINFOCODETRANS

    RETAILTRANSACTIONLOYALTYPOINTTRANS

    RETAILTRANSACTIONORDERINVOICETRANS

    RETAILTRANSACTIONPAYMENTTRANS

    RETAILTRANSACTIONSAFETENDERTRANS

    RETAILTRANSACTIONSALESTRANS

    RETAILTRANSACTIONTENDERDECLARATIONTRANS

     

    The data deletion will be executed for every closing of the shift on the POS.

     

    Prerequisites:

    The functionality is not implemented before KB2831335 and the required Dynamics AX POS build is

    Dynamics AX 2012 build 6.0.1108.4260

    Dynamics AX 2012 R2 build 6.2.1000.785

     

    NB: Always implement the latest kernel build to get the latest hotfixes.

    SQL Database maintenance

    It is a good practice to do maintenance on the store database. Regular rebuilding and updating of indexes improves the performance.

    In SQL Express the SQL server Agent is not available and therefore maintenance jobs can´t be scheduled.

     

    Another way to Schedule a DB maintenance 

    Windows Task Scheduler can be used to run a program like a command file (cmd). Make a new task and point the CMD file and add the
    schedule.

    SQL server has an interfase SQLCMD, which is available in SQL Express




     
      
      
      CMD file

    Create a new text file and add the code inside and set the extension of the file to CMD

    SQLCMD –d yourdatabase  -SLocalhost\SQLEXPRESS -HLOCALHOST –i c:\temp\sqlmain.sql

     

     SQL JOB (sqlmain.sql)

    Create a new text file and add the code and set the extension of the file to sql

    DECLARE @Database
      VARCHAR(255) = 'YOURSTOREDB'

    DECLARE @Table
      VARCHAR(255)

    DECLARE @cmd
      NVARCHAR(500)

    DECLARE @Statement
      NVARCHAR(300)

     SET @cmd = 'DECLARE TableCursor CURSOR FOR  SELECT ''['' + table_catalog + ''].['' + table_schema + ''].['' +  table_name + '']'' as tableName FROM ' +  @Database + '.INFORMATION_SCHEMA.TABLES WHERE table_type = ''BASE TABLE'''

      -- create table cursor

     EXEC (@cmd)

     OPEN TableCursor

     FETCH NEXT FROM TableCursor INTO @Table

     

     WHILE @@FETCH_STATUS = 0

     

     BEGIN

     SET @cmd = 'ALTER INDEX ALL ON ' + @Table +  ' REBUILD;'

     EXEC sp_executesql @cmd

     SET @Statement = 'UPDATE STATISTICS ' +  @Table + ' WITH FULLSCAN'

     EXEC sp_executesql @Statement

     FETCH NEXT FROM TableCursor INTO @Table

     END

     CLOSE TableCursor

     DEALLOCATE TableCursor

     

     

    For SQL Express you would need to allow remote connections, enable the TCP/IP, Named pipes protocols in the sql configuration tool and start the sql browser.

     

     

     

    Author: Kim Truelsen, MS Escalation Engineer

    Date: 10/1- 2014

     

    Dynamics AX 2012 Enterprise Portal: range on dataSetLookup()

    $
    0
    0

    As described here Configuring the Lookup for a Data Set Field [AX 2012] you can change how lookup look like. What you can also do you can range to the lookup to show i.e. only rooms which are in service. Following X++ shows how to achieve this:

    void dataSetLookup(SysDataSetLookup sysDataSetLookup)

    {

        List list = new List(Types::String);

        Query query = new Query();

        QueryBuildDataSource    queryBuildDataSource;

        QueryBuildRange qbr;

     

        // Add the table to the query.

        queryBuildDataSource  = query.addDataSource(tableNum(FCMRooms));

     

        // Specify the fields to use for the lookup.

        list.addEnd(fieldStr(FCMRooms,RoomName));

        list.addEnd(fieldStr(FCMRooms,RoomType));

        list.addEnd(fieldStr(FCMRooms,InService));

     

           

        // Supply the set of lookup fields.

        sysDataSetLookup.parmLookupFields(list);

     

        // Specify the field that is returned from the lookup.

        sysDataSetLookup.parmSelectField('RoomName');

     

        //add the range

        qbr = queryBuildDataSource.addRange( fieldnum(FCMRooms, InService));

        qbr.value(NoYes::Yes);

        //if we don’t want user to be able to change range we need to lock it

        qbr.status(RangeStatus::Locked);

     

        // Pass the query to the SysDataSetLookup so that the query is used.

        sysDataSetLookup.parmQuery(query);

    }

    We need to lock the range in order user is unable to change the range. Otherwise if user in search will specify RoomName “Cubicle 8” (when inService == No) it will still appear because the range will be simply overwritten.

    Dynamics AX 2009 Enterprise Portal: How to display companies in company chooser in alphabetical order

    $
    0
    0

     

    Suppose we have many companies in AX 2009 and to simplify the selection of the company list in the Enterprise portal, we can use the below code change to display the company names in an alphabetical order. This will help the AX users to save time in searching and selecting the company name.

     

    Open Development workspace and navigate to AOT\Classes\Global\GetAllCompanies() by adding order by clause after Line 18:

     

    //select all the companies in which current user's access level is higher than NoAccess

        while select id,name from DataArea

        //to order alphabetical add order statement

        order by id

            Exists join companyDomainList

     

    Viewing all 1498 articles
    Browse latest View live


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