ReleaseUpdateDB60_Vend.updateReasonCodeReferences Upgrade Script [AX 2012]

Updated: July 26, 2010

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Class

ReleaseUpdateDB60_Vend

Method

updateReasonCodeReferences

Description

Updates reason code references in the VendRFQJour, purchRFQTable, purchRFQLine, and vendRFQTrans tables.

Affected Modules

Accounts payable

Affected Tables

VendRFQJour

VendRFQTrans

PurchRFQTable

PurchRFQLine

ReasonTableRef

The input parameters are the reason code, a comment and the new reason code. This method processes the VendRFQJour, purchRFQTable, PurchRFQLine, and VendRFQTrans tables as follows. Records where the reason code exists and the reason reference field is zero will be selected. A record will be inserted into the ReasonTableRef table with the new reason ID and the comment. The new RecId value from the ReasonTableRef table will be used to update the reason reference field.

From Table: PurchRFQReasonCode

To Table: ReasonTable

Table

Field

Extended Data Type

-or- Base Enum

VendRFQJour

ReasonRef

RecId

VendRFQTrans

ReasonRef

RecId

PurchRFQTable

ReasonRef

RecId

PurchRFQLine

ReasonRef

RecId


Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

ADD
Show: