public class WarehousingConsignmentsController extends WarehousingBaseController
WarehousingConsignmentFacade
http://host:port/warehousingwebservices/consignmentsdataMapper, DEFAULT_CURRENT_PAGE, DEFAULT_FIELD_SET, DEFAULT_PAGE_SIZE, DEFAULT_SORT| Constructor and Description |
|---|
WarehousingConsignmentsController() |
| Modifier and Type | Method and Description |
|---|---|
void |
confirmPickupConsignment(java.lang.String code)
Request to confirm
ConsignmentModel's pickup |
void |
confirmShipConsignment(java.lang.String code)
Request to confirm
ConsignmentModel's shipping |
java.lang.String |
consolidatedPickConsignments(ConsignmentCodesWsDTO consignmentCodes)
Request to pick, if applicable, each
ConsignmentModel for the provided list of consignment codes
and generate a consolidated pick slip. |
protected java.util.Set<ConsignmentStatus> |
extractConsignmentStatuses(java.lang.String statuses)
Extract the set of
ConsignmentStatus from the request |
ConsignmentEntrySearchPageWsDto |
getConsignmentEntriesForConsignmentCode(java.lang.String code,
java.lang.String fields,
int currentPage,
int pageSize,
java.lang.String sort)
Request to get all
ConsignmentEntryModel for the given "code" |
ConsignmentWsDTO |
getConsignmentForCode(java.lang.String code,
java.lang.String fields)
Request to get
ConsignmentModel for the given code |
protected Validator |
getConsignmentReallocationValidator() |
ConsignmentSearchPageWsDto |
getConsignments(java.lang.String fields,
int currentPage,
int pageSize,
java.lang.String sort)
Request to get all
ConsignmentModel in the system |
ConsignmentSearchPageWsDto |
getConsignmentsByStatus(java.lang.String consignmentStatuses,
java.lang.String fields,
int currentPage,
int pageSize,
java.lang.String sort)
Request to get all
ConsignmentModel with certain consignment status(es) |
ConsignmentStatusListWsDTO |
getConsignmentStatuses()
Request to get all
ConsignmentStatus in the system |
DeclineReasonListWsDTO |
getDeclineReasons()
Request to get all
DeclineReason available in the system. |
java.lang.String |
getExportForm(java.lang.String code)
Request to get the export form of a
ConsignmentModel |
PackagingInfoWsDTO |
getPackagingInfo(java.lang.String code)
Request to get
PackagingInfoWsDTO for the given ConsignmentModel.CODE |
protected Validator |
getPackagingInfoDTOValidator() |
java.lang.String |
getReturnForm(java.lang.String code)
Request to get the return form of a
ConsignmentModel |
java.lang.String |
getReturnShippingLabel(java.lang.String code)
Request to get the return shipping label of a Consignment
|
java.lang.String |
getShippingLabel(java.lang.String code)
Request to get the shipping label of a
ConsignmentModel |
WarehouseSearchPageWsDto |
getSourcingLocationsForConsignmentCode(java.lang.String code,
java.lang.String fields,
int currentPage,
int pageSize,
java.lang.String sort)
Request to get all sourcing locations for the given "code"
|
java.lang.Boolean |
isConsignmentConfirmable(java.lang.String code)
Request to check if
ConsignmentModel can be confirmed |
void |
manuallyReleasePaymentCapture(java.lang.String code)
Request to manually release
ConsignmentModel from the waiting step after the payment capture has failed |
void |
manuallyReleaseTaxCommit(java.lang.String code)
Request to manully release
ConsignmentModel from the waiting step after a tax commit failure |
java.lang.String |
packConsignment(java.lang.String code,
boolean printSlip)
Request to pack a
ConsignmentModel and optionally generate its Pack Label |
java.lang.String |
pickConsignment(java.lang.String code,
boolean printSlip)
Request to pick a
ConsignmentModel and generate its Pick Slip |
void |
reallocateConsignment(ConsignmentReallocationWsDTO consignmentReallocationWsDTO,
java.lang.String code)
Request to reallocate a
ConsignmentModel to a new warehouse. |
void |
setConsignmentReallocationDTOValidator(Validator consignmentReallocationValidator) |
void |
setPackagingInfoDTOValidator(Validator packagingInfoDTOValidator) |
PaymentTransactionEntryWsDTO |
takePayment(java.lang.String code,
java.lang.String fields)
Request to take a payment for a
ConsignmentModel |
ConsignmentWsDTO |
updatePackagingInfo(PackagingInfoWsDTO packagingInfo,
java.lang.String code,
java.lang.String fields)
Request to update a
ConsignmentModel with a new Packaging information. |
createPageable, validatepublic ConsignmentSearchPageWsDto getConsignments(java.lang.String fields, int currentPage, int pageSize, java.lang.String sort)
ConsignmentModel in the systemfields - defaulted to DEFAULT but can be FULL or BASICcurrentPage - number of the current pagepageSize - number of items in a pagesort - sorting the results ascending or descendingConsignmentModelpublic ConsignmentWsDTO getConsignmentForCode(java.lang.String code, java.lang.String fields)
ConsignmentModel for the given codefields - defaulted to DEFAULT but can be FULL or BASICcode - code to get the required consignmentConsignmentModel details for the given codepublic WarehouseSearchPageWsDto getSourcingLocationsForConsignmentCode(java.lang.String code, java.lang.String fields, int currentPage, int pageSize, java.lang.String sort)
code - ConsignmentModel.CODE for the requested sourcing locationfields - defaulted to DEFAULT but can be FULL or BASICcurrentPage - number of the current pagepageSize - number of items in a pagesort - sorting the results ascending or descendingpublic ConsignmentSearchPageWsDto getConsignmentsByStatus(java.lang.String consignmentStatuses, java.lang.String fields, int currentPage, int pageSize, java.lang.String sort) throws WebserviceValidationException
ConsignmentModel with certain consignment status(es)consignmentStatuses - a list of valid ConsignmentStatus separated by ","fields - defaulted to DEFAULT but can be FULL or BASICcurrentPage - number of the current pagepageSize - number of items in a pagesort - sorting the results ascending or descendingConsignmentModel that complies with conditions aboveWebserviceValidationException - in case of passing a wrong ConsignmentStatuspublic ConsignmentStatusListWsDTO getConsignmentStatuses()
ConsignmentStatus in the systemConsignmentStatuspublic DeclineReasonListWsDTO getDeclineReasons()
DeclineReason available in the system.DeclineReasonpublic ConsignmentEntrySearchPageWsDto getConsignmentEntriesForConsignmentCode(java.lang.String code, java.lang.String fields, int currentPage, int pageSize, java.lang.String sort)
ConsignmentEntryModel for the given "code"code - for the requested consignment entriesfields - defaulted to DEFAULT but can be FULL or BASICcurrentPage - number of the current pagepageSize - number of items in a pagesort - sorting the results ascending or descendingConsignmentEntryModel fulfilling the above conditionspublic void confirmShipConsignment(java.lang.String code)
ConsignmentModel's shippingcode - consignment's code for the requested consignmentpublic void confirmPickupConsignment(java.lang.String code)
ConsignmentModel's pickupcode - ConsignmentModel.CODE for the requested consignmentpublic java.lang.Boolean isConsignmentConfirmable(java.lang.String code)
ConsignmentModel can be confirmedcode - ConsignmentModel.CODE for the requested consignmentpublic PackagingInfoWsDTO getPackagingInfo(java.lang.String code)
PackagingInfoWsDTO for the given ConsignmentModel.CODEcode - code of the consignment for which to get the packaging informationConsignmentModelpublic ConsignmentWsDTO updatePackagingInfo(PackagingInfoWsDTO packagingInfo, java.lang.String code, java.lang.String fields)
ConsignmentModel with a new Packaging information.packagingInfo - the PackagingInfoWsDTO to update the consignment withcode - ConsignmentModel.CODE for which to update the packaging informationfields - defaulted to DEFAULT but can be FULL or BASICConsignmentWsDTOpublic void reallocateConsignment(ConsignmentReallocationWsDTO consignmentReallocationWsDTO, java.lang.String code)
ConsignmentModel to a new warehouse.consignmentReallocationWsDTO - the dto containing entries to be reallocatedcode - ConsignmentModel.CODE to be reallocatedpublic java.lang.String pickConsignment(java.lang.String code,
boolean printSlip)
ConsignmentModel and generate its Pick Slipcode - ConsignmentModel.CODE for the requested consignmentprintSlip - Flag for backwards compatibility. Used to check if the pick slip will be generatedpublic java.lang.String consolidatedPickConsignments(ConsignmentCodesWsDTO consignmentCodes)
ConsignmentModel for the provided list of consignment codes
and generate a consolidated pick slip.consignmentCodes - a list of consignment codespublic java.lang.String packConsignment(java.lang.String code,
boolean printSlip)
ConsignmentModel and optionally generate its Pack Labelcode - ConsignmentModel.CODE for the request consignmentprintSlip - Flag for backwards compatibility. Used to check if the pack label will be generatedpublic java.lang.String getExportForm(java.lang.String code)
ConsignmentModelcode - ConsignmentModel.CODE for the request consignmentpublic java.lang.String getShippingLabel(java.lang.String code)
ConsignmentModelcode - ConsignmentModel.CODE for the request consignmentpublic java.lang.String getReturnShippingLabel(java.lang.String code)
code - consignment's code for the request consignmentpublic java.lang.String getReturnForm(java.lang.String code)
ConsignmentModelcode - ConsignmentModel.CODE for the request consignmentpublic PaymentTransactionEntryWsDTO takePayment(java.lang.String code, java.lang.String fields)
ConsignmentModelcode - ConsignmentModel.CODE for the request consignmentPaymentTransactionEntryWsDTOpublic void manuallyReleasePaymentCapture(java.lang.String code)
ConsignmentModel from the waiting step after the payment capture has failedcode - ConsignmentModel.CODE for the request consignmentpublic void manuallyReleaseTaxCommit(java.lang.String code)
ConsignmentModel from the waiting step after a tax commit failurecode - ConsignmentModel.CODE for the requested consignmentprotected java.util.Set<ConsignmentStatus> extractConsignmentStatuses(java.lang.String statuses)
ConsignmentStatus from the requeststatuses - "," separated ConsignmentStatusConsignmentStatusWebserviceValidationException - in case of passing a wrong ConsignmentStatusprotected Validator getPackagingInfoDTOValidator()
public void setPackagingInfoDTOValidator(Validator packagingInfoDTOValidator)
protected Validator getConsignmentReallocationValidator()
public void setConsignmentReallocationDTOValidator(Validator consignmentReallocationValidator)
Copyright © 2018 SAP SE. All Rights Reserved.