...
Panel | ||
---|---|---|
| ||
|
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | 1 | |
SessionTicket | String | Yes | Click here for more information. | AaNO7kKwfPfmXiw5wd7KdQ== | |
ClearResourceVendorPayeesFlag | Boolean | No | false | If set to 'true', the resource vendor payees will be cleared. | false |
ClearVendorReconciliationGlAcctFlag | Boolean | No | false | If set to 'true', the vendor reconciliation general ledger account will be cleared. | false |
FullDetailFlag | Boolean | No | false | If set to "true", the complete vendor detail will be included in response. | true |
Vendor | Yes | The detailed vendor information to be inserted or updated. | |||
OverrideCostCardWarningFlag | Boolean | No | false |
Request Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/"> <soapenv:Header/> <soapenv:Body> <pws:PwsSaveVendor> <pws:serviceRequest> <req:RequestId>1</req:RequestId> <req:SessionTicket>AaNO7kKwfPfmXiw5wd7KdQ==</req:SessionTicket> <req:ClearResourceVendorPayeesFlag>false</req:ClearResourceVendorPayeesFlag> <req:ClearVendorReconciliationGlAcctFlag>false</req:ClearVendorReconciliationGlAcctFlag> <req:FullDetailFlag>true</req:FullDetailFlag> <req:Vendor> <com:VendorName>ABC Card</com:VendorName> <com:VendorNumber>ABC Card</com:VendorNumber> <com:ExpenseReportPayeeFlag>true</com:ExpenseReportPayeeFlag> <com:InactiveFlag>false</com:InactiveFlag> <com:ResourceVendorFlag>false</com:ResourceVendorFlag> <com:VendorInvoicePayeeFlag>true</com:VendorInvoicePayeeFlag> <com:SubcontractorInvoicePayeeFlag>true</com:SubcontractorInvoicePayeeFlag> <com:AnyResourceFlag>true</com:AnyResourceFlag> <com:CostCenterIdentity> <com:CostCenterName>USA</com:CostCenterName> <com:CostCenterNumber>USA</com:CostCenterNumber> </com:CostCenterIdentity> </req:Vendor> </pws:serviceRequest> </pws:PwsSaveVendor> </soapenv:Body> </soapenv:Envelope> |
...
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
27003 | NewVendorMustHaveNameAndNumberSpecified | New Vendor Must have both New Name and New Number Specified. |
27004 | NewVendorMustHaveCostCenterSpecified | New Vendor Must be placed in an existing Cost Center. |
50024 | EntityNotFound | Entity PwsCostCenterRef was not found. |
59916 | VendorRefInvalid | VendorRef is required. |
59918 | VendorNotFound | Vendor not found. Another user may have deleted it. |
59919 | VendorNumberNotUnique | Vendor number is not unique. |
59928 | VendorReconciliationAcctNotNull | VendorReconciliationGlAccount must be null if ClearVendorReconciliationGlAcctFlag is set. |
59929 | ResourceVendorPayeeListNotNull | List of resource vendor payees must be empty if ClearResourceVendorPayeesFlag is set. |
59932 | ExpenseReportPayeeFlagCannotBeCleared | AnyResourceFlag must be null and there may be no ResourceVendorPayees when ExpenseReportPayeeFlag is to be cleared. |
59933 | AnyResourceFlagCannotBeSet | Operation would result in AnyResourceFlag being set, but ResourceVendorPayees are specified. |
59934 | VendorNameInUse | Specified vendor name already in use. |
59935 | NewVendorNameRequired | New Vendor Name is required on insert. |
59936 | NewVendorNumberRequired | New Vendor Number is required on insert. |
59937 | ClearResourceVendorPayeesFlagNotSet | Operation would result in clearing Resource Vendor Payees, but ClearResourceVendorPayeesFlag is not set. |