on 08-09-2007 11:39 AM
Hi
follwing condition is my mapping
can any one suggest to me can I do this with message mapping or
can i write user defined function.
If it is message mapping give me hint.
If Cust->Territory_District->Dist_oper_area_cd is between 700 and 720
Map the following to the staging table
cust_territory_district->dist_oper_area_cd to DRMO_div_mgr_cd
cust_territory_district->terr_gauge_dist_cd to Field_support_cd
cust_territory_district->cust_terr_eff_dt to DRMO_edate
cust_territory_district->cust_terr_can_dt to DRMO_cdate
cust_status_class->history_cust_stat to DRMO_history_cust_stat
cust_status_class->history_cust_class to DRMO_history_cust_class
cust_status_class->history_eff_date to DRMO_history_eff_date
cust_status_class->history_can_date to DRMO_history_can_date
Else
Map the following to the staging table
cust_territory_district->dist_oper_area_cd to dist_oper_area_cd
cust_territory_district->terr_gauge_dist_cd to terr_gauge_dist_cd
cust_territory_district->cust_terr_eff_dt to cust_terr_eff_dt
cust_territory_district->cust_terr_can_dt to cust_terr_can_dt
cust_status_class->history_cust_stat to history_cust_stat
cust_status_class->history_cust_class to history_cust_class
cust_status_class->history_eff_date to history_eff_date
cust_status_class->history_can_date to history_can_date
thanks®ards
venkat.
For this condition, you can use the Less than and greater than standard fuction with and . it will work fine
<b>If Cust->Territory_District->Dist_oper_area_cd > 700 and
If Cust->Territory_District->Dist_oper_area_cd < 720</b>
<b>If Cust->Territory_District->Dist_oper_area_cd is between 700 and 720</b>
Both meaning are same now. so first one can be implemented using the Graphical mapping.
Warm Regards,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
u can use graphical message mapping in this
if the node 'cust_territory_district->dist_oper_area_cd' wud have been a parent node and the others following it wud have been child nodes then u only had to put the IF-ELSE condition on the parent node but since this is not the case so u will have to put the condition 'If Cust->Territory_District->Dist_oper_area_cd is between 700 and 720' into every field
Vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Venky cn u provide the source and target structures pl
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.