2014年1月17日 星期五

generator-menu generator-help generator-trouble shooting



body lost parent
e.g. sales_line, lost  sales_header because save problem


List too much in listing  when choice refernec

where=where qty>0  and SUPPLIER like `^'+parent.currentEntity+'^` and FIND_IN_SET(TRIM(PO_RECORDID),"'+parent.currentChoose+'"):0

formConstrain=and (qty>0  and SUPPLIER like `^'+parent.currentEntity+'^` and FIND_IN_SET(TRIM(PO_RECORDID),"'+parent.currentChoose+'"):0) 
queryMode=or


Not  Generate Document Number because doc_no is disabled.

Button Color
(input.css) GridButton, formButton, thisButton, SaveButton

Grid
grid must have recordID field

Query
{setConstrain}_c3=_lookup('query.itemName');if(_c3){_c03='Name like `^'+_c3+'^`';}{/setConstrain}
{onclick}retrieval();{/onclick}


Table Caption Color
(input.css) th

Label
{labelInLineStyle}display:none;{/labelInLineStyle}

input mask 
e.g.
{inputMask}########{/inputMask}
{numeric} == integer
{currency}
{upper}{lower}


input type
num.2

text
      ... text:GRID,10%,150,QTY,,{numeric} {alignRight}
date
textarea
combo  {combo}A,Available,E,EOL,H,Hold{/combo}
combo  {getJson}tableRead?     table=PAYMENT_METHOD&fields=code,description&where=where status:`A` or status:`D` &format=S,S&callback=?{/getJson}
check  : 0.21,employee.location,check,0,0,Location : Kowloon
radio : 0.218,employee.status:I,radio,20%,0,Status:I:A:D



Multi Lingual
<%=lingual.getCustomer()%><%=lingual.getApprove()%>
[CUSTOMER]


onclick (call subform)


  • {onclick}location.reload();{/onclick}
  • {subformWidth}1061{/subformWidth}{subformHeight}740{/subformHeight}{subform}input.jsp?mode=SINPUT&input=item.txt&config=itemConfig.txt&{/subform}


沒有留言:

張貼留言