json icon

Propose Sales Order

v0.1.0commands

Workflow #8 — draft a Fishbowl sales order (status Estimate) from an approved customer PO; created only once sales approves.

1{
2  "$schema": "http://json-schema.org/draft-07/schema#",
3  "title": "ProposeOrderEntry",
4  "type": "object",
5  "properties": {
6    "customerName": {
7      "type": "string",
8      "minLength": 1
9    },
10    "customerPo": {
11      "type": "string"
12    },
13    "soNum": {
14      "type": "string"
15    },
16    "opportunityId": {
17      "type": "string"
18    },
19    "note": {
20      "type": "string"
21    },
22    "lines": {
23      "type": "array",
24      "minItems": 1,
25      "items": {
26        "type": "object",
27        "properties": {
28          "partNumber": {
29            "type": "string",
30            "minLength": 1
31          },
32          "quantity": {
33            "type": "number",
34            "exclusiveMinimum": 0
35          },
36          "unitPrice": {
37            "type": "number"
38          },
39          "description": {
40            "type": "string"
41          }
42        },
43        "required": [
44          "partNumber",
45          "quantity"
46        ]
47      }
48    }
49  },
50  "required": [
51    "customerName",
52    "lines"
53  ]
54}

Details

Format
JSON Schema
Resource
commands
Filename
schema.json

Versions