Uploaded image for project: 'VPMS Web Application'
  1. OVPMS-2028

SFS 'picker list' change treatment events cause incorrect billing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects versions: 2.0
    • Fix versions: 2.0
    • Components: Smart Flow Sheet
    • Labels:
      None
    • Sprint:

      Description

      When Smart Flow Sheet generates treatment events for Picker List changes, it adds the new treatment prior to removing the old one. This means that the Customer Pharmacy Order temporarily has two line items.
      However the removal doesn't have an inventoryId, so it is not clear which of the line items should be removed.

      Both treatment events are included in a single treatments.records_entered object, so the workaround is to re-order these so that removals are processed first.

        Attachments

          Activity

            People

            • Assignee:
              Tim Anderson
              Reporter:
              Tim Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 6h
                6h

                  Who's Looking?