GeneralJournalEntry::deleteOrphans Method
Microsoft internal use only.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server public static void deleteOrphans([AccountingDate _accountingDate])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static void deleteOrphans()
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static void deleteOrphans()
Microsoft Dynamics AX 2012 (FPK)
client server public static void deleteOrphans()
Microsoft Dynamics AX 2012 (SYS)
client server public static void deleteOrphans()
Run On
Called
Parameters
- _accountingDate
Type: AccountingDate Extended Data Type
Remarks
This method deletes all orphaned general journal entry records, which are general journal entry records that have no associated general journal account entry records.
The deletion does not cascade to related tables.
By providing an optional accounting date in the _accountingDate parameter, you can help performance by limiting the records that have to be considered.