Argumentspyeval(String pythonexpression)
ReturnObject whose type depends on the type of the result attribute. It can be String, Number, Boolean or Date.
Examplespyeval('python.modules.math.pi*bo.radius**2')
eq(pyeval('(
bool(bo.reqitems(reqitemStatus__ne = 'AP', itemtype__itemtype = 'M%'))
)'),1)
pyeval('(
localize('reqitem_reserveManually_option2Description', (bo.datRequisition, bo.requisition))
)')
pyeval('(
java.sql.Date(
bo.datRequisition.time
+ bo.delayindays
* (24L*3600L*1000L)
)
)')