Hook actionGenerateDocumentReference

Informations

Modify document reference for Order This hook allows modules to return custom document references for order
Hook actionGenerateDocumentReference
Locations
FO
Type action
Origin core
Aliases
Description This hook allows modules to return custom document references for order

Located in

Origin File
core classes/order/Order.php

Call of the Hook in the origin file

$reference = Hook::exec('actionGenerateDocumentReference', [
    'type' => 'order',
]);