I have no idea even how to start this.
1st step I need to take Role producer staff "Y" and make all the articles null. The reason to make them null incase a 1 or 0 fell into the record when I was building the other process.
2nd step - next need to take Producer_staff_parent_customer_Id and match with the Customer_ID if match then
3rd step - Update producer staff record with 1 and 0 according to what the customer_ID has (so the staff gets the same articles as who he/she is working for)
My articles from efix_4267 to EFIX_5855 - these articles do not change they are in every issue of the newsletter. They might have different 1 and 0 each week. I was try to write something that I do not have to change each week
Then the rest of the articles after EFIX_5855 change each week. So I would have to add these in each week according to the articles names.
Then
I need to take the entire list. Role_agent "Y" or Role_Rep "Y" or Role_Producer_Staff "Y" or don't even have to write this because the entire list I need to convert each articles from a 1 to a "Y" and 0 to a null.
Articles names EFIX4267 to EFIX_5855 do not change each week. Then the rest of the articles change each week. I have to keep the name of the articles as stated because the code to send the email is set up according to article names.
Can you give me some suggestion on how to do this?
Thanks