in

Dynamics User Group

Since 1995 - The Microsoft Dynamics Online User Community

To filter records of SalesLine on basis of Warehouse

Last post 07-09-2008 12:05 by manish_s. 2 replies.
Page 1 of 1 (3 items)
Write a New Post Sort Posts: Previous Next
  • 07-05-2008 15:07

    • manish_s
    • Top 500 Contributor
      Male
    • Joined on 10-04-2007
    • Noida
    • Posts 72
    • Points 1,165

    To filter records of SalesLine on basis of Warehouse

    Hi All,

    I have a form, on which there is filter field on Warehouse. Besides this, there are two tabs. On background of these tabs there are two instances

    of SalesLine(based on some condition). Now on the selection of filter field of warehouse, I have to filter records of salesline.

    I am not getting any idea. Sad Any help is appreciated.

    Manish

     

    Manish
    • Post Points: 20
  • 07-08-2008 23:03 In reply to

    Re: To filter records of SalesLine on basis of Warehouse

    The SalesLine table contains a field called InventDimId, which is a reference to a group of inventory dimensions, that are stored in the InventDim table.

    If you need to filter on the warehouse, you will have to filter on a table field, specifically, on the InventLocationId field of the InventDim table.

    In order to do this, you will have to join SalesLine and InventDim in your form (2 times, if needed, to 2 different InventDim datasources), and then apply the filter on the datasource field as you would normally

    Kashperuk Ivan (Vanya)
    My blog
    Dynamics AX links
    Filed under: ,
    • Post Points: 20
  • 07-09-2008 12:05 In reply to

    • manish_s
    • Top 500 Contributor
      Male
    • Joined on 10-04-2007
    • Noida
    • Posts 72
    • Points 1,165

    Re: To filter records of SalesLine on basis of Warehouse

    Thanks Ivan, I solved that one.

    I am also doing the same thing, but the thing I forgot to do is to refresh the datasource of saleline after filter the records of InventDim.

    As there is no field from InventDim on form, so it wont show me any effect on form.

    Silly one, but sometimes happens...

    Manish
    • Post Points: 5
Page 1 of 1 (3 items)


Copyright Dynamics User Group, 1995-2008, all rights reserved. This website and user group are independent and not affiliated with the Microsoft Corporation.