% GRID-PO-VERSION-LIST(1) Cargill, Incorporated | Grid

NAME

grid-po-version-list - List all purchase orders versions.

SYNOPSIS

grid po version list [FLAGS] [OPTIONS]

DESCRIPTION

List purchase order versions in grid.

FLAGS

-h, --help
Prints help information.
-q, --quiet
Do not display output.
-V, --version
Prints version information.
-v
Increases verbosity (the opposite of -q). Specify multiple times for more output.
--accepted
Filter on whether the purchase order version is an accepted version. Conflicts with --not-accepted.
--not-accepted
Filter on whether the purchase order version is not an accepted version. Conflicts with --accepted.
--draft
Filter on whether the purchase order version is a draft. Conflicts with --not-draft.
--not-draft
Filter on whether the purchase order version is not a draft. Conflicts with --draft.
--closed
Selects closed purchase orders only. Conflicts with --open.
--open
Selects open purchase orders only. Conflicts with --closed.

OPTIONS

-F, --format=FORMAT
Specifies the output format of the list. Possible values for formatting are human, csv, yaml, and json. Defaults to human.
--org
Optionally, filter the purchase orders for the organization specified by ORG_ID.
--service-id
The ID of the service the payload should be sent to; required if running on Splinter. Format: <circuit-id>::<service-id>.
--url
URL for the REST API

EXAMPLES

The command

$ grid po version list PO-1234-56789

will list all purchase orders version for the purchase order with a unique ID of PO-1234-56789.

VERSION_ID  WORKFLOW_STATE IS_DRAFT CURRENT_REVISION REVISIONS
01          proposed        false    2                2

ENVIRONMENT VARIABLES

GRID_DAEMON_ENDPOINT
Specifies a default value for --url
GRID_SERVICE_ID
Specifies a default value for --service-id

SEE ALSO

| grid-po(1) | grid-po-version-create(1) | grid-po-version-list(1) | grid-po-version-update(1) | grid-po-revision(1) | | Grid documentation: https://grid.splinter.dev/docs/0.3/