Hey,
I have a BookList BO. This gets created every month. At the moment, I create one, set the month (issue) and the magazine.
This creates a BookList which is autopopulated by a series of articles which appear in every issue. I then duplicate this BookList and change the magazine.
Question: is there a way to create one BookList and then duplicate with the three other magazines specified?
Like CREATE BookList WITH BookList.Issue=?Issue AND BookList.Magazine='JHB'
But then where to from there? I want it to create three more with Magazine='CPT' 'DBN' 'PTA' but not have to choose issue each time
Creating copies with a difference
Creating copies with a difference
Mark
Running V5.7 (Build 1714) Linux Server. MySQL
Running V5.7 (Build 1714) Linux Server. MySQL
Re: Creating copies with a difference
Are CPT, DBN and PTA. created in another object, i.e. "IssueType"? If yes, I'd iterate through the IssueType Object, and based on each iteration, I'd create like:Mark HHP wrote: But then where to from there? I want it to create three more with Magazine='CPT' 'DBN' 'PTA' but not have to choose issue each time
Code: Select all
CREATE BookList WITH BookList.Issue=IssueType AND BookList.Magazine='JHB'
Hope this helps!
Re: Creating copies with a difference
Hi Ben,
Thanks for this. The Issue is plain text attribute (usually something like September 2016) and the Magazine attribute is a dropdown of the four: JHB, CPT, DBN and PTA. So on creation I would fill in the Issue and it would create the 4 BookLists with the different magazines.
Thanks for this. The Issue is plain text attribute (usually something like September 2016) and the Magazine attribute is a dropdown of the four: JHB, CPT, DBN and PTA. So on creation I would fill in the Issue and it would create the 4 BookLists with the different magazines.
Mark
Running V5.7 (Build 1714) Linux Server. MySQL
Running V5.7 (Build 1714) Linux Server. MySQL