web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

R3 upgrade compilation errors

(0) ShareShare
ReportReport
Posted on by

Experts,

I am upgrading from AX R2 CU9 to AX R3 CU10. I have USR,SYP,SYS layers. I have set USR layer as my working layer in dev environment and started code upgrade checklist.

Under upgrade preparation checklist, when i compiled the application it gave a list of errors, do i need to fix those errors and go to next step ? or i can continue with CIL generation?

*This post is locked for comments

  • Dick Wenning Profile Picture
    on at
    RE: R3 upgrade compilation errors

    CIL is a representation of the the current x++ status

    so if the x++ hase compile errors, CIL wil not become better.

    compile it all with axbuild, and share the results with us.

  • Mohammed Abdul Aziz Profile Picture
    on at
    RE: R3 upgrade compilation errors

    Following is the log file generated out of XPPCompile. Do i need to start code upgrade from "SYP" layer ? 

    Error \Classes\PSAProjInvoiceDP\processReport 65 10 The class 'PSAProjInvoiceDP' does not contain the method 'initTempTableFromCompanyInfo'.
    Error \Classes\PurchCancel\run 121 13 The wrong number of arguments has been specified for the method.
    Error \Classes\PurchRFQCompare\buildReplyLineList 6 5 Variable PurchRFQCompareLineTMP has not been declared.
    Error \Classes\PurchRFQSendDP\processReport 86 25 The table PurchRFQSendTmp does not contain the field ExpiryDate.
    Warning \Classes\ReleaseUpdateDB60_GST_MY\createGAFInformationForPOOpenVendInv_MY 48 94 Assignment or comparison loses precision.
    Warning \Classes\SShipLabourDistributionReportDP\InsertValues 56 44 Assignment or comparison loses precision.
    Warning \Classes\SSPOComparisionRDP\processReport 136 115 Assignment or comparison loses precision.
    Warning \Classes\SSPOComparisionRDP\processReport 146 117 Assignment or comparison loses precision.
    Warning \Classes\SSPOComparisionRDP\processReport 156 123 Assignment or comparison loses precision.
    Warning \Classes\SSPOComparisionRDP\processReport 166 118 Assignment or comparison loses precision.
    Warning \Classes\SSPOComparisionRDP\processReport 176 115 Assignment or comparison loses precision.
    Warning \Classes\SSPOComparisionRDP\processReport 186 114 Assignment or comparison loses precision.
    Warning \Classes\SSPOComparisionRDP\processReport 196 123 Assignment or comparison loses precision.
    Warning \Classes\SSPOComparisionRDP\processReport 206 123 Assignment or comparison loses precision.
    Warning \Classes\SSPurchaseBOMReportDP\processReport 120 43 Assignment or comparison loses precision.
    Warning \Classes\SSPurchaseBOMReportDP\processReport 49 44 Assignment or comparison loses precision.
    Warning \Classes\SSPurchaseBOMReportDP\processReport 89 43 Assignment or comparison loses precision.
    Warning \Classes\TimesheetCost_RunBaseBatch\run 25 11 Assignment or comparison loses precision.
    Warning \Classes\TimesheetCost_RunBaseBatch\run 108 16 Empty compound statement.
    Warning \Classes\Timesheet_RunBaseBatch\run 213 13 Assignment or comparison loses precision.
    Warning \Classes\Timesheet_RunBaseBatch\run 29 17 Empty compound statement.
    Warning \Classes\Timesheet_RunBaseBatch\run 308 9 Empty compound statement.
    Warning \Classes\Timesheet_RunBaseBatch\run 326 9 Empty compound statement.
    Warning \Classes\Timesheet_RunBaseBatch\run 331 9 Empty compound statement.
    Warning \Classes\Timesheet_RunBaseBatch\run 337 17 Empty compound statement.
    Error \Data Dictionary\Tables\PurchRFQCaseLine\Methods\createLine 44 5 The wrong number of arguments has been specified for the method.
    Warning \Forms\ProjTransItem\Designs\DesignList\StringEdit 1 1 Property DataField has invalid value [1].
    Warning \Forms\ProjTransOnAcc\Data Sources\ProjOnAccTrans\Methods\write 10 5 Empty compound statement.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\AmendmentActionPane 1 1 Property DataSource has invalid value PurchRFQAmendment.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\AmendmentActionPaneTab 1 1 Property DataSource has invalid value PurchRFQAmendment.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\AmendmentButtonGroup 1 1 Property DataSource has invalid value PurchRFQAmendment.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\Description 1 1 Property DataSource has invalid value PurchRFQCaseTableKMCollection.
    Error \Forms\PurchRFQCaseTable\Designs\DesignList\Description 1 1 Unknown source for data method displayDescription. The method does not exist on the form.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\DirPatyTable_Name 1 1 Property DataField has invalid value Name[1].
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\DirPatyTable_Name 1 1 Property DataSource has invalid value DirPartyTable.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\GridAmendment 1 1 Property DataSource has invalid value PurchRFQAmendment.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\GridQuestionnaire 1 1 Property DataSource has invalid value PurchRFQCaseTableKMCollection.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\HeaderAmendment 1 1 Property DataSource has invalid value PurchRFQAmendment.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\HeaderQuestionnaire 1 1 Property DataSource has invalid value PurchRFQCaseTableKMCollection.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\KMCollectionId 1 1 Property DataField has invalid value KMCollectionId[1].
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\KMCollectionId 1 1 Property DataSource has invalid value PurchRFQCaseTableKMCollection.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\PurchRFQAmendment_DateTime 1 1 Property DataSource has invalid value PurchRFQAmendment.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\PurchRFQAmendment_Description 1 1 Property DataField has invalid value Description[1].
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\PurchRFQAmendment_Description 1 1 Property DataSource has invalid value PurchRFQAmendment.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\PurchRFQAmendment_Name 1 1 Property DataField has invalid value Name[1].
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\PurchRFQAmendment_Name 1 1 Property DataSource has invalid value PurchRFQAmendment.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\PurchRFQAmendment_Number 1 1 Property DataField has invalid value AmendmentNumber[1].
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\PurchRFQAmendment_Number 1 1 Property DataSource has invalid value PurchRFQAmendment.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\PurchRFQAmendment_ProcessedBy 1 1 Property DataSource has invalid value PurchRFQAmendment.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\PurchRFQAmendment_ProcessedBy 1 1 Property ReferenceField has invalid value ProcessedBy[1].
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\PurchRFQPublishedDateTime_PSN 1 1 Property DataSource has invalid value PurchRFQPublishTable_PSN.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\PurchRFQReplyTable_Rank 1 1 Property DataField has invalid value Rank[1].
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\PurchRFQReplyTable_Rank 1 1 Property DataSource has invalid value PurchRFQReplyTable.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\PurchRFQReplyTable_TotalScore 1 1 Property DataField has invalid value TotalScore[1].
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\PurchRFQReplyTable_TotalScore 1 1 Property DataSource has invalid value PurchRFQReplyTable.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\QuestionnaireActionPane 1 1 Property DataSource has invalid value PurchRFQCaseTableKMCollection.
    Warning \Forms\PurchRFQCaseTable\Designs\DesignList\Window 1 1 Property DataSource has invalid value PurchRFQAmendment.
    Error \Forms\PurchRFQCaseTable\Designs\DesignList\Window 1 1 Unknown source for data method showDocHanIcon. The method does not exist on the form.
    Error \Forms\PurchRFQCaseTable\Methods\existQuestionnaire 3 77 Variable purchRFQCaseTableKMCollection has not been declared.
    Error \Forms\PurchRFQCaseTable\Methods\refreshQuestionnairesGrid 3 5 Variable purchRFQCaseTableKMCollection_ds has not been declared.
    Error \Forms\PurchRFQCaseTable\Methods\setActionPaneButtonAccess 13 30 Variable purchRFQPublishTable_PSN has not been declared.
    Error \Forms\PurchRFQCaseTable\Methods\setAmendmentFieldsAccess 3 5 Variable purchRFQAmendment_ds has not been declared.
    Error \Forms\PurchRFQCaseTable\Methods\setQtyFieldAccess 10 39 Variable purchRFQPublishTable_PSN has not been declared.
    Warning \Forms\PurchRFQCompare\Designs\DesignList\PurchRFQCompareLineTMP_SShipDeliveryDate 1 1 Property DataField has invalid value SShipDeliveryDate[1].
    Warning \Forms\PurchRFQCompare\Designs\DesignList\PurchRFQCompareLineTMP_SShipDeliveryDate 1 1 Property DataSource has invalid value PurchRFQCompareLineTMP.
    Warning \Forms\PurchRFQCompare\Designs\DesignList\PurchRFQCompareLineTMP_SSPayment 1 1 Property DataField has invalid value SSPayment[1].
    Warning \Forms\PurchRFQCompare\Designs\DesignList\PurchRFQCompareLineTMP_SSPayment 1 1 Property DataSource has invalid value PurchRFQCompareLineTMP.
    Warning \Forms\PurchRFQCompare\Designs\DesignList\ReplyLinesGrid 1 1 Property DataSource has invalid value PurchRFQCompareLineTMP.
    Error \Forms\PurchTable\Designs\DesignList\BudgetReservationSelector_PSN\Methods\clicked 31 26 The class 'FormDataSource' does not contain the method 'updateDesignForProject'.
    Warning \Forms\PurchTable\Designs\DesignList\Carrier 1 1 Property DataSource has invalid value WHSLoadLine.
    Error \Forms\PurchTable\Designs\DesignList\Carrier 1 1 Unknown source for data method displayLoadCarrierCode. The method does not exist on the form.
    Warning \Forms\PurchTable\Designs\DesignList\CarrierService 1 1 Property DataSource has invalid value WHSLoadLine.
    Error \Forms\PurchTable\Designs\DesignList\CarrierService 1 1 Unknown source for data method displayLoadCarrierServiceCode. The method does not exist on the form.
    Warning \Forms\PurchTable\Designs\DesignList\CrossDock 1 1 Property DataSource has invalid value WHSPurchLine.
    Warning \Forms\PurchTable\Designs\DesignList\GridLoads 1 1 Property DataSource has invalid value WHSLoadLine.
    Warning \Forms\PurchTable\Designs\DesignList\InvoicePostalAddress_Address 1 1 Property DataField has invalid value Address[1].
    Warning \Forms\PurchTable\Designs\DesignList\InvoicePostalAddress_Address 1 1 Property DataSource has invalid value InvoicePostalAddress.
    Warning \Forms\PurchTable\Designs\DesignList\LoadAccountNum 1 1 Property DataSource has invalid value WHSLoadLine.
    Error \Forms\PurchTable\Designs\DesignList\LoadAccountNum 1 1 Unknown source for data method displayLoadAccountNum. The method does not exist on the form.
    Warning \Forms\PurchTable\Designs\DesignList\LoadCarNumber 1 1 Property DataSource has invalid value WHSLoadLine.
    Error \Forms\PurchTable\Designs\DesignList\LoadCarNumber 1 1 Unknown source for data method displayLoadCarNumber. The method does not exist on the form.
    Warning \Forms\PurchTable\Designs\DesignList\LoadGrossWeight 1 1 Property DataSource has invalid value WHSLoadLine.
    Error \Forms\PurchTable\Designs\DesignList\LoadGrossWeight 1 1 Unknown source for data method displayLoadGrossWeight. The method does not exist on the form.
    Warning \Forms\PurchTable\Designs\DesignList\LoadNetWeight 1 1 Property DataSource has invalid value WHSLoadLine.
    Error \Forms\PurchTable\Designs\DesignList\LoadNetWeight 1 1 Unknown source for data method displayLoadNetWeight. The method does not exist on the form.
    Warning \Forms\PurchTable\Designs\DesignList\LoadOrderNum 1 1 Property DataSource has invalid value WHSLoadLine.
    Error \Forms\PurchTable\Designs\DesignList\LoadOrderNum 1 1 Unknown source for data method displayLoadOrderNum. The method does not exist on the form.
    Warning \Forms\PurchTable\Designs\DesignList\LoadSchedShipDate 1 1 Property DataSource has invalid value WHSLoadLine.
    Error \Forms\PurchTable\Designs\DesignList\LoadSchedShipDate 1 1 Unknown source for data method displayLoadSchedShipDate. The method does not exist on the form.
    Warning \Forms\PurchTable\Designs\DesignList\LoadTractorNumber 1 1 Property DataSource has invalid value WHSLoadLine.
    Error \Forms\PurchTable\Designs\DesignList\LoadTractorNumber 1 1 Unknown source for data method displayLoadTractorNumber. The method does not exist on the form.
    Warning \Forms\PurchTable\Designs\DesignList\LoadTrailerNumber 1 1 Property DataSource has invalid value WHSLoadLine.
    Error \Forms\PurchTable\Designs\DesignList\LoadTrailerNumber 1 1 Unknown source for data method displayLoadTrailerNumber. The method does not exist on the form.
    Warning \Forms\PurchTable\Designs\DesignList\LoadTypeId 1 1 Property DataSource has invalid value WHSLoadLine.
    Error \Forms\PurchTable\Designs\DesignList\LoadTypeId 1 1 Unknown source for data method displayLoadTypeId. The method does not exist on the form.
    Warning \Forms\PurchTable\Designs\DesignList\LoadVolume 1 1 Property DataSource has invalid value WHSLoadLine.
    Error \Forms\PurchTable\Designs\DesignList\LoadVolume 1 1 Unknown source for data method displayLoadVolume. The method does not exist on the form.
    Warning \Forms\PurchTable\Designs\DesignList\LoadWeight 1 1 Property DataSource has invalid value WHSLoadLine.
    Error \Forms\PurchTable\Designs\DesignList\LoadWeight 1 1 Unknown source for data method displayLoadWeight. The method does not exist on the form.
    Error \Forms\PurchTable\Designs\DesignList\PISCOFINSFixedAssetCreditAppropMethod_BR 1 1 Unknown source for data method PISCOFINSFixedAssetCreditAppropMethod_BR. The method does not exist in the data source or table.
    Error \Forms\PurchTable\Designs\DesignList\PISCOFINSFixedAssetCreditGroup_BR 1 1 Unknown source for data method PISCOFINSFixedAssetCreditGroup_BR. The method does not exist in the data source or table.
    Error \Forms\PurchTable\Designs\DesignList\PISCOFINSFixedAssetCreditInstallments_BR 1 1 Unknown source for data method PISCOFINSFixedAssetCreditInstallments_BR. The method does not exist in the data source or table.
    Error \Forms\PurchTable\Designs\DesignList\PISCOFINSFixedAssetCreditPurpose_BR 1 1 Unknown source for data method PISCOFINSFixedAssetCreditPurpose_BR. The method does not exist in the data source or table.
    Warning \Forms\PurchTable\Designs\DesignList\PurchRFQReplyLine 1 1 Property DataSource has invalid value PurchRFQReplyLinePurchLine.
    Warning \Forms\PurchTable\Designs\DesignList\PurchRFQReplyLine_PurchRFQReplyRFQId 1 1 Property DataField has invalid value PurchRFQReplyRFQId[1].
    Warning \Forms\PurchTable\Designs\DesignList\PurchRFQReplyLine_PurchRFQReplyRFQId 1 1 Property DataSource has invalid value PurchRFQReplyLinePurchLine.
    Warning \Forms\PurchTable\Designs\DesignList\Route 1 1 Property DataSource has invalid value WHSLoadLine.
    Error \Forms\PurchTable\Designs\DesignList\Route 1 1 Unknown source for data method tmsDisplayRoute. The method does not exist on the form.
    Error \Forms\PurchTable\Designs\DesignList\TabLoad\Methods\pageActivated 3 5 Variable whsLoadLine_ds has not been declared.
    Warning \Forms\PurchTable\Designs\DesignList\TMSPurchTable_CarrierCode 1 1 Property DataField has invalid value CarrierCode[1].
    Warning \Forms\PurchTable\Designs\DesignList\TMSPurchTable_CarrierCode 1 1 Property DataSource has invalid value TMSPurchTable.
    Warning \Forms\PurchTable\Designs\DesignList\TMSPurchTable_CarrierGroupCode 1 1 Property DataField has invalid value CarrierGroupCode[1].
    Warning \Forms\PurchTable\Designs\DesignList\TMSPurchTable_CarrierGroupCode 1 1 Property DataSource has invalid value TMSPurchTable.
    Error \Forms\PurchTable\Designs\DesignList\TMSPurchTable_CarrierGroupCode\Methods\modified 5 9 Variable tmsPurchTable has not been declared.
    Warning \Forms\PurchTable\Designs\DesignList\TMSPurchTable_CarrierServiceCode 1 1 Property DataField has invalid value CarrierServiceCode[1].
    Warning \Forms\PurchTable\Designs\DesignList\TMSPurchTable_CarrierServiceCode 1 1 Property DataSource has invalid value TMSPurchTable.
    Error \Forms\PurchTable\Designs\DesignList\TMSPurchTable_CarrierServiceCode\Methods\lookup 3 55 Variable tmsPurchTable has not been declared.
    Warning \Forms\PurchTable\Designs\DesignList\TMSPurchTable_ModeCode 1 1 Property DataField has invalid value ModeCode[1].
    Warning \Forms\PurchTable\Designs\DesignList\TMSPurchTable_ModeCode 1 1 Property DataSource has invalid value TMSPurchTable.
    Warning \Forms\PurchTable\Designs\DesignList\TMSPurchTable_TransportationTemplateId 1 1 Property DataField has invalid value TransportationTemplateId[1].
    Warning \Forms\PurchTable\Designs\DesignList\TMSPurchTable_TransportationTemplateId 1 1 Property DataSource has invalid value TMSPurchTable.
    Error \Forms\PurchTable\Designs\DesignList\TMSPurchTable_TransportationTemplateId\Methods\modified 5 9 Variable tmsPurchTable has not been declared.
    Warning \Forms\PurchTable\Designs\DesignList\WHSLoadLine_LoadId 1 1 Property DataField has invalid value LoadId[1].
    Warning \Forms\PurchTable\Designs\DesignList\WHSLoadLine_LoadId 1 1 Property DataSource has invalid value WHSLoadLine.
    Error \Forms\PurchTable\Methods\enableTMSFields 9 27 Variable tmsPurchTable has not been declared.
    Error \Forms\PurchTable\Methods\tmsSetCarrierFieldsFromDlvMode 7 5 Variable tmsPurchTable has not been declared.
    Error \Forms\PurchTable\Methods\tmsUpdatePurchTable 6 59 Variable tmsPurchTable has not been declared.
    Error \Forms\PurchTable\Methods\updateDesign 56 18 The class 'FormDataSource' does not contain the method 'updateDesignForProject'.
    Warning \Forms\SShipLaboreDistribution\Designs\DesignList\WorkerName_DirPerson_FK_Name 1 1 Property HierarchyParent has invalid value WorkerName.
    Warning \Forms\SShipProjectSummary\Designs\DesignList\SShipProjectSummaryTable_ProjId\Methods\modified 11 5 Empty compound statement.
    Error \Forms\TSTimesheetEntry\Designs\DesignList\CommentsDayComboBox\Methods\selectionChange 8 49 Variable firstDayIndex has not been declared.
    Error \Forms\TSTimesheetEntry\Designs\DesignList\GroupSplitter\Methods\mouseDown 7 12 Variable formSplitter has not been declared.
    Error \Forms\TSTimesheetEntry\Designs\DesignList\GroupSplitter\Methods\mouseMove 7 12 Variable formSplitter has not been declared.
    Error \Forms\TSTimesheetEntry\Designs\DesignList\GroupSplitter\Methods\mouseUp 7 12 Variable formSplitter has not been declared.
    Error \Forms\TSTimesheetEntry\Methods\enableComments 14 44 Variable commentsDayComboboxIndex has not been declared.
    Error \Forms\TSTimesheetEntry\Methods\init 11 5 Variable formSplitter has not been declared.
    Error \Forms\TSTimesheetEntry\Methods\initFields 21 29 Variable firstDayIndex has not been declared.
    Error \Forms\TSTimesheetEntry\Methods\setCommentDays 20 5 Variable commentsDayComboboxIndex has not been declared.
    Error \Forms\TSTimesheetEntry\Methods\setDates 23 29 Variable firstDayIndex has not been declared.
    Error \Forms\TSTimesheetEntry\Methods\setFocusOnDayIndex 18 35 Variable commentsDayComboboxIndex has not been declared.
    Warning \Jobs\Job7 249 13 Assignment or comparison loses precision.
    Warning \Jobs\Job7 70 17 Empty compound statement.
    Warning \Jobs\Onhandtrans 19 38 Assignment or comparison loses precision.
    Warning \Jobs\Onhandtrans 20 55 Assignment or comparison loses precision.
    Warning \Jobs\Onhandtrans 21 51 Assignment or comparison loses precision.
    Warning \Jobs\projectBom 319 70 Assignment or comparison loses precision.
    Warning \Jobs\timeSheetReport 86 25 Empty compound statement.
    Warning \Jobs\Uploadtimesheets 143 13 Assignment or comparison loses precision.
    Error \Security\Privileges\Perc_Sour 0 1 Menu item RETAILLOYALTYCUSTTABLE does not exist.
    Error \Security\Privileges\ProductionManagerPrivileges 0 1 Menu item RETAILLOYALTYCUSTTABLE does not exist.

  • Verified answer
    Dick Wenning Profile Picture
    on at
    RE: R3 upgrade compilation errors

    yes that is the case, but did you also create a baseline database, in that case you can use the code upgrade wizars of AX

  • Mohammed Abdul Aziz Profile Picture
    on at
    RE: R3 upgrade compilation errors

    Yes when i ran setup on test system it generated R3Upgrade_Baseline DB. Since i have only "USR", "SYP", "SYS" Layers. I have to set working layer as "SYP" and start code upgrade ?

  • Mohammed Abdul Aziz Profile Picture
    on at
    RE: R3 upgrade compilation errors

    How can i merge "Syp" and "Sys" Layer ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans