Posted by Oscar
2016-04-22

Dear: Tom

This is the Link for the location
<td align='center'> <a href='http://22.19.7.7/01-WH_Time_Line\FTP WH\MRR\R12070.pdf' target='_blank'>

R12070.pdf' = is going to be ID Number
but at the en the PDF file is going to change as ID Number, how can I do that. I will appreciated
Posted by Tom
2016-04-22

OK, so you want to display the ID in the detail page, right?

First, you need this helper function. Open web/staff/common.inc.php in a text editor, and put the following line on the top, then the function will be available anywhere inside the web/staff folder.
<?php function getTextValue( $key, $val ){ return $val->attri['value']; } ?>
You can display the ID of a record with the following code, assuming the name of the ID is 'address_id'
<?php echo $hm->Zb('rs:def:address_id',ZB_CBF,'getTextValue'); ?>