AccountingRegisterManager.<Accounting register name>.SelectByRecorder
Syntax:
Parameters:
<Recorder> (required)
Recorder value.
Returned value:
Description:
Availability:
Example:
//example from a document module text Registr = AccountingRegisters.SelfSupporting; MovementsAcc = Registr.SelectByRecorder(Object.Ref); While MovementsAcc.Next() Do Transaction = Movements.SelfSupporting.Add(); Transaction.AccountDr = MovementsAcc.AccountDr; Transaction.AccountCr = MovementsAcc.AccountCr; For each ExtDimensions In MovementsAcc.ExtDimensions Do Transaction.ExtDimensionsDr[ExtDimensions.Key] =ExtDimensions.Value; EndDo; For each ExtDimensions In MovementsAcc.ExtDimensionsCr Do Transaction.ExtDimensionsCr[ExtDimensions.Key] = ExtDimensions.Value; EndDo; Transaction.CurrencyDr = MovementsAcc.CurrencyDr; Transaction.CurrencyCr = MovementsAcc.CurrencyCr; Transaction.CurrencySumDr = MovementsAcc.CurrencySumDr; Transaction.CurrencySumCr = MovementsAcc.CurrencySumCr; Transaction.CountDr = MovementsAcc.CountDr; Transaction.CountCr = MovementsAcc.CountCr; Transaction.JournalNumber = MovementsAcc.JournalNumber; Transaction.Organization = MovementsAcc.Organization; Transaction.Content = MovementsAcc.Content; Transaction.Sum = MovementsAcc.Sum; // ... EndDo; |