- Created by Bao TRINH , last modified by Cam Mackay on May 21, 2024
You are viewing an old version of this content. View the current version.
Compare with Current View Version History
« Previous Version 7 Next »
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. |
⬆️ Back to top
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. |
⬆️ Back to top
PurchaseOrderApiModel
Property | Data Type | Description |
---|---|---|
Key | ||
PurchaseOrderFields | PurchaseOrdersPurchaseOrderFields | |
Rows | Array [PurchaseOrdersDetailLine] | |
ValidationErrors | Array [MvcValidationError] |
⬆️ Back to top
PurchaseOrdersDetailKey
Property | Data Type | Description |
---|---|---|
KeyName | String | Key |
PurchaseOrderLineId | Integer | Code of Purchase Order line. |
PurchaserId | Integer | Purchase Order id. |
FinCoCode | String | Financial company code |
JobCode | String | Job code. |
LineCode | Integer | Line code |
ActivityCode | String | Activity code. |
WorkCentreCode | String | Work Centre code. |
GstTypeCode | String | Tax type |
⬆️ Back to top
PurchaseOrdersDetailLine
Property | Data Type | Description |
---|---|---|
PurchaseOrderLineID | Integer | Purchase Order line. |
RequiredDate | String | Required date. |
FollowUpDate | String | Follow up date. |
ExpectedDate | String | Expected date. |
CheckboxDisabled | Boolean | Check box Disabled status. |
CheckboxDisabledLabel | String | Checkbox Disable label |
Complete | Boolean | Complete status. |
LineDesc | Boolean | Line description. |
CatalogueLineID | Integer | Catalogue line id. |
ReferenceValue | String | Reference text. |
JobCode | Job code. | |
LineCode | Line code. | |
ActivityCode | Activity code. | |
LineDescription | Line description. | |
Details | Details text. | |
WorkCentreCode | Work Centre code. | |
Unit | Unit of measurement. | |
Reference | 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 | |
Delete | ||
LineDetails | Line description. | |
Budget | Budget name. | |
BudgetDetails | Budget details | |
Completed | Completed status. | |
LogHeaderID | Integer | Service log id. |
LogHeader | ||
Status | String | Status. |
ReadonlyFlag | Integer | Read Only status. |
ReadonlyMessage | String | Read Only message. |
OriginalKey | ||
CurrentKey | ||
Key | ||
Index | Integer |
⬆️ Back to top
PurchaseOrdersPurchaseOrderFields
Property | Data Type | Description |
---|---|---|
PrintButton | SplitButtonViewData | |
AttachmentsDialog | FileAttachmentsViewData | |
PONumber | Purchase Order number | |
Location | Location in Purchase Order | |
ProfitCentre | ||
Supplier | Supplier | |
Contact | Contact person. | |
WorkflowType | Workflow type. | |
WorkflowStatus | ||
EnteredBy | Person who entered data. | |
Purchaser | Purchaser | |
Approver | Approver. | |
POReference | Reference. | |
PODate | Purchase Order date. | |
StandingPO | Standing Purchase Order status. | |
DocketPO | Docket status | |
Currency | Currency | |
FCRate | Rate of foreign currency. | |
FCFixed | The foreign currency rate applied. | |
POReason | ||
POType | Purchase Order type. | |
Job | Job | |
Address | 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 | Note. | |
CompletedField | Completed status | |
NoAccrual | ||
Afe | ||
CopyFromPurchaseOrder | Copy from Purchase Order number | |
UseJob | ||
Copy | ||
Recost | Recost calculation. | |
IsNew | Boolean | New status. |
Approved | Boolean | Approved status. |
Completed | Boolean | Completed status. |
CanApprove | Boolean | Can approve or not. |
CanUnapprove | Boolean | Can Unappvove or not. |
ShowStructuredAddressFields | Boolean | |
ControlButtons | ControlButtonsViewData | |
Import | ||
WorkflowDetails | ||
MoreBtn | SplitButtonViewData | |
JobCode | String | Job code |
Table | String | |
DiscussionTypeId | String | |
FinancialCompanyCode | String | Financial company code |
CanCancel | Boolean | Can Cancel status. |
CanUncancel | Boolean | Can UnCancel status. |
CanSendBack | Boolean | Can Send back status. |
CanAssign | Boolean | Can assign to person status. |
CanReview | Boolean | Can Review status |
CanSubmit | Boolean | Can Submit status |
CanComplete | Boolean | Can Complete status. |
CanCopy | Boolean | Can Copy status. |
CanEdit | Boolean | Can Edit status. |
⬆️ Back to top
Example
%title
Request
Response
Response sample
⬆️ Top of page
- No labels