ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
hooks/use-purchase-orders
PurchaseOrder
Interface PurchaseOrder
interface
PurchaseOrder
{
id
:
string
;
number
:
string
;
supplierId
:
string
;
orderDate
:
string
;
expectedDate
?:
string
;
status
:
|
"DRAFT"
|
"CANCELLED"
|
"CONFIRMED"
|
"PARTIALLY_RECEIVED"
|
"RECEIVED"
;
totalAmount
:
number
;
currencyId
?:
string
;
notes
?:
string
;
createdAt
:
string
;
updatedAt
:
string
;
supplier
?:
{
id
:
string
;
name
:
string
;
code
:
string
;
phone
?:
string
;
email
?:
string
;
addresses
?:
{
street
:
string
;
city
:
string
;
country
:
string
}
[]
;
}
;
currency
?:
{
id
:
string
;
code
:
string
;
symbol
:
string
}
;
lines
?:
PurchaseOrderLine
[]
;
}
Index
Properties
id
number
supplier
Id
order
Date
expected
Date?
status
total
Amount
currency
Id?
notes?
created
At
updated
At
supplier?
currency?
lines?
Properties
id
id
:
string
number
number
:
string
supplier
Id
supplierId
:
string
order
Date
orderDate
:
string
Optional
expected
Date
expectedDate
?:
string
status
status
:
"DRAFT"
|
"CANCELLED"
|
"CONFIRMED"
|
"PARTIALLY_RECEIVED"
|
"RECEIVED"
total
Amount
totalAmount
:
number
Optional
currency
Id
currencyId
?:
string
Optional
notes
notes
?:
string
created
At
createdAt
:
string
updated
At
updatedAt
:
string
Optional
supplier
supplier
?:
{
id
:
string
;
name
:
string
;
code
:
string
;
phone
?:
string
;
email
?:
string
;
addresses
?:
{
street
:
string
;
city
:
string
;
country
:
string
}
[]
;
}
Optional
currency
currency
?:
{
id
:
string
;
code
:
string
;
symbol
:
string
}
Optional
lines
lines
?:
PurchaseOrderLine
[]
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
id
number
supplier
Id
order
Date
expected
Date
status
total
Amount
currency
Id
notes
created
At
updated
At
supplier
currency
lines
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...