support for PROC.INI “RO’s” and convert dashes to non-breaking dashes, fix for Fortran format numbers

removed the space from “Procedure Number” for the get profile of ProcedureNumber
Added Unit Specific logic
This commit is contained in:
2011-09-22 19:54:03 +00:00
parent bf8ee98a53
commit e9865f3250
4 changed files with 55 additions and 15 deletions

View File

@@ -479,7 +479,13 @@ namespace VEPROMS.CSLA.Library
private static bool AddTransitionProcNum(TransitionBuilder tb) // Coded for HLP
{
string retstr = tb._ToItem.MyProcedure.MyContent.Number;
// LATER: start with UnitSpecific procedure number.
// start with UnitSpecific procedure number.
string unitnum = tb._ToItem.MyDocVersion.DocVersionConfig.Unit_ProcedureNumber;
if (unitnum.Length > 0)
{
unitnum = unitnum.Replace("-", @"\u8209?");
retstr = unitnum.Replace("#", retstr);
}
// LATER: Format Flag TruncateProcNmAfter1stSpace (dropped plants)
// LATER: Format Flag HardSpTranProcNumb (active plants)
tb.AppendPrefix();