Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using the standard 'create invoice from salesorder' in workflows
#20
You can use
PHP Code:
DataTransform::sanitizeReferences() 

to accomplish this.

Have a look here at how I use it to unit test the DataTransform API

https://github.com/tsolucio/coreBOSTests/blob/master/include/Webservices/DataTransformTest.php#L55

basically get the webservice object for invoice and pass it into sanitizeReferences with the data array
Joe
TSolucio
Reply


Messages In This Thread
RE: Using the standard 'create invoice from salesorder' in workflows - joebordes - 08-08-2016, 09:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)