Hi friends ,
I have a BO A having pm_reference1 as an attribute. I need to create B.O B having pm_reference2 of the same type as pm_reference 1.
I have created a process and passed B.O A as a parameter. Below is the rule in the process :
Enter New B with B.pm_reference2=A.pm_reference1
Using this operation, I am able to copy only the first value from pm_reference1.
I cannot use Create command and then Insert references as I have to display the form to the user to update the BO B.
I also cannot use Create, Insert and open the form in Edit mode as there is a possibility user might not want to create the record.
Initialize multiple reference attribute during ENTER NEW cmd
-
- Posts: 130
- Joined: Tue Dec 03, 2013 10:19 pm
-
- Posts: 2405
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
Re: Initialize multiple reference attribute during ENTER NEW
I don' think it is possible using ENTER NEW.
Only using CREATE, INSERT, EDIT as in your last option...
But, can you not do it to a Temp B BO and then copy it to the 'live' table if the User does in fact want to create the record.
Only using CREATE, INSERT, EDIT as in your last option...
But, can you not do it to a Temp B BO and then copy it to the 'live' table if the User does in fact want to create the record.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
-
- Posts: 130
- Joined: Tue Dec 03, 2013 10:19 pm
Re: Initialize multiple reference attribute during ENTER NEW
Thanks for the cheat Mark..
-
- Posts: 1460
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Re: Initialize multiple reference attribute during ENTER NEW
Create BOB
Insert BOA.pm_attribute in BOB.pm_attribute
Edit BOB using formName
You’d need to have some routine to delete the BOB in case the user doesn’t want to keep it. A status attribute could be used to periodically sweep up those Bo that don’t progress.
Insert BOA.pm_attribute in BOB.pm_attribute
Edit BOB using formName
You’d need to have some routine to delete the BOB in case the user doesn’t want to keep it. A status attribute could be used to periodically sweep up those Bo that don’t progress.