Hi All,
The following databse table maintains
VENDOR and EMAIL details.
We have to find emaild id of a vendor based on the vendor name
since email id can be change at any point of time.
The following files has to be emailed to corresponding vendor.
If file is stock_dell_file then mail has to go to surendra@dell.com,
If file is stock_hp_file then mail has to go to rajkamal@hp.com,
If file is stock_acer_file then mail has to go to sumathi@acer.com, and so on.
Please help me on KSH.
Thanks.
The following databse table maintains
VENDOR and EMAIL details.
Code:
VENOR_NAME VENDOR_EMAIL
DELL surendra@dell.com
HP rajkamal@hp.com
ACER sumathi@acer.com
NOKIA kunal@nokia.com
SONY sinu@sony.com
since email id can be change at any point of time.
The following files has to be emailed to corresponding vendor.
Code:
stock_dell_file
stock_hp_file
stock_acer_file
stock_nokia_file
stock_sony_file
If file is stock_dell_file then mail has to go to surendra@dell.com,
If file is stock_hp_file then mail has to go to rajkamal@hp.com,
If file is stock_acer_file then mail has to go to sumathi@acer.com, and so on.
Please help me on KSH.
Thanks.