real getOpeningBalance(LedgerAccount _accountNum) { DimensionCriteria dimensionCriteriaEmpty; Transdate periodEnd; transdate periodStart = LedgerPeriod::findOpeningDate( fromDate); LedgerBalanceSum_CurrentMST ledgerBalance; ; periodEnd = fromDate - 1; ledgerBalance= new LedgerBalanceSum_CurrentMST( periodStart, periodEnd, dimensionCriteriaEmpty, NoYes::Yes, Noyes::Yes, NoYes::Yes, OperationsTax::Current, DebCredProposal::None, NoYes::Yes, NoYes::Yes); return ledgerBalance.balance(_ accountNum); }
This site contains some Microsoft Dynamics AX X++ Codes for use in your day to day use, as well future changes in Ax 2009, ax 2012 R2,R3 and RAINER (or) Ax 7, Workflow ,SSRS ,EP,AIF,DIXF
Tuesday, 24 December 2013
Get Opening Balance in ax 2009 through X++
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment