Function: <table>_custom_fields¶
Description:
Allows extending the table structures for any Merci System Table
Usage¶
To be defined in libfuncs.php
fasmast_custom_fields($aStru){
$aStru[] = array( 'gsthead' ,'N', 8,0,false,false,false,false,false,'', 'LINK_BROW:mst_gsthead:id:name', '', 'CAPTION:Gst Head', 'DEF:CAPTIONLINE:Additional Fields', '', '',true ,true ,true ,false, '','','','', 0, 0, 0, 0, 0, 0, 0, 0,'U',false,'','','');
$aStru[] = array( 'tds' ,'C', 3,0,false,false,false,true ,false,'', 'FIX_DDL:YES|NO', '', 'CAPTION:TDS?', '', '', '',true ,true ,true ,false, '','','','', 0, 0, 0, 0, 0, 0, 0, 0,'U',false,'','','');
$aStru[] = array( 'payterms','N', 3,0,false,false,false,false,false,'', '', '', 'CAPTION:Pay Terms', '', '', '',true ,true ,true ,false, '','','','', 0, 0, 0, 0, 0, 0, 0, 0,'U',false,'','','');
return $aStru;
}
Parameters¶
Name | Type | Required | Description |
---|---|---|---|
$aStru | array | Yes | Original Structure from Merci Library |
Return¶
array
– Extended Structure.
Notes¶
- This function allows extending the original structure of Merci system table.