Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Scripting help.

$
0
0

Hi Team,

 

I have one requirement where i have 2 tables :

 

Cabinet master Table :

 

CabinetOutletCompany Code
C1O1

CC1

C2O2CC2
C3O3CC3

 

 

and Cabinet Transaction table : (Input Schema )

 

CabinetOutletCompanyCodecal day
C1O5CC520140101
C2O2CC220140102
C3O3CC720140103

 

Now my requirement is :

 

I have to check whether the Cabinet is placed in the right outlet or not by performing the lookup on th Cabinet master and i need to display the Match ID

where it has to display the value as Y or N, Y means the Cabinet is placed in the correct outlet and N means the Cabinet is placed in the wrong Outlet ( By performing the lookup on the Cabinet Master Table ) . Now finally my outlput should display as

 

 

 

CaldayCabinetOutletMatchIDCorrect Company codeCorrect Outlet
20140101C1O5NCC1O1
20140102C2O2Y
20140103C3O3NCC3O3

 

 

 

Pls help me how to achieve this.

 

 

Regards,

Praveen.


Viewing all articles
Browse latest Browse all 3523

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>