0

我负责开发库存快照报告,该报告分为两种类型:订单和库存。除此之外,只有具有特定状态的项目才应显示在报告中。

I have a parameter that is used to determine the specific date for the report. {?endDate}
I have a field in a view that pulls the date the item was received. {rec_date}
I have a formula field that pulls the group (orders/stock) -- {@grouping}
I have a formula field that pulls the status -- {@state}

基本上我在记录选择中需要的是:

( @grouping = "Orders" and rec_date < {?endDate} and @state in (0,2,5) )

OR

( @grouping = "Stock" and rec_date < {?endDate} and @state in (1,2,3,5,7) )

我一直试图写这个的任何方式都是无效的。任何帮助,将不胜感激。

4

1 回答 1

1

您的公式也必须在波浪括号中:

( {@grouping} = "Orders" and rec_date < {?endDate} and {@state} in [0,2,5] )

OR

( {@grouping} = "Stock" and rec_date < {?endDate} and {@state} in [1,2,3,5,7] )
于 2012-08-21T14:39:24.833 回答