Reference > Shop flow URLs > Order Management subsystem URLs > Order task commands
CheckPaymentTCsCmd task command
The CheckPaymentTCsCmd task command checks account, spending limit and purchase order number.
Task command
CheckPaymentTCsCmd
Implementation class
Commands called
CheckTASpendingLimitCmd
ValidatePONumberCmd
UpdatePOSpendingCmd
Possible callers
ProcessOrderCmdImpl
Behavior
If the trading agreement contains any purchase order terms and conditions and purchase order number is null:
- Throw an exception
Call CheckTASpendingCmd to check the trading agreement spending limit
If purchase order number is not null:
- Call ValidatePONumberCmd to do validation on the PO number
- If buyer purchase order Id is not null:
- Call UpdatePOSpendingCmd to update the purchase order's spending