Information Systems:Gilead Sales Report (Python)

From uniWIKI
Revision as of 12:14, 15 March 2021 by Norwinu (talk | contribs) (Norwinu moved page Information Systems:Gilead Sales Report to Information Systems:Gilead Sales Report (Python) without leaving a redirect)
Jump to navigation Jump to search

For the old page, click here:Gilead Sales Report - Old

Overview

Gilead requires daily inventory reporting on their products from uniPHARM. A Python script generates and sends this report to ValueCentric, the data broker used by Gilead.

Running manually

(uwdutils) norwinu@BART /uwdsrc/uwdutils$ python3 gilead_852csv.py -h
usage: gilead_852csv.py [-h] [-f --force] [-d --date DATE]
                       [-s --supplier SUPPLIER]

Run daily sales report for Gilead.

optional arguments:
 -h, --help            show this help message and exit
 -f --force            Bypasses one-run-per-day check and forces program to
                       run
 -d --date DATE        Date report will be generated for, in format YYYYMMDD
                       e.g. 20180501
 -s --supplier SUPPLIER
                       5-digit uniPHARM customer number e.g. 12345