AXForum  
Go Back   AXForum > Microsoft Dynamics AX > DAX: Программирование
All
Forgotten Your Password?
Register Forum Rules FAQ Members List Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Old 19.10.2020, 15:25   #1  
GSP is offline
GSP
Участник
 
34 / 10 (1) +
Join Date: 14.10.2019
Что значит? Перевод в SQL
Добрый день!
Мне нужно перевести формирование отчёта на запрос SQL, но непонятно как формируется одно из полей, в методе это:

X++:
    return max(0, abs(movement.transQtyUnit()) - schedLine.UnitQty);
В movement.transQtyUnit() :

X++:
public UnitQty  transQtyUnit()
{
    return this.transQty();
}

А в this.transQty() :

X++:
abstract public InventQty transQty()
{
}
Помогите пожалуйста, где в итоге формируется поле? Как его достать?
Old 19.10.2020, 15:55   #2  
S.Kuskov is offline
S.Kuskov
Участник
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
 
3,449 / 1792 (66) ++++++++
Join Date: 28.04.2007
Location: Калуга
Quote:
Originally Posted by GSP View Post
Помогите пожалуйста, где в итоге формируется поле? Как его достать?
абстрактный метод означает что у этого класса существуют наследники. И каждый наследник реализует своё поведение этого метода.

Разбирайтесь с тем какие именно типы movement создаются в вашем случае.
Можно поставить точку останова, только не в абстрактном методе а в том методе откуда он вызывается и понаблюдать за типами объектов, методы которых будут вызываться.
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
stephenmann: Azure SQL DTU Database Performance Blog bot DAX Blogs 0 27.06.2018 07:11
emeadaxsupport: AX Performance Troubleshooting Checklist Part 1A [Introduction and SQL Configuration] Blog bot DAX Blogs 0 05.09.2014 21:11
emeadaxsupport: How to perform a data center change (change of the physical location) where a SQL server 2008 R 2 cluster installation and MS Dynamics AX 4.0 is involved? Blog bot DAX Blogs 0 21.06.2014 19:19
fed: Two stories about inventory closing and SQL Locks Blog bot DAX Blogs 3 14.01.2014 11:53
Connection к другому SQL Server Poleax DAX: Программирование 5 19.10.2010 10:49

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Рейтинг@Mail.ru
All times are GMT +3. The time now is 18:17.
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Contacts E-mail, Advertising.