public class IntegrationImport
extends java.lang.Object
Constructor and Description |
---|
IntegrationImport() |
Modifier and Type | Method and Description |
---|---|
Transfer |
postTransfers(java.lang.String referenceNumber,
java.lang.String newReferenceNumber,
java.lang.String externalID)
Update ReferenceNumber.
|
javax.ws.rs.core.Response |
setAddress(java.util.List<Address> addresses)
Imports a list of addresses.
|
javax.ws.rs.core.Response |
setAllergen(java.util.List<Allergen> allergens)
Imports a list of allergens that can be used in the system.
|
javax.ws.rs.core.Response |
setAllergenLink(java.util.List<AllergenLink> allergenLinks)
Imports a list of links between allergens and commodities.
|
javax.ws.rs.core.Response |
setAnswer(java.util.List<Answer> answers)
Imports a list of answers which can be associated to Questions.
|
javax.ws.rs.core.Response |
setBulkPlatform(java.util.List<BulkPlatform> bulkPlatforms)
Import bulk dispense systems.
|
javax.ws.rs.core.Response |
setClient(java.util.List<Client> clients)
Imports a client record
A Client can be a Supplier or a Customer See Client for details |
javax.ws.rs.core.Response |
setCommodity(java.util.List<Commodity> commodities)
Import a list of commodities/ingredients for use in formulas.
|
javax.ws.rs.core.Response |
setCommodityGroup(java.util.List<CommodityGroup> commodityGroups)
Imports a commodity group.
|
javax.ws.rs.core.Response |
setCommodityGroupLink(java.util.List<CommodityGroupLink> commodityGroupLinks)
Imports commodity group links.
|
javax.ws.rs.core.Response |
setContainer(java.util.List<Container> containers)
Imports a list of containers for use in the system.
|
javax.ws.rs.core.Response |
setContainerLink(java.util.List<ContainerLink> containerLinks)
Imports a list of links between Containers and stock.
|
javax.ws.rs.core.Response |
setCustomField(java.util.List<CustomField> customFields)
Imports a custom field for use on labels.
|
javax.ws.rs.core.Response |
setCustomFieldLink(java.util.List<CustomFieldLink> customFieldLinks)
As with @setCustomField, This allows for the linkage to occur between a given commodity/formula to a particular custom field which has been predefined for printing on the label.
|
javax.ws.rs.core.Response |
setDeletePurchaseOrder(PurchaseOrder purchaseOrder) |
javax.ws.rs.core.Response |
setDeleteSalesOrder(SalesOrder salesOrder) |
javax.ws.rs.core.Response |
setDeleteTransfer(java.lang.String referenceNumber)
Delete a transfer record
See
Transfer |
javax.ws.rs.core.Response |
setFormula(java.util.List<Formula> formulas)
Import formulas/recipes with or without formula steps.
|
javax.ws.rs.core.Response |
setFormulaStep(java.util.List<FormulaStep> formulaSteps)
Imports the steps of a formula.
|
javax.ws.rs.core.Response |
setHazard(java.util.List<Hazard> hazards)
Imports a list of hazards for use in prompting operators during system operation.
|
javax.ws.rs.core.Response |
setHazardLink(java.util.List<HazardLink> hazardLinks)
Imports the linkage between Hazards and Commodities.
|
javax.ws.rs.core.Response |
setJob(java.util.List<Job> jobs)
Imports jobs for the production plan.
|
javax.ws.rs.core.Response |
setLabelFormatSet(java.util.List<LabelFormatSet> labelFormatSets)
Imports label format sets.
|
javax.ws.rs.core.Response |
setLabelFormatSetLink(java.util.List<LabelFormatSetLink> labelFormatSetLinks)
Imports the link between label format sets and label format types with associated label data.
|
javax.ws.rs.core.Response |
setLabelFormatType(java.util.List<LabelFormatType> labelFormatTypes)
Imports a list of label format types.
|
javax.ws.rs.core.Response |
setLabelPrinterType(java.util.List<LabelPrinterType> labelPrinterTypes)
Imports a label printer type.
|
javax.ws.rs.core.Response |
setLocation(java.util.List<Location> locations)
Imports a list of physical locations.
|
javax.ws.rs.core.Response |
setModifyPreBatch(java.util.List<PreBatch> preBatches) |
javax.ws.rs.core.Response |
setModifyPurchaseOrder(java.util.List<PurchaseOrder> purchaseOrders)
Imports purchase orders.
|
javax.ws.rs.core.Response |
setModifySalesOrder(java.util.List<SalesOrder> salesOrders)
Imports sales orders.
|
javax.ws.rs.core.Response |
setOrderInformation(java.util.List<OrderInformation> orderInformations)
Imports order information for use in purchase orders and sales orders.
|
javax.ws.rs.core.Response |
setPreBatch(java.util.List<PreBatch> preBatches)
Used for importing specific batch sizes rather than using the job import
This URI will allow for the third party to schedule batches in a specific manner rather than allowing the V5 system to use it's logic to schedule the individual batch sizes within a job See PreBatch for details |
javax.ws.rs.core.Response |
setPurchaseOrder(java.util.List<PurchaseOrder> purchaseOrders)
Imports purchase orders.
|
javax.ws.rs.core.Response |
setPurchaseOrderLine(java.util.List<PurchaseOrderLine> purchaseOrderLines)
Allows for the importing of purchase order lines.
|
javax.ws.rs.core.Response |
setQALink(java.util.List<QALink> qaLinks)
Imports a list of links between Questions/Messages and the events which triggers them.
|
javax.ws.rs.core.Response |
setReturnPurchaseOrder(java.lang.String lotNumber,
java.lang.String commodityCode,
java.lang.Double quantity) |
javax.ws.rs.core.Response |
setReturnSalesOrder(java.lang.String saleOrder,
java.lang.String lotNumber,
java.lang.Double quantity) |
javax.ws.rs.core.Response |
setSalesOrder(java.util.List<SalesOrder> salesOrders)
Imports sales orders.
|
javax.ws.rs.core.Response |
setSalesOrderLine(java.util.List<SalesOrderLine> salesOrderLines)
Allows for the importing of sales order lines.
|
javax.ws.rs.core.Response |
setSalesOrderLineCustomField(java.util.List<SalesOrderLineCustomField> salesOrderLineCustomFields)
Imports a list of sales order line custom field headers.
|
javax.ws.rs.core.Response |
setSalesOrderLineCustomFieldLink(java.util.List<SalesOrderLineCustomFieldLink> salesOrderLineCustomFieldLinks)
This method allows for the linkage of sales order lines to custom sales order fields for specific label printing instructions on a per sales order line basis.
|
javax.ws.rs.core.Response |
setSite(java.util.List<Site> sites)
Imports a header grouping for a list of locations.
|
javax.ws.rs.core.Response |
setSiteSupplier(java.util.List<SiteSupplier> siteSuppliers)
Imports a list of links between sites and clients (suppliers).
|
javax.ws.rs.core.Response |
setSiteSupplierCommodity(java.util.List<SiteSupplierCommodity> siteSupplierCommodities)
Imports a list of links between Sites and Supplier Commodities.
|
javax.ws.rs.core.Response |
setStock(java.util.List<Stock> stock)
Imports a stock header record.
|
javax.ws.rs.core.Response |
setStockAdjust(StockAdjustment stockAdjustment) |
javax.ws.rs.core.Response |
setStockLocation(java.util.List<StockLocation> stockLocations)
Imports a stock detail record.
|
javax.ws.rs.core.Response |
setSupplierCommodity(java.util.List<SupplierCommodity> supplierCommodities)
Imports a list of links between suppliers and commodities.
|
javax.ws.rs.core.Response |
setSupplierCommodityContainer(java.util.List<SupplierCommodityContainer> supplierCommodityContainers)
Imports a list of containers which are associated with a particular set of @setSupplierCommodity Supplier Commodity pairings.
|
javax.ws.rs.core.Response |
setTerminal(java.util.List<Terminal> terminals)
Import terminals with name and configuration.
|
javax.ws.rs.core.Response |
setTerminalLocation(java.util.List<TerminalLocation> terminalLocations)
Import a list of terminal location pairs.
|
javax.ws.rs.core.Response |
setTransfer(java.util.List<Transfer> transfers)
Imports a list of system transfer headers.
|
javax.ws.rs.core.Response |
setTransferLine(java.util.List<TransferLine> transferLines)
Imports a list of transfer lines.
|
javax.ws.rs.core.Response |
setUnit(java.util.List<WeightUnit> units)
Imports a list of WeighUnits.
|
javax.ws.rs.core.Response |
setUnitCommodity(java.util.List<UnitCommodity> unitCommodities)
Imports a list of units with associated commodities.
|
javax.ws.rs.core.Response |
setUser(java.util.List<User> users)
Imports operator profiles which use the system.
|
public javax.ws.rs.core.Response setPurchaseOrder(java.util.List<PurchaseOrder> purchaseOrders)
PurchaseOrder
purchaseOrders
- The list of purchase orders to be importedpublic javax.ws.rs.core.Response setPurchaseOrderLine(java.util.List<PurchaseOrderLine> purchaseOrderLines)
PurchaseOrder
.
A purchase order header must be defined and referenced prior to importing/modifying a line.
See PurchaseOrderLine
purchaseOrderLines
- A list of purchase order lines for importingpublic javax.ws.rs.core.Response setSalesOrder(java.util.List<SalesOrder> salesOrders)
SalesOrder
salesOrders
- The list of sales orders to be importedpublic javax.ws.rs.core.Response setSalesOrderLine(java.util.List<SalesOrderLine> salesOrderLines)
SalesOrder
.
A sales order header must be defined and referenced prior to importing/modifying a line.
See SalesOrderLine
salesOrderLines
- A list of sales order lines for importingpublic javax.ws.rs.core.Response setFormula(java.util.List<Formula> formulas)
Formula
formulas
- A list of formulas for importpublic javax.ws.rs.core.Response setJob(java.util.List<Job> jobs)
Job
jobs
- List of jobs for importingpublic javax.ws.rs.core.Response setCommodity(java.util.List<Commodity> commodities)
Commodity
commodities
- A list of commodities to importpublic javax.ws.rs.core.Response setSupplierCommodity(java.util.List<SupplierCommodity> supplierCommodities)
SupplierCommodity
supplierCommodities
- A list of links between suppliers and commoditiespublic javax.ws.rs.core.Response setSupplierCommodityContainer(java.util.List<SupplierCommodityContainer> supplierCommodityContainers)
SupplierCommodityContainer
supplierCommodityContainers
- A list of supplier commodity container linkspublic javax.ws.rs.core.Response setTerminal(java.util.List<Terminal> terminals)
Terminal
terminals
- Terminals for importpublic javax.ws.rs.core.Response setTerminalLocation(java.util.List<TerminalLocation> terminalLocations)
TerminalLocation
terminalLocations
- A list of terminal-location pairs. For example, Terminal 1 - Location A, Terminal 1 - Location B.public javax.ws.rs.core.Response setCustomField(java.util.List<CustomField> customFields)
CustomField
customFields
- A list of custom field headers for importpublic javax.ws.rs.core.Response setCustomFieldLink(java.util.List<CustomFieldLink> customFieldLinks)
CustomFieldLink
customFieldLinks
- A list of links between a custom field name and a commodity codepublic javax.ws.rs.core.Response setCommodityGroup(java.util.List<CommodityGroup> commodityGroups)
CommodityGroup
commodityGroups
- A list of commodity group headers for importingpublic javax.ws.rs.core.Response setCommodityGroupLink(java.util.List<CommodityGroupLink> commodityGroupLinks)
CommodityGroupLink
commodityGroupLinks
- A list of commodity group links for importingpublic javax.ws.rs.core.Response setBulkPlatform(java.util.List<BulkPlatform> bulkPlatforms)
BulkPlatform
bulkPlatforms
- A list of bulk platforms for importpublic javax.ws.rs.core.Response setHazard(java.util.List<Hazard> hazards)
Hazard
hazards
- A list of hazards for importpublic javax.ws.rs.core.Response setHazardLink(java.util.List<HazardLink> hazardLinks)
HazardLink
hazardLinks
- A list of hazards with associated commodity linkspublic javax.ws.rs.core.Response setUnitCommodity(java.util.List<UnitCommodity> unitCommodities)
UnitCommodity
unitCommodities
- A list of units with associated specific commodity linkspublic javax.ws.rs.core.Response setSalesOrderLineCustomField(java.util.List<SalesOrderLineCustomField> salesOrderLineCustomFields)
SalesOrderLineCustomField
salesOrderLineCustomFields
- A list of sales order line custom fields links for savingpublic javax.ws.rs.core.Response setSalesOrderLineCustomFieldLink(java.util.List<SalesOrderLineCustomFieldLink> salesOrderLineCustomFieldLinks)
SalesOrderLineCustomFieldLink
salesOrderLineCustomFieldLinks
- A list of sales order line custom field links for importpublic javax.ws.rs.core.Response setQALink(java.util.List<QALink> qaLinks)
QALink
qaLinks
- A list of links between questions, events and commodities with specified parameterspublic javax.ws.rs.core.Response setTransfer(java.util.List<Transfer> transfers)
Transfer
transfers
- A list of transfer headers to be importedpublic Transfer postTransfers(java.lang.String referenceNumber, java.lang.String newReferenceNumber, java.lang.String externalID)
Transfer
referenceNumber
- The transfer order reference number and the new referenceNumberpublic javax.ws.rs.core.Response setTransferLine(java.util.List<TransferLine> transferLines)
TransferLine
transferLines
- A list of transfer lines, for example Commodity A 50LB, Facility B, Transfer Order # 1234.public javax.ws.rs.core.Response setDeleteTransfer(java.lang.String referenceNumber)
Transfer
referenceNumber
- The transfer order reference numberpublic javax.ws.rs.core.Response setSite(java.util.List<Site> sites)
Site
sites
- A list of sites for importpublic javax.ws.rs.core.Response setSiteSupplier(java.util.List<SiteSupplier> siteSuppliers)
SiteSupplier
siteSuppliers
- A list of site supplier linkspublic javax.ws.rs.core.Response setSiteSupplierCommodity(java.util.List<SiteSupplierCommodity> siteSupplierCommodities)
setSiteSupplier(List)
to the next level by linking these Supplier/Site pairs with Commodities.
This works in the same way as setSupplierCommodity(List)
but in a site specific manner.
See SiteSupplierCommodity
siteSupplierCommodities
- A list of site_supplier and commodities pairs.public javax.ws.rs.core.Response setOrderInformation(java.util.List<OrderInformation> orderInformations)
OrderInformation
orderInformations
- A list of order information for use with orderspublic javax.ws.rs.core.Response setLocation(java.util.List<Location> locations)
Location
locations
- A list of locations to importpublic javax.ws.rs.core.Response setUnit(java.util.List<WeightUnit> units)
WeightUnit
units
- A list of unitspublic javax.ws.rs.core.Response setAddress(java.util.List<Address> addresses)
Address
addresses
- A list of addresses linked to clientspublic javax.ws.rs.core.Response setAllergenLink(java.util.List<AllergenLink> allergenLinks)
setHazardLink(List)
.
It allows for the assignment of allergens to particular commodities in a many-to-many link.
See AllergenLink
allergenLinks
- A list of allergens paired with associated commoditiespublic javax.ws.rs.core.Response setAllergen(java.util.List<Allergen> allergens)
setAllergenLink(List)
See Allergen
allergens
- A list of allergens to be usedpublic javax.ws.rs.core.Response setAnswer(java.util.List<Answer> answers)
Answer
answers
- A list of possible answers to Questionspublic javax.ws.rs.core.Response setFormulaStep(java.util.List<FormulaStep> formulaSteps)
setFormula(List)
can be used to import the header and the lines, this method can be used to just update lines.
See FormulaStep
formulaSteps
- A list of formulasteps to updatepublic javax.ws.rs.core.Response setUser(java.util.List<User> users)
User
users
- A list of users to importpublic javax.ws.rs.core.Response setContainer(java.util.List<Container> containers)
Container
containers
- A list of containers to importpublic javax.ws.rs.core.Response setContainerLink(java.util.List<ContainerLink> containerLinks)
ContainerLink
containerLinks
- A list of containerLinks for importpublic javax.ws.rs.core.Response setLabelFormatType(java.util.List<LabelFormatType> labelFormatTypes)
LabelFormatType
labelFormatTypes
- A list of label format types to importpublic javax.ws.rs.core.Response setLabelFormatSet(java.util.List<LabelFormatSet> labelFormatSets)
LabelFormatSet
labelFormatSets
- A list of label format setspublic javax.ws.rs.core.Response setLabelFormatSetLink(java.util.List<LabelFormatSetLink> labelFormatSetLinks)
LabelFormatSetLink
labelFormatSetLinks
- A list of labels for a given format set and label type.public javax.ws.rs.core.Response setLabelPrinterType(java.util.List<LabelPrinterType> labelPrinterTypes)
LabelPrinterType
labelPrinterTypes
- A list of label printer types for use in the V5 Systempublic javax.ws.rs.core.Response setStock(java.util.List<Stock> stock)
StockLocation
for the stock detail which links the stock with a Location
.stock
- A list of stock header datapublic javax.ws.rs.core.Response setStockLocation(java.util.List<StockLocation> stockLocations)
Stock
and Location
tables to provide an assessment of how much of which lot is in which location.
See Stock
for the stock header.
See Location
for the location.stockLocations
- A list of stock detail datapublic javax.ws.rs.core.Response setClient(java.util.List<Client> clients)
Client
for detailsclients
- A list of clientspublic javax.ws.rs.core.Response setPreBatch(java.util.List<PreBatch> preBatches)
PreBatch
for detailspreBatches
- A list of PreBatchespublic javax.ws.rs.core.Response setModifyPurchaseOrder(java.util.List<PurchaseOrder> purchaseOrders)
PurchaseOrder
purchaseOrders
- The list of purchase orders to be importedpublic javax.ws.rs.core.Response setModifySalesOrder(java.util.List<SalesOrder> salesOrders)
SalesOrder
salesOrders
- The list of sales orders to be importedpublic javax.ws.rs.core.Response setModifyPreBatch(java.util.List<PreBatch> preBatches)
public javax.ws.rs.core.Response setReturnPurchaseOrder(java.lang.String lotNumber, java.lang.String commodityCode, java.lang.Double quantity)
public javax.ws.rs.core.Response setReturnSalesOrder(java.lang.String saleOrder, java.lang.String lotNumber, java.lang.Double quantity)
public javax.ws.rs.core.Response setDeletePurchaseOrder(PurchaseOrder purchaseOrder)
public javax.ws.rs.core.Response setDeleteSalesOrder(SalesOrder salesOrder)
public javax.ws.rs.core.Response setStockAdjust(StockAdjustment stockAdjustment)