Changes

Jump to: navigation, search

Transaction Variables

65 bytes removed, 11:27, 27 September 2012
no edit summary
===Parent Object===
On a Company/Account transaction you can display or store the name of the Company the transaction is attached to on the transaction by creating a [[Read Only - System Variable]] or [[Store Value - System Variable]] '''on the transaction''' with the following syntax:
:<font size="3">'''@parent.name@'''</font>
On a Contact transaction you can display or store the name of the contact the transaction is attached to on the transaction using:
:<font size="3">'''@parent.fullname@'''</font>
<!--@sscalculation( [#(?object=transaction;)$add this$+#]0)-->
</pre>
 
* '''Important:''' There <u>must</u> be a space prior to the opening square bracket.
so the 0 at the end ensures that the statement evaluated doesn't end with a plus sign (which will fail).
* You can also use [[sscalculation]] to format the display of dates
==See Also==
* [[sscalculation]]
* [http://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_date-format MYSQL Date Format] Note: this is an external website.
[[Category:Transactions]][[Category:Variables]]
0
edits

Navigation menu