Supplier - location account identifier

Description

Some suppliers require an account identifier to be present on submitted forms to identify a particular practice location. These account identifiers are provided by the supplier.

To support this:

  • an entityLink.supplierLocation is required between the supplier and practice location
    This will have a single node, accountId

  • an xpath extension function is required to retrieve the node
    As forms don't have access to the supplier, the function will need to accept a hard-coded identifier corresponding to the supplier. E.g.:

    1 supplier:accountId(supplierId, location)

    This would be used as:

    1 supplier:accountId(123456, $OpenVPMS.location)

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Components

Fix versions

Priority

Minor
Configure