User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:adminmanual:businessmappings:flowcontrol [2019/05/17 15:52]
joebordes [Versioning Quotes on Potentials Sales Stage]
en:adminmanual:businessmappings:flowcontrol [2019/05/17 16:03] (current)
joebordes [Versioning Quotes on Potentials Sales Stage]
Line 161: Line 161:
 ====== Versioning Quotes on Potentials Sales Stage ====== ====== Versioning Quotes on Potentials Sales Stage ======
  
-The flow control business map is a very powerful and versatile map. It not only permits us to establish a validation step process but it will also permit us to create versions of +The flow control business map is a very powerful and versatile map. It not only permits us to establish a validation step process but it will also permit us to create versions of related records. 
 + 
 +coreBOS supports versioning of records natively so we must first configure this function correctly for the module we want to version. Then we will be able to add to the module to the flow control map and it will automatically launch the process for us when the flow state changes. 
 + 
 +<WRAP center round info 75%> 
 +Note that in reality, this is just a helper syntax to adding the version action in the "​actionyes"​ section. 
 +</​WRAP>​ 
 + 
 +The next map will version the quotes related to an opportunity on any sales stage change. 
 + 
 +<code XML> 
 +<​map>​ 
 +  <​module>​Potentials</​module>​ 
 +  <​statefield>​sales_stage</​statefield>​ 
 +  <​movements>​ 
 +    <​movement>​ 
 +      <​from>​ANYFLOWCONTROLSTATE</​from>​ 
 +      <​to>​ANYFLOWCONTROLSTATE</​to>​ 
 +    </​movement>​ 
 +  <​movements>​ 
 +  <​version>​ 
 +    <​module>​Quotes</​module>​ 
 +  </​version>​ 
 + </​map>​ 
 +</​code>​
 ====== Fundamental Logic of the map ====== ====== Fundamental Logic of the map ======