Dialog Method of runbase batch class

Not Answered This post has 0 verified solutions | 3,262 Views | 3 Replies | 1 Follower

8 Posts
46 Points
Joined: 2010-9-22
Last Online:
2011-2-8 1:30
Location: Hyderabad,India
Blacksmith Ismail posted on 2010-11-26 10:44 rated by 0 users

HI,

I have a requirement to add the SalesId as input parameter in a class which extends runbasebatch.

The input parametere salesIS should be fieltered in such a way that only Sales Orders of type "open order" only are shown.

 

When I add the field using addfieldValue(typeId(SalesId),Salesid) , the look up is showin all the sales oreder.

My question is how can i add a filter on the above to show sales oredrs of type open order only.

If any one has done this please suggest.

 

REgards,

Ismail.

All Replies

Male
33 Posts
437 Points
Joined: 2009-5-2
Last Online:
2015-9-14 11:12
Location: Dubai,UAE

Hi,

Use relation (Normal and RelatedFieldFixed) for EDT. 

Reyaz

  • | Post Points: 6
8 Posts
46 Points
Joined: 2010-9-22
Last Online:
2011-2-8 1:30
Location: Hyderabad,India

HI,

 

Thanks for the suggestion .

what in case if the selection criteria is not a base enum, then i can not have RelatedFieldFixed to put in.

Please suggest.

 

Regards,

Ismail

  • | Post Points: 6
Male
3,926 Posts
75,170 Points
Joined: 2007-11-12
Last Online:
2016-2-4 14:42
Location: Hyderabad - India
DynamicsMVP

For that you need to create an EDT.

In the relations add normal relation -> EDTName == SalesTable.salesId.

Related Field Fixed ->  1 == SalesTable.SalesStatus

 

No Pain, No Gain

  • | Post Points: 5
Page 1 of 1 (4 items) | Get this RSS feed