How do i create a query or using select to get the count of InventSerialId base on a given Itemid, InventLocationId and where the inventSum.PhysicalInvent > 0 or inventSum.Picked > 0.
How do i get the Count of InventSerialId from InventDim
348 Views Asked by simon peter At
1
There are 1 best solutions below
Related Questions in AXAPTA
- Microsoft Dynamics Ax 2012 R2 run time issue
- Why do some number sequences return "000000" instead of a new number?
- Datepart function error in Microsoft Dynamics SQL
- Hoiw to get the selection fields of a query
- How to copy the entered text in dialog with button from code?
- How to find if exist an uppercase character in string?
- Advanced CustInvoiceJournal
- string Bold on AX 2009 sentence
- AX 2009 - Shop Floor Control > Registration (time clock) job stuck in active status for one user/one job
- Enable/Find logging for Dynamics AX Odata service
- axapta random crashes multiple calls same method
- Need to control AOS memory consumption
- How to close the process from class code?
- How to check EP page caller on AX client
- Get value from ComboBox?
Related Questions in X++
- Datepart function error in Microsoft Dynamics SQL
- Hoiw to get the selection fields of a query
- How to copy the entered text in dialog with button from code?
- How to find if exist an uppercase character in string?
- How to close the process from class code?
- How to check EP page caller on AX client
- Get value from ComboBox?
- ax2009 x++ Error 0x80040211 in RunBaseBatch
- Ax 4.0 X++: Run a class when a file is created in a folder
- Display information related to the currently selected record on a list page
- Compiler throwing error as variable is not declared X++
- In Dynamics Ax, In this case Type of field : EDT, Enum, String or an integer?
- AX X++ return reader form method and close connection to database
- AX 2012 Customize LedgerJournalTrans insert
- Dynamics AX 2009 X++: Fix id in modification of application after import version control
Related Questions in DYNAMICS-AX-2012-R3
- I can't set the decimal value of SalesQty correctly on client while trying AIF Sales Order
- waitForIdleStateSync method in PCRuntimeConfigurator is taking long time to respond
- How to find queries in SQL that belong to a batchjob?
- Xamarin.Forms consume AX2012 R3 Webservice error
- Fill the nullable .net service method in AX2012
- How do i get the Count of InventSerialId from InventDim
- To control the decimal point in real value AX2012
- overriding displayOption to color certain lines according to a value from displayMethod
- other ax users can't see customizations till a day or two
- Form Optimization In AX2012/R3
- Count of group by statement AX2012 R3
- learn batch job parameters AX 2012
- AX .NET PricingEngine class - Cannot get Sales Transaction data, line data is ok
- Override method not being called from warehouse mobile application ax
- AX2012 RouteOpr form shows all RouteOpr entries for a single ressource instead of the specific ones
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This is not directly possible using X++.
Consider:
Here you aggreate
PhysicalInventandpicked, and you can apply a having-filter using the query methodaddHavingFilter.However, you cannot have that combined with another having-filter using a SQL or-statement.
If you try with a query expression, you will get a run-time error.
What you can do is create two views with each filter, then combine them using a union view. This is tricky but doable.
The first should select positive
PhysicalInventand the second should selectPhysicalInvent== 0 and positivePicked.