You can use special variables in your WHERE clause that allow you to base your values on other values. The special variables you can use include
关系值集的时候可以引用:$FLEX$.Value_Set_Name,Value_Set_Name在请求参数时为该参数的名称,在关联弹性域的时候其值是,需要引用的弹性域中所引用的值集名
e.g引用的弹性域中所引用的值集名:WHERE r.ITEM_ID = m.inventory_item_id
and r.to_organization_id = m.organization_id
and r.shipment_header_id = :$FLEX$.CUX_RCV_NUM
在需要引用FORM中的字段作为值集的参数的时候,可以使用这种模式:block.field
eg;where organization_id=:$PROFILES$.MFG_ORGANIZATION_ID
AND INVENTORY_ITEM_ID=:LINE.INVENTORY_ITEM_ID
LINE为订单退货FORM中的块,INVENTORY_ITEM_ID为其中字段
可以引用预置文件作为值集的参数
:$PROFILES$.profile_option_ name[@more@]
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7333190/viewspace-995604/
,如需转载,请注明出处,否则将追究法律责任。