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
- Nested Json using Data Contract Class in AX 2012 R3
- Pass parameter to validateWrite method in table
- Is there a way to extend a table to be a valid time state table
- How to add OffsetLedgerDimension to Fixed Asset Journal by x++?
- Convert 'Container' type data into serialization without X++ Conpeek
- How to manage dual-sync when single table data is saved to multiples tables from staging table in F&O?
- Join expected in select statement on X++
- SQL filter from range expression like used in Dynamics Ax 2012
- Change checkbox value without datasource and other than the current one AX2012
- Export all records from grid in ax 2012 r2
- export more than 1 million records from dynamics-365-operations (AX 365)
- CODA format d365 fin and ops automate bank statement import
- Declaration class as array in AX 2012
- Labels in Dynamics AX V4
- Resource not opening Excel file in ax 2012
Related Questions in X++
- Nested Json using Data Contract Class in AX 2012 R3
- getting errors while installing ISV licence using AXUpdateInstaller.exe devinstall for D365FO
- How to call OriginalDocuments form by code D365fo
- Pass parameter to validateWrite method in table
- Is there a way to extend a table to be a valid time state table
- How to add OffsetLedgerDimension to Fixed Asset Journal by x++?
- D365 F&O Add field to Expense Journal Lines that is available in Invoice Proposal
- D365 Countdown Timer
- Convert 'Container' type data into serialization without X++ Conpeek
- Join expected in select statement on X++
- Change checkbox value without datasource and other than the current one AX2012
- Next call on Chain of Command in X++ D365 FO
- Export all records from grid in ax 2012 r2
- export more than 1 million records from dynamics-365-operations (AX 365)
- Retrieve data from a display method in D365 FO, x++
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.