Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleSearch Textbox
Image RemovedImage Added

 

Code Block
themeEclipse
languagexml
titleSearch Textbox
<searchtextbox>
    <id>slbWriteOffAccount<	<id>stbAccountReceivable</id>
    	<label>key_accounts_receivable</label>
	<value>[[getValue,java.lang.String,writeOffAccountaccountReceivable/name]]</value>
    <modal>
        <id>mdlWriteOffAccount</id>
        <type>quicksearch</type>
        <refresh>page</refresh>
        <datasetname>accounts.loadsystemaccounts</datasetname>
        <datasetreturnhiddenfield>ACCRECID</datasetreturnhiddenfield>
        <datasetsearchtable>ACCOUNTSRECEIVABLE</datasetsearchtable>
        <datasetsearchfield>ACCRECNUM;ACCRECNAME</datasetsearchfield>
        <assignments>
            <assignment>
                	<visiblemodes>new,edit</visiblemodes>
	<modal>
		<id>mdlAccountReceivable</id>
		<type>quicksearch</type>
		<refresh>component,false:false:null:cmpAccountReceivable;component,false:false:null:cmpContactInformation</refresh>
		<datasetname>accounts.load</datasetname>
		<datasetreturnhiddenfield>ACCRECID</datasetreturnhiddenfield>
		<datasetsearchtable>ACCOUNTSRECEIVABLE</datasetsearchtable>
		<datasetsearchfield>ACCRECNAME;ACCRECNUM;LIFECYCLESTATE</datasetsearchfield>
		<assignments>
			<assignment>
				<classname>com.crm.dataobject.accounts.CRMDOAccountReceivable</classname>
                <datapath>writeOffAccount</datapath>
                <value>id</value>
                <datatype>load</datatype>
            </assignment>
        </assignments>
    				<datapath>accountReceivable</datapath>
				<value>accRecId</value>
				<datatype>load</datatype>
			</assignment>
		</assignments>
		<onclosefunction>
			<functions>
				<function>
					<type>ejb</type>
					<classname>ejb/CRMUIAccountReceivable</classname>
					<functionname>loadForm</functionname>
					<resultaction>fieldreplace</resultaction>
					<datapath>accountReceivable</datapath>
					<parameters>
						<parameter>
							<value>[[getValue,java.lang.String,accountReceivable/id]]</value>
							<datatype>java.lang.String</datatype>
						</parameter>
					</parameters>
				</function>
			</functions>
		</onclosefunction>
	</modal>
</searchtextbox>

...