PurchaseOrderManager
Click here for a complete list of operations.
ApprovePurchaseOrder
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /KMWare.ZMA.Inventory.PurchaseMgmt.Host/PurchaseOrderManager.asmx HTTP/1.1
Host: ssa.fp360.us
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://KMWare.ZMA.Inventory.PurchaseMgmt.ServiceContracts/ApprovePurchaseOrder"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ApprovePurchaseOrder xmlns="http://KMWare.ZMA.Inventory.PurchaseMgmt.ServiceContracts">
<ApprovePurchaseOrderRequest xmlns="http://KMWare.ZMA.Inventory.PurchaseMgmt.DataTypes">
<OrganizationUnitId>short</OrganizationUnitId>
<PurchaseOrderNumber>string</PurchaseOrderNumber>
<VendorId>short</VendorId>
<PurchaseOrderYear>int</PurchaseOrderYear>
<OTBPeriodCode>string</OTBPeriodCode>
<BillTo>short</BillTo>
<PurchaseOrderDate>dateTime</PurchaseOrderDate>
<ShipDate>dateTime</ShipDate>
<ExpectedDeliveryDate>dateTime</ExpectedDeliveryDate>
<ProjectPONumber>string</ProjectPONumber>
<Status>string</Status>
<PaymentTermCode>string</PaymentTermCode>
<CarrierId>short</CarrierId>
<FreightTermCode>string</FreightTermCode>
<FiscalPeriodCode>string</FiscalPeriodCode>
<FreightAmount>decimal</FreightAmount>
<PurchaseOrderDeliverDate>dateTime</PurchaseOrderDeliverDate>
<PurchaseOrderDeliveryMode>string</PurchaseOrderDeliveryMode>
<TotalUOM>decimal</TotalUOM>
<MultishipmentFlag>string</MultishipmentFlag>
<TotalAmount>decimal</TotalAmount>
<TotalTaxPOAmount>decimal</TotalTaxPOAmount>
<PurchaseOrderNotes>string</PurchaseOrderNotes>
<InternalNotes>string</InternalNotes>
<ApprovedBy>string</ApprovedBy>
<ApprovedDate>dateTime</ApprovedDate>
<UpdateId>string</UpdateId>
<UpdateDate>dateTime</UpdateDate>
<ShipTo>short</ShipTo>
<PurchaseOrderDetail>
<PurchaseOrderDetail>
<OrganizationUnitId>short</OrganizationUnitId>
<PurchaseOrderNumber>string</PurchaseOrderNumber>
<ItemNumber>string</ItemNumber>
<UOMCode>string</UOMCode>
<LineNumber>short</LineNumber>
<CategoryCode>string</CategoryCode>
<UnitCost>decimal</UnitCost>
<OrderQuantity>decimal</OrderQuantity>
<TotalAmount>decimal</TotalAmount>
<CancelFlag>string</CancelFlag>
<ReceivedStatus>string</ReceivedStatus>
<ReceivedQuantity>decimal</ReceivedQuantity>
<ReceivedAmount>decimal</ReceivedAmount>
<TaxGroupCode>string</TaxGroupCode>
<DiscountType>string</DiscountType>
<DiscountRate>decimal</DiscountRate>
<TotalDiscountValue>decimal</TotalDiscountValue>
<MultishipmentFlag>string</MultishipmentFlag>
<PrimaryUOM>string</PrimaryUOM>
<PrimaryUOMQuantity>decimal</PrimaryUOMQuantity>
<UpdateId>string</UpdateId>
<UpdateDate>dateTime</UpdateDate>
<Status>string</Status>
<TotalNetamount>decimal</TotalNetamount>
<ItemName>string</ItemName>
<Description>string</Description>
<PeriodCode>string</PeriodCode>
<VendorCode>string</VendorCode>
<CategoryName>string</CategoryName>
<RecordStatus>string</RecordStatus>
<UOMDecimalRoundUp>short</UOMDecimalRoundUp>
<VendorUOMDecimalRoundUp>short</VendorUOMDecimalRoundUp>
<ConversionRate>decimal</ConversionRate>
<VendorId>short</VendorId>
<OTBDescripancy>string</OTBDescripancy>
</PurchaseOrderDetail>
<PurchaseOrderDetail>
<OrganizationUnitId>short</OrganizationUnitId>
<PurchaseOrderNumber>string</PurchaseOrderNumber>
<ItemNumber>string</ItemNumber>
<UOMCode>string</UOMCode>
<LineNumber>short</LineNumber>
<CategoryCode>string</CategoryCode>
<UnitCost>decimal</UnitCost>
<OrderQuantity>decimal</OrderQuantity>
<TotalAmount>decimal</TotalAmount>
<CancelFlag>string</CancelFlag>
<ReceivedStatus>string</ReceivedStatus>
<ReceivedQuantity>decimal</ReceivedQuantity>
<ReceivedAmount>decimal</ReceivedAmount>
<TaxGroupCode>string</TaxGroupCode>
<DiscountType>string</DiscountType>
<DiscountRate>decimal</DiscountRate>
<TotalDiscountValue>decimal</TotalDiscountValue>
<MultishipmentFlag>string</MultishipmentFlag>
<PrimaryUOM>string</PrimaryUOM>
<PrimaryUOMQuantity>decimal</PrimaryUOMQuantity>
<UpdateId>string</UpdateId>
<UpdateDate>dateTime</UpdateDate>
<Status>string</Status>
<TotalNetamount>decimal</TotalNetamount>
<ItemName>string</ItemName>
<Description>string</Description>
<PeriodCode>string</PeriodCode>
<VendorCode>string</VendorCode>
<CategoryName>string</CategoryName>
<RecordStatus>string</RecordStatus>
<UOMDecimalRoundUp>short</UOMDecimalRoundUp>
<VendorUOMDecimalRoundUp>short</VendorUOMDecimalRoundUp>
<ConversionRate>decimal</ConversionRate>
<VendorId>short</VendorId>
<OTBDescripancy>string</OTBDescripancy>
</PurchaseOrderDetail>
</PurchaseOrderDetail>
<VendorName>string</VendorName>
<CustomField1>string</CustomField1>
<CustomField2>string</CustomField2>
<CustomField3>string</CustomField3>
</ApprovePurchaseOrderRequest>
</ApprovePurchaseOrder>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ApprovePurchaseOrderResponse xmlns="http://KMWare.ZMA.Inventory.PurchaseMgmt.ServiceContracts">
<ApprovePurchaseOrderResult>string</ApprovePurchaseOrderResult>
<totalTaxPOAmount>decimal</totalTaxPOAmount>
</ApprovePurchaseOrderResponse>
</soap:Body>
</soap:Envelope>