public class DeployPriceTCCmdImpl extends DeployTCCmdImpl implements DeployPriceTCCmd
Three types of price Terms&Conditions to be deployed:
the price list id will be stored in BIGINTFIELD1, adjustment in FLOATFIELD1, product set id in INTEGERFIELD1.
the price list id will be stored in BIGINTFIELD1, adjustment in FLAOTFIELD1, product set id in INTEGERFIELD1 and adjustment product set in INTEGERFIELD2.
the price list id will be stored in BIGINTFIELD1, producst set id in INTEGERFIELD1.
This command calls the following TaskCommands:
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
DeployPriceTCCmdImpl()
ContractCreateCommand constructor comment.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | createPriceListProductSetXML(java.lang.Long priceListId)
If the product set DTD or XML is changed, customer need to overwrite this method
|
java.lang.String | createPriceListXML(java.lang.Long priceListId, boolean saveFlag)
If the price list DTD or XML is change, customer need to overwrite this method
|
void | deployConfigBuildBlock()
Deploys PriceTCConfigBuildBlock: the percentage price list id will be stored in BIGINTFIELD2, if there is only one percentage price list associated with the tc; product set id will be stored in INTEGERFIELD1.
|
void | deployCustomPriceList()
Deploys PriceTCCustomPriceList: the price list id will be stored in BIGINTFIELD1, producst set id in INTEGERFIELD1.
|
void | deployMasterCatalogWOptAdj()
Deploys PriceTCMasterCatalogWithOptionalAdjustment: the price list id will be stored in BIGINTFIELD1
|
void | deployPriceListWOptAdj()
Deploys PriceTCPriceListWithOptionalAdjustment: the price list id will be stored in BIGINTFIELD1, adjustment in FLOATFIELD1, product set id in INTEGERFIELD1.
|
void | deployPriceListWSelAdj()
Deploys PriceTCPriceListWithSelectiveAdjustment: the price list id will be stored in BIGINTFIELD1, adjustment in FLOATFIELD1, product set id in INTEGERFIELD1 and adjustment product set in INTEGERFIELD2.
|
void | performExecute()
Execute the command.
|
void | setTermCondition(TermConditionAccessBean aTCAB)
Sets the Term&Condition Access Bean to be deployed.
|
void | setXMLFlag(boolean aXMLFlag)
Sets the indicator for XML creation (not being used).
|
public static final java.lang.String COPYRIGHT
public DeployPriceTCCmdImpl()
public java.lang.String createPriceListProductSetXML(java.lang.Long priceListId) throws ECException, java.sql.SQLException
public java.lang.String createPriceListXML(java.lang.Long priceListId, boolean saveFlag) throws ECException, java.sql.SQLException
public void deployCustomPriceList() throws ECException, java.sql.SQLException
public void deployPriceListWOptAdj() throws ECException
public void deployPriceListWSelAdj() throws ECException
public void deployConfigBuildBlock() throws ECException
public void performExecute() throws ECException
public void setTermCondition(TermConditionAccessBean aTCAB)
public void setXMLFlag(boolean aXMLFlag)
public void deployMasterCatalogWOptAdj() throws ECException