Purchase Order
Overview
Provides access to Purchase Order related data.
Endpoints
The resources available in this module.
PurchaseOrderListApi
Provides API access to the Purchase Orders List (#/PurchaseOrders/List.aspx) Web Workbench screen.
/api/PurchaseOrderListApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
POST | Logged in User | - |
PurchaseOrderDetailApi
Provides API access to the Purchase Order detail (#/PurchaseOrders/List.aspx) dialog Web Workbench screen.
/api/PurchaseOrderDetailApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
GET | Admin User | - | ||
POST | Admin User | - | ||
PUT | Admin User | - |
PurchaseOrderDefaultsApi
Provides API access to the default line logic on the Purchase Order detail (#/PurchaseOrders/List.aspx) dialog Web Workbench screen.
/api/PurchaseOrderDefaultsApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
GET | Admin User | - |
Models
The definitions of models specific to endpoints in this module.
PurchaseOrderKey
Property | Data Type | Description |
---|---|---|
PONumber | Integer | The unique Number of the Purchase Order. |
PurchaseOrderLine
Property | Data Type | Description |
---|---|---|
Key | The unique key for the line. | |
PONumber | The unique Number of the Purchase Order. | |
PODate | String | The Purchase Order Date. |
SupplierId | Integer | The ID of the Company this Purchase Order is for. |
SupplierName | String | The name of the Company this Purchase Order is for. |
PurchaserId | Integer | The ID of the user who created this Purchase Order. |
PurchaserName | String | The name of the user who created this Purchase Order. |
AssignedToId | Integer | The ID of the user assigned to this Purchase Order. |
AssignedToName | String | The name of the user assigned to this Purchase Order. |
EnteredById | Integer | The ID of the user who created this Purchase Order. |
POStatus | String | The Status of Purchase Order. |
Reference | String | The Reference Text. |
Completed | Boolean | The Completed flag on the Purchase Order. |
Approved | Boolean | The Approved flag on the Purchase Order. |
Currency | String | The Code of the Currency this Purchase Order is in. |
POType | String | The Purchase Order type. |
PODetails | String | The Details on the Purchase Order. |
OriginalValue | Number | The total Order Cost of the Purchase Order. |
OriginalCostValue | The total Order Cost of the Purchase Order. | |
OutstandingValue | Number | The total Outstanding Cost of the Purchase Order. |
OutstandingCostValue | The total Outstanding Cost of the Purchase Order. | |
ApprovedDate | String | The Date this Purchase Order was Approved. |
RequiredDate | String | The Date this Purchase Order is required by. |
UpdatedDate | String | The Date this record was last updated. |
PurchaseOrderApiModel
Property | Data Type | Description |
---|---|---|
Key | The unique key of the Purchase Order. | |
PurchaseOrderFields | The general data associated withe the Purchase Order. | |
Rows | Array<PurchaseOrderDetailLine> | The Purchase Order Lines. |
ValidationErrors | Array<MvcValidationError> | A list of specific validation errors if the save was unsuccessful. |
PurchaseOrderFields
Property | Data Type | Description |
---|---|---|
PONumber | The Number of the Purchase Order. | |
Location | The Location. | |
ProfitCentre | The Profit Centre. | |
Supplier | The Supplier. | |
Contact | The Contact Person. | |
WorkflowType | The Workflow Type. | |
WorkflowStatus | The Workflow Status. | |
EnteredBy | The name of the Person who created the Purchase Order. | |
Purchaser | The Purchaser. | |
Approver | The Approver. | |
POReference | The Reference. | |
PODate | The Purchase Order Date. | |
StandingPO | The Standing Purchase flag. | |
Currency | The Currency of the Purchase Order. | |
FCRate | The Rate of foreign currency. | |
POReason | The reason for the Purchase Order. | |
POType | The Purchase Order Type. | |
Job | The Job. | |
JobCode | String | The Job Code. |
FinancialCompanyCode | String | The Financial company Code. |
Address | The Address. | |
StreetLine1 | Street line 1 for address. | |
StreetLine2 | Street line 2 for address. | |
Suburb | Suburb for address. | |
City | City of the address. | |
PostCode | Post code of the address. | |
State | State of the address. | |
Country | Country of the address | |
DeliveryAddress | Delivery address | |
RequiredDate | Required date. | |
FollowUpDate | Follow up date. | |
ExpectedDate | Expected date. | |
RevisedDate | Revised date. | |
Comments | The Comments on the Purchase Order. | |
CompletedField | The Completed flag on the Purchase Order. | |
Completed | Boolean | The Completed flag on the Purchase Order. |
Approved | Boolean | The Approved flag on the Purchase Order. |
AttachmentsDialog | The file attachments information for the Purchase Order. | |
CanApprove | Boolean | A flag to indicate if the user has permissions to approve. |
CanUnapprove | Boolean | A flag to indicate if the user has permissions to un-approve. |
CanCancel | Boolean | A flag to indicate if the user has permissions to cancel. |
CanUncancel | Boolean | A flag to indicate if the user has permissions to un-cancel. |
CanSendBack | Boolean | A flag to indicate if the user has permissions to send back. |
CanAssign | Boolean | A flag to indicate if the user has permissions to assign. |
CanReview | Boolean | A flag to indicate if the user has permissions to review. |
CanSubmit | Boolean | A flag to indicate if the user has permissions to submit. |
CanComplete | Boolean | A flag to indicate if the user has permissions to complete. |
CanCopy | Boolean | A flag to indicate if the user has permissions to copy. |
CanEdit | Boolean | A flag to indicate if the user has permissions to edit. |
PurchaseOrderDetailKey
Property | Data Type | Description |
---|---|---|
PurchaseOrderLineId | Integer | The unique ID of Purchase Order Line. |
PurchaserId | Integer | The ID of the Purchaser of the Purchase Order. |
FinCoCode | String | The Financial Company Code on the Purchase Order Line. |
JobCode | String | The Job Code on the Purchase Order Line. |
ActivityCode | String | The Activity Code on the Purchase Order Line. |
WorkCentreCode | String | The Work Centre Code on the Purchase Order Line. |
GstTypeCode | String | The GST Type Code on the Purchase Order Line. |
PurchaseOrderDetailLine
Property | Data Type | Description |
---|---|---|
Key | The unique key for the line. | |
JobCode | The Job Code on the Line. | |
LogHeaderID | Integer | The ID of the Log on the Line |
LogHeader | The Log on the Line | |
LineCode | The Catalogue Line. | |
ActivityCode | The Activity Code on the Line. | |
LineDescription | The Line Description. | |
Details | The Details text. | |
WorkCentreCode | The Work Centre Code on the Line. | |
Unit | The Unit of measurement. | |
Reference | The Reference text. | |
FCUnitCost | Unit cost in foreign currency. | |
OrderQuantity | Order quantity | |
FCOrderCost | Order cost in foreign currency | |
OutstandingQuantity | Outstanding quantity. | |
FCOutstandingCost | Outstanding cost foreign currency | |
Gst | Tax | |
GstRate | Tax rate | |
GstTypeCode | Code of Tax type | |
RequiredDate | String | The Required Date on the Line. |
FollowUpDate | String | The Follow Up Date on the Line. |
ExpectedDate | String | The Expected Date on the Line. |
Complete | Boolean | The Completed flag on the Line. |
Completed | The Completed flag on the Line. |