AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX: Функционал
NAV
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 28.07.2009, 08:31   #25  
belugin is offline
belugin
Участник
Аватар для belugin
Сотрудники Microsoft Dynamics
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии 2011
Лучший по профессии 2009
 
4,622 / 2925 (107) +++++++++
Регистрация: 16.01.2004
Записей в блоге: 5
X++:
/// <summary>
/// Settles the transactions associated with the specified parameters.
/// </summary>
/// <param name="_company">
/// The spec company of the <c>SpecTrans</c> records to find.
/// </param>
/// <param name="_tableId">
/// The spec table ID of the <c>SpecTrans</c> records to find.
/// </param>
/// <param name="_recId">
/// The spec record ID of the <c>SpecTrans</c> records to find.
/// </param>
/// <param name="_balancePostingProfile">
/// A flag indicating whether to create additional transactions when the transaction have different posting profiles.
/// </param>
/// <remarks>
/// This method is the starting point of the settlement process.
/// </remarks>
/// <exception cref="Exception::Error">
/// The transaction was oversettled.
/// </exception>
public void settleNow(dataAreaId _company, tableId _tableId, RecId _recId, boolean _balancePostingProfile = true)
{
    CurrencyExchHelper          currencyHelper;
    boolean                     areDebitsDone = false;          // Are all debit (invoice) transactions read?
    boolean                     areCreditsDone = false;         // Are all credit (payment) transactions read?
    AmountCur                   settleAmountCurDebit;           // Amount to settle in debit transaction currency
    AmountCur                   settleAmountCurCredit;          // Amount to settle in credit transaction currency
    AmountMST                   settleAmountMstDebit;           // Amount to settle in MST currency for debit transaction
    AmountMST                   settleAmountMstCredit;          // Amount to settle in MST currency for credit transaction
    boolean                     isDebitTransFullySettled;       // Flag indicating if debit transaction is fully settled.
    boolean                     isCreditTransFullySettled;      // Flag indicating if credit transaction is fully settled.
    SpecTrans                   specTransToDelete;              // Table buffer to use when deleting the specTrans records.
    Percent                     settledFactorDebit;             // Percent of total debit transaction that is being settled.
    Percent                     settledFactorCredit;            // Percent of total credit transaction that is being settled.
    AmountCur                   origRemainDebitCur;             // Original amount remaining for debit transaction
    AmountMST                   realizedExchAdjAmount;          // Amount of realized exchange adjustment gain or loss
    AmountMST                   unrealizedExchAdjAmountDebit;   // Amount of unrealized exchange adjustment to reverse on debit transaction.
    AmountMST                   unrealizedExchAdjAmountCredit;  // Amount of unrealized exchange adjustment to reverse on credit transaction.
    AmountCur                   roundedSettleAmountCurDebit;
    AmountCur                   roundedSettleAmountCurCredit;
    AmountMST                   roundedSettleAmountMstDebit;    // Amount to settle in MST currency for debit transaction
    AmountMST                   roundedSettleAmountMstCredit;   // Amount to settle in MST currency for credit transaction
...
Теги
диаграмма классов, модель данных, crm2011

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Каков процент внедрений "стандартной" поставки системы Аксапта? coolibin DAX: Прочие вопросы 17 10.02.2009 12:45
Косяк в логике работы формы DimensionsLookup gl00mie DAX: Программирование 0 11.03.2008 20:05
Этапы внедрения (по материалам IT2B) Елена Сысовская DAX: Прочие вопросы 24 09.03.2007 18:00
Введение в Аксапту Роман Кошелев DAX: Прочие вопросы 0 18.12.2001 14:00
Наброски команды IT2B Елена Сысовская DAX: Прочие вопросы 6 15.12.2001 22:36

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 20:46.