This commit is contained in:
parent
3feda8b601
commit
37245744c9
1 changed files with 10 additions and 4 deletions
|
|
@ -59,6 +59,12 @@ export async function CreatePosMasterHistoryOfficer(
|
||||||
h.prefix = pm.current_holder?.prefix || _null;
|
h.prefix = pm.current_holder?.prefix || _null;
|
||||||
h.firstName = pm.current_holder?.firstName || _null;
|
h.firstName = pm.current_holder?.firstName || _null;
|
||||||
h.lastName = pm.current_holder?.lastName || _null;
|
h.lastName = pm.current_holder?.lastName || _null;
|
||||||
|
h.profileId = pm.current_holder?.id || _null;
|
||||||
|
h.rootDnaId = pm.orgRoot.ancestorDNA || _null;
|
||||||
|
h.child1DnaId = pm.orgChild1.ancestorDNA || _null;
|
||||||
|
h.child2DnaId = pm.orgChild2.ancestorDNA || _null;
|
||||||
|
h.child3DnaId = pm.orgChild3.ancestorDNA || _null;
|
||||||
|
h.child4DnaId = pm.orgChild4.ancestorDNA || _null;
|
||||||
} else {
|
} else {
|
||||||
h.prefix = pm.next_holder?.prefix || _null;
|
h.prefix = pm.next_holder?.prefix || _null;
|
||||||
h.firstName = pm.next_holder?.firstName || _null;
|
h.firstName = pm.next_holder?.firstName || _null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue