Sunteți pe pagina 1din 7

7/22/2015

IBMWebSphereCommerceServer:WebsphereCommerceOrderSubsystem
0

More NextBlog

IBMWebSphereCommerceServer
ExploringIBMWebSphereCommerceServerFeaturesandCapabilities.

WebsphereCommerceOrderSubsystem
Order Management subsystem is a component of the WebSphere Commerce Server that provides shopping carts, order capture, order fulfillment, inventory, and
paymentfunctionsupport.
FirstletusgothroughconceptofRequisitionListsinWebsphereCommerce.

RequisitionLists
Requisitionlistiscreatedfororderingitemsfrequently.TherecanbetwotypesofRequisitionlists.
1.PrivateRequisitionListThiscanbeviewedandmodifiedbytheuserwhocreatesit.
2.SharedRequisitionListThiscanbeviewedandusedbyusersinthesameorganization.
RequisitionlistsarestoredinORDERStable.InORDERStableSTATUScolumnisusedtoidentifytherequisitionlists.AvalueofYindicatesthatitisaprivaterequisition
list.AvalueofZindicatesthatitisasharablerequisitionlist.IfyouneedtochangethetypeofrequisitionlistyoumustcalltheRequisitionListUpdateCmd.
Userscanadditemsfromrequisitionlisttoorderandrequisitionlistremainunaltered.
CommandsUsedformanagingRequisitionListareasfollows
RequisitionListCreateCmd
Thiscontrollercommandisusedforcreatinganemptyrequisitionlist.
RequisitionListUpdateCmd
Thiscommandchangesarequisitionlisttypefromprivatetoshared,orfromsharedtoprivate.Italsoupdatesthebillingandpaymentinformation.
RequisitionListItemUpdateCmd
Thiscommandadds,updates,anddeletesitemsinarequisitionlist.
RequisitionListDisplayCmd
Thiscommanddisplaysoneormorerequisitionlists.
RequisitionListDeleteCmd
Thiscommanddeletesoneormorerequisitionlists.
RequisitionListCopyCmd
Thiscommandcopiesanexistingorderorrequisitionlisttoanewrequisitionlist.
RequisitionListSubmitCmd
This command submits a requisition list for order processing. This command first copies the requisition list and creates a new pending order by calling the
OrderItemUpdatecommand.ThenitcallstheOrderPreparecommandtopreparetheorderandredirecttotherespectiveURL.
NowLetusgothroughtheconceptofwishlist/InterestItemListinWCS

Wishlist/InterestItemList
WishListorinterestitemlistisusedforkeepingtheitemswhichcanbeaddedtoshoppingcartatalaterpointoftime.INWCS7Featurepack1GiftListSOAservicehas
beenaddedtosupportbothmultiplewishlistandgiftcenterfunction.Forgiftregistries,thereisnochangetotheunderlyingdatabaseschema..

AddtowishlistFunctionality
InthecaseofsinglewishlistitcallstheInterestItemAddanditpopulatestheIITEMLIST,IITEMtables.
InthecaseofmultiplewishlistitcallstheGiftCenterFacadeClient.createGiftList()followedbycallingGiftCenterFacadeClient.addItem().ItpopulatestheGRGFTREG,
GRGFTITMtables.

http://deepakpadmakumar.blogspot.in/p/ibmwcsordersubsystem.html

1/7

7/22/2015

IBMWebSphereCommerceServer:WebsphereCommerceOrderSubsystem

RemovefromwishlistFunctionality
In the case of single wish list it calls the InterestItemDeleteand it updates the IITEM Table to remove the item. In the case of multiple wish lists it calls the
GiftCenterFacadeClient.updateItem()toremoveitemfromGRGFTITMtable.
CommandsUsedformanagingwishListareasfollows
InterestItemAddCmd
Thiscommandaddsoneormoreproducts,oritems,orboth,tooneormoreinterestitemlists.
InterestItemDeleteCmd
Thiscommanddeletescatalogentriesfromoneormoreinterestitemlists.
InterestItemListDeleteCmd
Thiscommanddeletesthespecifiedinterestitemlistsandallitemsinthem.
InterestItemDisplayCmd
Thiscommanddisplaysallthecatalogentriesanditemsinthespecifiedinterestitemlistorlists.
SetInterestItemListCmd
Thiscommandsetsorresetsinterestitemlistsascurrent.Invokingthiscommandistheonlywaytosetorresetaninterestitemlistas"current".Onlyregisteredusers
canexecutethiscommand.
InterestItemListCopyCmd
Thiscommandcreatesorupdatesaninterestitemlistbycopyinginterestitemsfromoneinterestitemlisttoanother.
WishList/InterestItemListTables
SingleWishListFeaturetables
IITEMLIST
EachrowinthistablerepresentsanInterestItemList.
IITEM
EachrowofthistablerepresentsanIIteminanIItemList.
CIITEMLIST
EachrowinthistablerepresentstherelationshipbetweenanIItemlistandamembertowhichitisthecurrentlist.
MultipleWishListFeaturetables

GRGFTREG
Thistablestoresgiftregistryandwishlistprofileinformation.
GRGFTITM
Thistablesstoresinformationaboutagiftregistryandwishlistitem.
GRPERATTR
Thistablestorespersonalizationattributesforgiftregistryandwishlistitems.
FollowbelowstepstoDebugwishlistfeaturesbyenablingTrace
Enablebelowtracestringsforexistingsinglewishlistfeature
com.ibm.websphere.commerce.WC_CATALOG

TOTALPAGEVIEWS

EnablebelowTracestringsformultiplewishlistfeature
com.ibm.commerce.giftcenter.*
25

OrderSubsystemFlowexplainedusingServiceOrientedIntegration(SOI)Framework
AddToCart
UserclicksonaddtocartitcallstheOrderFacadeClientaddOrderItem()methodFromthereOrderItemAddCmdwillbeinvoked.OrderItemAddCmdwillinturncallthe
OrderCalculateandfromthereOrderItemDisplayCmdisinvoked.OrderItemDisplayCmdwillcalltheOrderItemDisplayViewwhichwilldisplaytheshoppingcartwiththe
newlyaddeditem.
UpdateCartItem
User changes quantity and clicks on update button it will call the OrderFacadeClient updateOrderItem() method.From there OrderItemUpdateCmd will be invoked.
OrderItemUpdateCmdwillinturncalltheOrderCalculateandthenOrderItemDisplayCmdisinvoked.OrderItemDisplayCmdwillcalltheOrderItemDisplayViewwhichwill
displaythemodifiedshoppingcart.

SEARCHHEREORGOTO
SEETHECOMPLETELIST

TRANSLATE

SelectLanguage
Poweredby

Translate

DeleteCartItem
User clicks on delete control will go to OrderFacadeClient updateOrderItem() method .From there OrderItemUpdateCmd will be invoked. OrderItemUpdateCmd will
inturn call the OrderCalculate and from there OrderItemDisplayCmd is invoked. The OrderItemDisplayCmd will call the OrderItemDisplayView which will display the
modifiedshoppingcart.
PAGES

Checkout
UserclicksoncheckoutitwillcallOrderFacadeClientupdateOrderItem()method.FromthereOrderItemUpdateCmdwillbeinvoked.OrderItemUpdateCmdwillinturn
calltheOrderCalculateandthenforwardtotheOrderShippingBillingView.
EnterShipping\BillingAddress

http://deepakpadmakumar.blogspot.in/p/ibmwcsordersubsystem.html

Home

WebsphereCommerceOrd

WebsphereComerceMarketin
SubSystem

2/7

7/22/2015

IBMWebSphereCommerceServer:WebsphereCommerceOrderSubsystem

User enters shipping address and submit then control will go to OrderFacadeClient updateOrderShippingInfo() method. From there OrderItemUpdate command is
called.OrderItemUpdatewillcalltheOrderCalculateandwillforwardtoOrderShippingBillingView.
EnterPaymentInformation
User Enters Payment information and press confirm order ,the client calls the order facade client method prepareOrder().This is followed by OrderFacdeClient
addPaymentInstruction() method that invokes PIAddCmd and then forward to OrderSummaryView.If user updates the payment information OrderFacdeClient
updatePaymentInstruction() method is called which inturn will call the PIEditCmd and will forward to OrderSummaryView. If user remove the payment information
orderFacdeClientremovePaymentInstruction()methodiscalledwhichinturnwillcallthePIRemoveCmdandwillforwardtoOrderSummaryView.
Place\SubmitOrder
UserclicksonplaceorsubmitorderOrderFacadeClientprocessOrder()methodwillbecalled.ThisinturnwillcalltheOrderProcesscommandandwillforwardtothe
OrderShippingBillingConfirmationView.

WebsphereCommerce

WebsphereCommerceTradin

WebsphereCommerceTradin

WebsphereCommerceCatalo
WebsphereCommerce
WCSwithDojo
JsonObject
DB2\Oracle\Derby

WebsphereCommerceInterv

AddBillingAddresssectiond
PaneinAuroraStore
SQL

ReadthepostonCartMergeWhileLogintoseemoredetails
POPULARPOSTS

MultiplePendingOrders

WebsphereCommerceAjaxF
WebSphereCommerceAJAX
theDojoAJAXandeventsAP
callaWebSphereComme...

Multiplependingordersareusualysupportedinab2bstoresforeg:EliteStore(SavedOrderList)butwecanuseitinb2caswellwithsomecustomizations.

WebsphereCo
TheAttributeD
managementto
providebusine

SavedOrderList
CustomerscanusetheSavedOrderslisttoviewtheircurrentorder,ortoviewalistoftheirsavedordersandperformactionsonthoseorders.
Custmizationstomakesurethattherearemultiplependingordersforasinglecustomer
UsuallyOrderItemAddbydefaulttakesorderId=.asinput,whichmeansaddcurrentitemtoexistingpendingcart,insteadifwechangeittoorderId=*whileinvoking
addtocart,anyguestorregistereduserwillhavemultiplependingcartseachtimetheydoanaddtocart.
CPENDORDERtablerowindicatesthatanorderismarkedascurrentforacustomerinastore,ifitsstatusis"P"(Pending).

WebsphereCommerceBODG
DataServicecall
wcf:getDataServicecallisu
worksinthebelowsteps.
servicela...

Webspherecom
DynaCacheis
ofwebspherea
cachingneeds
...

SetPendingOrderCmdImplSetapendingorderasthecurrentpendingorder.

CompleteOrderFlowcommandsarelistedbelow
OrderItemAddCmdImpl
Thiscommandaddsitemsorproductstotheshoppingcart.OrderItemAddCmdImplcallsthebelowcommandsinthissequence.
1)ResolveSkuCmdImpl
2)OrderCreateCmd
3)ResolveOrderItemPriceCmd
4)UpdateShippingAddressCmd
5)ValidateTradingPaymentCmd
6)DoInventoryActionCmd(CheckInventory)
7)UpdateShipInfoCmdImpl
8)RaiseOrderEventCmdImpl
9)OrderCalculateCmd
10)ExtendedOrderItemProcessCmd
1)ResolveSkuCmdImpl
Thiscommandfindsthetypeofcatalogentry.IfitisapackagethenPackageResolveSkuCmdiscalled.Ifitisaproductthenthiscommanddeterminestheattributes
requiredtoresolvetheproducttoanorderableitem.IfattributesaremissingthenErrorMissingAttributeErrorCmdorErrorProductAttributeErrorCmdiscalled.
2)OrderCreateCmd
Thisordercommandisusedtocreateanordercontainerwithnolineitems.
3)ResolveOrderItemPriceCmd
This command is used to resolve price for a group of order items from one order.This command calculates the best price for the input OrderItems. It calls
GetContractUnitPriceCmd or GetContractSpecialPriceCmd task command to calculate the price. If GetContractUnitPriceCmd/GetContractSpecialPriceCmd is not
available, it calls GetBaseUnitPriceCmd/GetBaseSpecialPriceCmd. If input trading agreements and/or offers are specified, they will be used providing they are valid.
Otherwise,eligibletradingagreementswillbeobtained.
4)UpdateShippingAddressCmd
ThisOrdertaskcommandisusedtoupdatetheshippingaddressforthepassedorderitems

WebsphereCo
Integration(SO
Earlierversions
basedonSOI
versionsofthe
framewo...

WebsphereCo
Part1
OrderCalculate
invokespromot
PromotionEngi
theimpleme...

WebsphereCommerceRestS
ServiceCallsfromjavaclass
ReadthepostonWebsphere
tillWCS7Featurepack6
remainingsectionofth...

WebsphereCommerceSearc
URL
Searchengines,suchasGoo
ofthemostimportantchanne
customers.Tobuildal...

WebsphereCommerceATP
ATPInventoryTheATPinven
allocatestockfromexistingin
expectedinventory.Yo...

ForwardViewandRedirectV
RedirectViewInthecaseof
fromacommandtheViewor
transactionHenceifan...

5)ValidateTradingPaymentCmd
ValidateTradingPaymentCmdiscalledtovalidatethatthepaymentmethodiscompatiblewiththetradingagreement
LABELS

6)DoInventoryActionCmd(CheckInventory)
IfdoInventory=Y,callDoInventoryActionCmdtoupdatethefulfillmentcentersandcheckforavailableinventory

AccessBeaninWebsphereC

7)UpdateShipInfoCmdImpl
CallUpdateShipInfoCmdtoupdatetheshippinginstructions,shippingaccountnumberandshippingchargetype

CartMergewhileUserLogon

8)RaiseOrderEventCmdImpl
CallRaiseOrderEventCmdtoraiseORDERITEM_CREATION_EVENTorORDERITEM_UPDATE_EVENT

http://deepakpadmakumar.blogspot.in/p/ibmwcsordersubsystem.html

BuyableFlag\PublishedFlag
WebSphereCommerce

ClusteringinWebsphereCom

com.ibm.commerce.tools.cont
dDataBeangetUserOrgsCMN

3/7

7/22/2015

IBMWebSphereCommerceServer:WebsphereCommerceOrderSubsystem

exceptionhasoccurredduring

9)OrderCalculateCmd
IftheflagcalculateOrderissetthenCallOrderCalculateCmdtodocalculationsthatarebasedonthecalUsageIdspassedin

Contentspotandcontent

10)ExtendedOrderItemProcessCmd
CallExtendOrderItemProcessCmdtoexecuteanycustomizationlogic

DataBeaninWebsphereCom

ControllerCommandsvsTask
Commerce

DOMInventoryinWebsphere

DoubleclickhandlinginWeb

OrderItemUpdateCmdImpl
OrderItemUpdateCmdImplcommandupdatesorderitemsinanexistingOrder.OrderItemUpdateCmdImplcallsthefollowingcommandsinsequence

EnableLogginginWebsphere

1)DoInventoryActionCmd(ReserveInventory)
2)AddOrderItemComponentsCmd
3)ResolveOrderItemPriceCmd
4)UpdateShippingAddressCmd
5)ValidateTradingPaymentCmd
6)DoInventoryActionCmd(CheckInventory)
7)updateShipInfoCmdImpl
8)RaiseOrderEventCmdImpl
9)OrderCalculateCmd
10)ExtendedOrderItemProcessCmd

Enablingguestbrowsing\sho
Store)WebsphereCommerce

1)DoInventoryActionCmd(Action:ReserveInventory)
InATPinventorysystemsitcallsthecommandReserveInventoryCmd.InNonATPinventorysystemscallstheUpdateInventoryCmd.
ReserveInventoryCmd
Thiscommandgetthequantityavailablefortherequesteditem,store,andfulfillmentcenter.Thiscommandchecktomakesurethatthequantityavailableisgreateror
equaltothequantityrequested.Ifitissuccessful,obtaintheITEMFFMCTRrowandincrementtheitemffmctr.qtyreservedbytherequestedquantity,theninsertanew
rowintotheINVRESERVEtable.

Enablingcrosssiterequestfo
Commerce

Enablingmultiplelogonsessi
Commerce7FeaturePack8

ERRORSRVE0026E:[Servl
com.ibm.commerce.promotion
otionSystemException:

ERRORSRVE0255E:AWe
hasnotbeendefinedERROR
Group/VirtualHosttohandle
Webspherecommerce

Error:
com.ibm.etools.j2ee.common
eFileException:Afiledoesno
havinguri:

ExceptionHandlinginWebsp

Extendedsitescatalogentry
WebsphereCommerce(WCS

ExtendedSitesinWebsphere

ForwardViewandRedirectV

UpdateInventoryCmd
UpdateInventory let you update inventory for items. There are two ways to update inventory.Set one or list of order items by calling setOrderItem method.Set one
catalogentrybycallingsetCatEntryId,setQuantityandsetStoreIdmethods.MethodsetQuantityMeasureisoptional.

IBMWCSPriceOveride/Fulf
PrepareFlags

2)AddOrderItemComponentsCmd
Thiscommandcreatesthecomponentsthatareassociatedwithacompositeorderitem.Itderivesthecomponentlistinoneoftwoways
1.BymakinguseofalistofCatalogEntriesthatarepassedin
2.Getthelistofcomponentsbyfindingalloftheunassignedcomponentsthroughthegivenconfigurationid.

ImplementdifferentCSSStyl
anextendedsitesmodelinW

3)ResolveOrderItemPriceCmd
Thiscommandiscalledtocalculatethebestpriceandupdateordertotal.
4)UpdateShippingAddressCmd
ThisOrdertaskcommandisusedtoupdatetheshippingaddressfortheorderitemspassedintherequest.

IdentifyFixPack\FeaturePac
Commerce7

IncreasingPagingLimitinWe
ManagementCenter

IssuewhilelaunchingManage
WebGroup/VirtualHosttoha
defined.

javax.servlet.ServletException
loadedStoresRequestServle

JSTLtagsusedinWebsphere

KryptoParameterinWebsphe

5)ValidateTradingPaymentCmd
ValidateTradingPaymentCmdiscalledtovalidatethatthepaymentmethodiscompatiblewiththetradingagreement.
6)DoInventoryActionCmd(CheckInventory)

Log4JImplementationin

CheckInventoryallowsustocheckinventoryforitems.Therearetwowaystocheckinventory.
1)SetoneorlistoforderitemsbycallingsetOrderItemmethod.
2)SetonecatalogentrybycallingsetCatEntryId,setQuantityandsetStoreIdmethods.MethodsetQuantityMeasureisoptional.

MultivalueAttributesinWebs
featurepack5)

7)updateShipInfoCmdImpl
CallUpdateShipInfoCmdtoupdatetheshippinginstructions,shippingaccountnumberandshippingchargetype.

OrderSubmitEventinWebsph

MerchantKeyinWebsphereC

MethodsavailableinaContro
Commerce

OptimisticLockinginWebsps
OPTCOUNTERColumn
OutOfMemoryExceptionwhil
publishinWebsphere

8)RaiseOrderEventCmdImpl
CallRaiseOrderEventCmdtoraiseORDERITEM_CREATION_EVENTorORDERITEM_UPDATE_EVENT.

PriceListinWebsphereCom

9)OrderCalculateCmd
IftheflagcalculateOrderissetCallOrderCalculateCmdtodocalculationsthatarebasedonthecalUsageIdspassedin.

PublishingastoreusingAdm
commerce

10)ExtendedOrderItemProcessCmd
CallExtendOrderItemProcessCmdtoexecuteanycustomizationlogic.
OrderItemDeleteCmdImpl
ThiscommanddeleteorderitemsbasedonorderItemIdorcatEntryIdspecified.OrderItemDeleteCmdImplcallsbelowcommandsinsequence.
1)DoInventoryActionCmd(ReserveInventory)
2)PrepareShipInfoCmd
3)ReolveOrderItemPriceCmd
4)OrderCalculateCmd
1)DoInventoryActionCmd(Action:ReserveInventory)
InATPinventorysystemsitcallsthecommandreserveInventoryCmd.InNonATPinventorysystemscallstheupdateInventoryCmd.
ReserveInventoryCmd
Get the quantity available for the requested item, store, and fulfillment center.Check to make sure that the quantity available is greater or equal to the quantity
requested.Iftheaboveeditissuccessful,obtaintheITEMFFMCTRrowandincrementtheitemffmctr.qtyreservedbytherequestedquantity,theninsertanewrowinto

http://deepakpadmakumar.blogspot.in/p/ibmwcsordersubsystem.html

Promotionvalidationforattrib
WebsphereCommerce

Publishingextendedsitesmo
Part1

Publishingextendedsitesmo
Part2
ReadSessionData

ReloadIntervalinWebsphere

RequestPropetiesandRespo

ResetWebsphereCommerce

SARfilesmissinginAdminco
WebsphereCommerce

SearchBasedNavigationSto
Commerce

SessionBeans/EntityBeans/
Commerce

SitemapGenerationinwebsp

4/7

7/22/2015

IBMWebSphereCommerceServer:WebsphereCommerceOrderSubsystem

theINVRESERVEtable.
updateInventoryCmd
UpdateInventory let you update inventory for items. There are two ways to update inventory.Set one or list of order items by calling setOrderItem method.Set one
catalogentrybycallingsetCatEntryId,setQuantityandsetStoreIdmethods.MethodsetQuantityMeasureisoptional.
2)PrepareShipInfoCmd
PerformaverificationbetweentheSHIPINFOtableandtheORDERITEMStableandcheckfororphanedSHIPINFOrecords.Anyorphanedrecordswillberemoved.
3)ReolveOrderItemPriceCmd
Thiscommandisusedtoresolvepriceforagroupoforderitemsfromoneorder.ThiscommandcalculatesthebestpricefortheinputOrderItems.Thiscommandcalls
theGetContractUnitPriceCmd/GetContractSpecialPriceCmdtaskcommandtocalculatetheprice.
IfGetContractUnitPriceCmd/GetContractSpecialPriceCmdisnotavailable,itcallstheGetBaseUnitPriceCmd/GetBaseSpecialPriceCmd.Ifinputtradingagreementsand/or
offersarespecified,theywillbeusedprovidingtheyarevalid.Otherwise,eligibletradingagreementswillbeobtained.
4)OrderCalculateCmd
IftheflagcalculateOrderissetCallOrderCalculateCmdtodocalculationsthatarebasedonthecalUsageIdspassedin.

OrderPrepareCmd(ControllerCommand)
Prepares an order by determining its prices, discounts, shipping charges, and taxes. If an order reference number is not specified, all current pending orders will be
preparedforthecurrentcustomeratthegivenstore.Theremerge,merge,check,allocate,backorderandreverseparametersareapplicableonlyifATPinventoryis
enabled(STORETableINVENTORYSYSTEMcolumnvalue1).
OrderPrepareCmdcallsthefollowingcommandsinsequence
1.PrepareOrderCmd(TaskCommand)
2.ValidateShippingAdjustmentCmd

SOIFrameworkMappingSe
ControllerCommandsinWeb
SolrSearchCustomization
WebsphereCommerce

SolrSearchinWebsphereCo
(UsingRestServices)

StagingproputilityinWebsph

Stepsinmodifyingfieldtypes
tableinWebsphereCommerc

StepstoIntegrateJavaDeco
Commerce

SubsystemsinWebsphereCo

ViewingBODmessagesinW
TCP/IPMonitor
WebsphereCommerce
WebsphereCommerce

WebsphereComercePriceRu

WebsphereComercewithLD
AccessProtocol)

WebSphereCommerce
RationalApplicationDevelope
Webspherecommerce

WebSphereCommerce
Commercev7.0StoreFunctio
WebsphereCommerce
WebsphereCommerce

PrepareOrderCmd(TaskCommand)
PrepareOrderCmdtaskcommandpreparesanorderbydetermineitsprices,discounts,shippingcharges,andtaxesforanorder.Thiscommandwillalsolocktheorderto
indicatethatitisreadyforsubmissionfortheOrderProcesscommand.Thelockcanbereseteitherbyexpiry,bychangingtheOrderduringupdateordeleteoperations
orbycallingOrderUnlockCmd.TheexpiryperiodforalockisstoredinSTOREtablecolumnQUOTEGOODFOR.
Thiscommandremovesgeneratedorderitembasedontheprepareflagssetting(PREPAREFLAG=1whichmeansgenerated)inORDERITEMStable.Thiscommandwill
alsocheckifallorderitemsarebuyableandthrowexceptionsiftheyarenotbuyable.UpdateShippingAddressCmdiscalledtofindtheappropriateshippingaddressfor
alltheorderitemsandupdatethemforeachorderitem.ForadynamickitValidateDynamicKitConfigurationCmdiscalledtodovalidation.ResolveOrderItemPriceCmdis
calledtocalculatethebestpriceandupdateordertotal.DoInventoryActionCmdiscalledforinevntoycheckandallocation.CalculateOrderCmdiscalledforcalculationof
charges.

WebsphereCommerce
Framework

ValidateShippingAdjustmentCmd
This Order task command is used to find any inconsistencies in the order's shipping adjustments. If new items have been added then the value returned from
hasShoppingCartChanged()willbetrueelseitwillbefalse.

WebsphereCommerceAttribu

OrderProcessCmd(ControllerCommand)

WebSphereCommerceBuild

Thiscommandsubmitsanorderforprocessing.TheordermustbelockedbytheOrderPreparecommandbeforecallingthiscommand.

OrderProcessCmdcallsthefollowingcommandsinthebelowsequence
1)PIAddCmd
Thiscontrollercommandisusedtocreateanewpaymentmethodtoanorder.
2)ValidatePaymentMethodCmd
ThiscommandcheckswhetherthepaymentmethodtobeaddedcomplywiththeBuyOnlinePickInStore(BOPIS)rules.
3)ProcessOrderCmd
TheProcessOrderCmdtaskcommandmakestheProcessOrderserverrequest.
4)RaiseOrdereventCmd
TheRaiseOrderEventCmdtaskcommandisusedtoraiseanorderrelatedevent

WebsphereCommerce

WebsphereCommerceOffe
doingaddtoCart

WebspherecommerceAccess

WebsphereCommerceAcces

WebsphereCommerceAjaxF
WebsphereCommerceATP

WebsphereCommerceBilling

WebsphereCommerceBODG
DataServicecall

WebsphereCommerceBusine
Framework

WebsphereCommerceCache

WebsphereCommerceCalcu

WebsphereCommerceCalcu

WebsphereCommerceCatalo

WebsphereCommerceDataC

WebsphereCommerceDataL
CommerceDataLoadusingX

WebsphereCommerceDefau
Commerce7featurepack5)

WebspherecommerceDynaC

WebspherecommerceDynaC

ProcessOrderCmd(TaskCommand)
ProcessOrderCmdmakestheProcessOrderserverrequest.ProcessOrderTaskCmdcallscommandsinsequenceasshownbelow.
1)PreProcessOrderCmd
IfUnifiedBusinessFlowisnotenabledorisenabledandapprovalisneededthenthiscommandiscalled.
2)DoInventoryActionCmd(getATPParameter)
CallDoInventoryActionCmdtoupdateinventory.
3)UpdateSependingLimitCmd
CallUpdateSpendingLimitCmdtocheckthetradingagreementspendinglimitandvalidatethePOnumber.
4)PrimePaymentCmd
CallPrimePaymentCmd(EDPcommand)toguaranteethatthecustomerhasfundstopayfortheorder.
5)RaiseOrderSubmitEventCmd
CallRaiseOrderSubmitEventCmdtoraisetheordersubmitevent.
6)PersisitOrdersWithMemberGroupIdsForCurrentUserCmd
PersistOrdersWithMemberGroupIdsForCurrentUserCmd(Marketingcommand)iscalledIfOrdersMgpPersistListenerisenabledinordertopersisttheorders_idwiththe
membergroupid.
7)ExtOrderProcesCmd
ExtOrderProcessCmdcommandiscalledtoexecuteanycustomizationlogicduringorderprocessflow.
8)TransferOrderCmd
Thiscommandconfirmssuccessfultransferofanordertoanexternalsystem.ThiscommandiscalledtogeneratetheoutboundOrderCreateMessage.

http://deepakpadmakumar.blogspot.in/p/ibmwcsordersubsystem.html

WebsphereCommerceIBMG

WebsphereCommerceJSPIn

WebsphereCommerceKEYS

WebsphereCommerceMassL

WebsphereCommerceOrder

WebsphereCommerceoutbo
WbsphereMQ

WebsphereCommercePage

WebsphereCommerceRestS
FeaturePack6

WebsphereCommerceRestS
ServiceCallsfromjavaclass

WebsphereCommerceReturn

WebsphereCommerceSearc
URL

WebsphereCommerceSolrS
inWebsphereCommerce

WebsphereCommerceSolrS
flow(TillWCS7FeaturePack

WebsphereCommercestruts

5/7

7/22/2015

IBMWebSphereCommerceServer:WebsphereCommerceOrderSubsystem
Config.xmlproperties

9)OrderMessagingCmd
ThiscommandgeneratestheoutboundOrderCreateMessage"Report_NC_PurchaseOrder".

WebsphereCommerceWCPA

WorkspaceAdministrationTo
Commerce

TablesInvolvedwithOrderSubsystem
ORDERS
Eachrowinthistablerepresentsanorderinastore.

Therewasanerrorinthisgad

SUBORDERS
EachrowofthistablecontainssubtotalsofamountsforalltheOrderItemsofanOrderwiththesameshippingaddress.

FOLLOWERS
Jointhissite
withGoogleFriendConnect

ORDERITEMS
Eachrowofthistablerepresentsanorderiteminanorder.

Members(23)

ORDPROMOCD
Thistablecontainspromotioncodescapturedforanorder.

CPENDORDER
Eachrowofthistableindicatesthatanorderismarkedascurrentforacustomerinastore,ifitsstatusis"P"(Pending).
Alreadyamember?Signin

ORDPAYINFO
Each row in this table holds a namevalue pair representing payment information for a particular Order. Values added to this table are encrypted when the
"Instance/PDIEncrypt"configurationflagis"on".

SUBSCRIBETO
Posts

ORDADJUST
EachrowofthistablerepresentsanOrderAdjustment.

AllComments

ORDIADJUST
EachrowinthistablerepresentsanOrderItemAdjustment.

BLOGARCHIVE

ORDADJTXEX
EachrowofthistableindicatesthatanOrderAdjustmentisexemptfromtaxationofaparticularTaxCategory.Forexample,an"aftertaxrebate"canberepresentedasa
negativeOrderAdjustmentthatisexemptfromtaxationofallTaxCategories.
ORDCALCD
Each row of this table indicates to the CalculationCodeCombineMethod that a CalculationCode is directly attached to all OrderItems in an Order. The order
directCalculationCodeAttachmentflaginORDERITEMS.PREPAREFLAGSis1.

2015(22)
2014(78)
2012(3)
2011(1)

WCSSENIORCONSULTAN
Deepak

ORDICALCD
Each row of this table indicates to the CalculationCodeCombineMethod that a CalculationCode is directly attached to an OrderItem. The attachment is not effective
unlessthedirectCalculationCodeAttachmentflaginORDERITEMS.PREPAREFLAGSis1.
ORDTAX
EachrowofthistablerepresentsthetotalofthetaxamountsofaparticularTaxCategoryforalltheOrderItemsinanOrder.

WorkingasaWebSphereCo
multinationaltechnologyfirm
industryexperience,mainlyin
and7.
Viewmycompleteprofile

SUBORDTAX
EachrowofthistablespecifiesthetaxamountofaparticularTaxCategoryforalltheOrderItemswiththesameshippingaddressastheSubOrder.
ORDITAX
Each row of this table contains a tax amount of a particular TaxCategory, for an OrderItem. By default, WebSphere Commerce does not save any data in this table.
HowevertaxamountsareaggregatedbyTaxCategoryintheSUBORDTAXandORDTAXtables.
ORCOMMENT
Thetablestoresthecommentsforanorderenteredbyacustomerservicerepresentative.
ORDERHIST
ThistableisusedtosaveordersnapshotsinXMLformat.
ORDSTAT
ThistablecontainsinformationaboutthestatusofanorderforanOrderStatusUpdateinboundmessage.Eachrowinthetablecontainsinformationaboutasingle
order.
ORDUSERS
Containsinformationaboutusersthatworkedwithanorder.

Recommend this on Google

Twitter

TheShoppe
PaymentGateway

TheShopping
Twitter

Registry

TheShoppe

Buttons
TheShopping

http://deepakpadmakumar.blogspot.in/p/ibmwcsordersubsystem.html

Component
Registry

Wish
Buttons

BrochureDisplays
Component

Controller
Wish

6/7

7/22/2015

IBMWebSphereCommerceServer:WebsphereCommerceOrderSubsystem

1comment:
vasudhadharani 22February2015at19:16
Webspherecommerceserver"WebspherecommerceserverOnlineTraining
SendurEnquirytocontact@21cssindia.com
ProductOverview
Summary
WhatisNew
Navigation,Search,Filter
Accessibility
System Architecture" more Online Training Corporate Training IT Support U Can Reach Us On +917386622889 +919000444287
http://www.21cssindia.com/courses/websperecommerceserveronlinetraining200.html
Reply

Enteryourcomment...

Commentas:

Publish

GoogleAccount

Preview

Home
Subscribeto:Posts(Atom)

PictureWindowtemplate.PoweredbyBlogger.

http://deepakpadmakumar.blogspot.in/p/ibmwcsordersubsystem.html

7/7

S-ar putea să vă placă și