2014年3月26日 星期三

generator-form-button

config.txt

save Button
SaveButton1Caption=null <================== no save button 
SaveButton2Caption=Save and Approve
status Button
SaveButton2CaptionColor=red
SaveButton2ClickMethod=_refreshv2('PRODUCT.status','A');

SaveButton3Caption=Save and revoke
SaveButton3ClickMethod=_refreshv2('PRODUCT_GROUP.STATUS','D');

Refresh=s:_lookup("PRODUCT_GROUP.STATUS");s:$.trim(s);if(s!:'A'){$(".SaveButton3Caption").css( "display", "none" );} else {$(".SaveButton3Caption").css( "display", "inline" );}


print Button
printCaption0=PDF
printCaption0ClickMethod=PDFCreateAndView? db:'+DATABASE+'&create:dn&companyid:'+COMPANYID+'&file:'+DOCUMENT+'&recordid:'+RECORDID+'

getData Button (grid)
appendData0=input.jsp?input:dNotesPurchaseList.txt&config:dNotesPurchaseListConfig.txt&mode:CHOICE
appendData0Caption=Createor 
appendData0Source=POQTYOS
appendData0TargetKey=DNOTE_LINE.PO_RECORDID
appendData0HeaderSource=SALES_ORDER,COMPANY,DIVISION,SALES_CODE,SUPPLIER,SHIP_TO_CONTACT,COMPANY_NAME,SHIP_TO_ADDRESS,OUR_REF_NO,CONTRACT_NO
appendData0HeaderSourceFormat=S,S,S,S,S,S,S,S,S,S
appendData0HeaderTarget=DNOTE_HEADER.SALES_ORDER,DNOTE_HEADER.COMPANY,DNOTE_HEADER.DIVISION, DNOTE_HEADER.SALES_CODE,DNOTE_HEADER.SUPPLIER,DNOTE_HEADER.SHIP_TO_CONTACT,DNOTE_HEADER.COMPANY_NAME,DNOTE_HEADER.SHIP_TO_ADDRESS,DNOTE_HEADER.OUR_REF_NO,DNOTE_HEADER.YOUR_REF_NO



沒有留言:

張貼留言