Created
August 31, 2016 15:27
-
-
Save hasokeric/7df64850b6805cf99dcf5838bb62f568 to your computer and use it in GitHub Desktop.
Get Current Instance of Running BO within a BPM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.defaultImpl | |
//This will give you access to the current instance of the BO within BPM. | |
//For example on Order Update BPM you need to run a GetByID You woudl do as follows | |
SalesOrderTableset sots = this.defaultImpl.GetByID(5555); | |
//No need to instanciate another Sales Order BO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// It looks like in E10.1 the defaultImpl is set to private and | |
// they created a getter called DefaultImpl | |
this.DefaultImpl | |
//This will give you access to the current instance of the BO within BPM. | |
//For example on Order Update BPM you need to run a GetByID You woudl do as follows | |
SalesOrderTableset sots = this.DefaultImpl.GetByID(5555); | |
//No need to instanciate another Sales Order BO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment