PurchTotalsSummaryController::updateTotals Method [AX 2012]

Updates the totals or encumbrance amounts for the purchase order, if invalid, based on the table id passed.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          server public static boolean updateTotals(
            PurchTable _purchTable, 
            TableId _tableId, 
           [Common _purchSummary])

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static boolean updateTotals(
            PurchTable _purchTable, 
            TableId _tableId, 
           [Common _purchSummary])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          server public static boolean updateTotals(PurchTable _purchTable, TableId _tableId)

  Microsoft Dynamics AX 2012 (FPK)
          server public static boolean updateTotals(PurchTable _purchTable, TableId _tableId)

Run On

Server

Parameters

_purchTable
Type: PurchTable Table
PurcTable record buffer for which to update the totals
_tableId
Type: TableId Extended Data Type
Table Id of the table whose record needs to be updated
_purchSummary
Type: Common Table
PurchTotalsSummary or PurchEncumbranceSummary table whose record needs to be updated

Return Value

Type: boolean
true if a summary record was updated, false otherwise
Show: