Rapaport Functions Usage.
Upgrade to version
9.4.270 or above (go to Customer ->Help ->About Gem Program ->Check for Update)
Rapaportprice(nLotno)
nLotno is the Gem stone lot number.
Code Sample;
In Memo forms usage* will be: Rapaportprice(val(memo.lotno))
In Invoice forms usage* will be:
Rapaportprice(val(inv_tran.lotno))
Rapapordiscount(nLotno, nSellingPrice)
nLotno is the Gem stone lot number.
nSellingPrice is your selling price
Code Sample;
In Memo forms usage* will be: Rapapordiscount (val(memo.lotno),
memo.price)
In Invoice forms usage* will be: Rapapordiscount (val(inv_tran.lotno),
inv_tran.price)
*
- Modify your report by clicking on Utilities -> Modify
Report and selecting your report name (memoform, invform etc…).
- Click on View (top menu) -> Report Controls Toolbar.
- Add a field to the “Detail Band” of your report by
clicking on the ‘ab’ icon in the Report Controls Toolbar.
- In the field expression use the code samples above.
|