Made sure TransitionLookup.ApplicabilityUnit value is set to DocVersionConfig.SelectedSlave value

This commit is contained in:
Rich 2014-01-23 20:14:35 +00:00
parent d5f59fc044
commit 1c77c6d9ae

View File

@ -4618,6 +4618,7 @@ namespace VEPROMS.CSLA.Library
public static void RefreshPageNumTransitions(ProcedureInfo tmp) public static void RefreshPageNumTransitions(ProcedureInfo tmp)
{ {
TransitionLookup tranLookup = new TransitionLookup(0, tmp.ItemID, tmp.MyLookup); TransitionLookup tranLookup = new TransitionLookup(0, tmp.ItemID, tmp.MyLookup);
tranLookup.ApplicabilityUnit = tmp.MyDocVersion.DocVersionConfig.SelectedSlave;
tranLookup.NewLookupNeeded += new TransitionLookupEvent(GetNewLookup); tranLookup.NewLookupNeeded += new TransitionLookupEvent(GetNewLookup);
SetParentSectionAndDocVersionPageNum(tmp, tmp.MyDocVersion, null, tmp, tmp.MyDocVersion, tranLookup); SetParentSectionAndDocVersionPageNum(tmp, tmp.MyDocVersion, null, tmp, tmp.MyDocVersion, tranLookup);
} }