when the line was edited ( any field ).
the code below does not fully work
- Code: Select all
private void PurchaseOrderLineChanged(JiwaFinancials.Jiwa.JiwaPurchaseOrders.Line item ,System.ComponentModel.PropertyChangedEventArgs e)
{
JiwaFinancials.Jiwa.JiwaPurchaseOrders.Line PoLine = _purchaseOrderForm.PurchaseOrder.Lines[1];
//-- this line below gives only the last segment eg: "070" from the "003-400-070" - I need "003-400-070"
_purchaseOrderForm.PurchaseOrder.Reference = PoLine.HistoryText_Comment.Trim() + PoLine.JobCostingStage.Stage.StageNo.Trim() ;