We have been having issues getting the AX 2009 Automated TFS build process to work. The latest one we uncovered is the Combined XPO created does not import properly into AX.
An example is the class method LedgerReport_Voucher_CN.initFromLedgerJournalTrans. We have a modification in the code here so it is one of the objects that gets added to the combined xpo. The first line of code in the class has the following defined constant
TmpVoucher_CN initFromLedgerJournalTrans(LedgerJournalTrans _ledgerJournalTrans)
{
#define.Hyphen('—')
The combined xpo has the following for this class method
***Element: CLS
; Microsoft Dynamics AX Class: LedgerReport_Voucher_CN unloaded
; --------------------------------------------------------------------------------
CLSVERSION 1
CLASS #LedgerReport_Voucher_CN
Id 9137
PROPERTIES
Name #LedgerReport_Voucher_CN
Extends #RunBaseReport
RunOn #Called from
ENDPROPERTIES
METHODS
Version: 3
SOURCE #initFromLedgerJournalTrans
#TmpVoucher_CN initFromLedgerJournalTrans(LedgerJournalTrans _ledgerJournalTrans)
#{
# #define.Hyphen('—')
#
# LedgerAccountUtility_CN accountUtility = new LedgerAccountUtility_CN();
After importing the combined xpo the Hyphen texts gets modified to
TmpVoucher_CN initFromLedgerJournalTrans(LedgerJournalTrans _ledgerJournalTrans)
{
#define.Hyphen('—')
This issue does not happen if we export/import a project containing only this class. Does anyone know what the issue could be here?