|
![]() |
#1 |
Administrator
|
Эта ошибка исправлена в SP3.
Цитата:
Request No.: ES-205-306-HF2J
Subject: Incorrect management statistics on updated sales orders from CRM Quotation Description: The Management statistics graphs and underlying data were incorrect when displaying summary updated sales orders from CRM Quotations. This has been corrected. Corrected Source File: Class "smmSalesManagementQuery" <div class='XPPtop'>X++</div><div class='XPP'>[color=:blue]public[/color] AmountCur querySalesOrderInvoicedWithOutTax(TransDate _fromDate, TransDate _toDate, EmplId _employee, smmSalesUnitId _salesUnit, smmPerspective _perspective) { AmountCur totalAmount; CustInvoiceJour custInvoiceJour; SalesTable salesTable; ; [color=:blue]if[/color] (_employee && _perspective [color=:blue]==[/color] smmSalesManagementPerspective::Salesman) { [color=:blue]while[/color] [color=:blue]select[/color] custInvoiceJour join salesTable [color=:blue]where[/color] custInvoiceJour.SalesId [color=:blue]==[/color] salesTable.SalesID && salesTable.SalesResponsible [color=:blue]==[/color] _employee && custInvoiceJour.InvoiceDate <= _toDate && custInvoiceJour.InvoiceDate >= _fromDate { totalAmount += Currency::mSTAmount(custInvoiceJour.InvoiceAmount - custInvoiceJour.SumTax, custInvoiceJour.CurrencyCode, custInvoiceJour.InvoiceDate); } } [color=:blue]if[/color] (_salesUnit && _perspective [color=:blue]==[/color] smmSalesManagementPerspective::SalesUnit) { [color=:blue]while[/color] [color=:blue]select[/color] custInvoiceJour join salesTable [color=:blue]where[/color] custInvoiceJour.SalesId [color=:blue]==[/color] salesTable.SalesID && salesTable.SalesResponsible [color=:blue]==[/color] _employee && custInvoiceJour.InvoiceDate <= _toDate && custInvoiceJour.InvoiceDate >= _fromDate { totalAmount += Currency::mSTAmount(custInvoiceJour.InvoiceAmount - custInvoiceJour.SumTax, custInvoiceJour.CurrencyCode, custInvoiceJour.InvoiceDate); } } [color=:blue]return[/color] totalAmount; }</div> Попробуйте изменить этот метод.
__________________
Not registered yet? Register here! Have comments, questions, suggestions or anything else regarding our web site? Don't hesitate, send them to me |
|