Description |
* Background
** A department can be tied to a vehicle or a card
** A Transaction needs to be reported against a single department.
* During Printing of CF Invoice, the department assigned to the transaction needs to use the following hiearchy
** When CF Account > Primary Department = Vehicle
*** When Transaction has Vehicle with Department
**** Use Vehicle Department
*** Else
**** When Transaction Card has Department
***** Use Card Department
**** Else = Department = Unknown
** When CF Account > Primary Department = Card
*** When Transaction Card has Department
**** Use Card Department
*** Else
**** When Transaction has Vehicle with Department
***** Use Vehicle Department
**** Else = Department = Unknown
|