Could be Karl.
If it is the customization code snippet to auto uncheck Suggestions, it is only testing the length of what is (attempted) to be entered in the p/n field (to verify it is not a null record: row = -1).
We are invoking it only AFTER the time phase adapter "GetFrameTitle" method has completed (which should already have validated the part number as the p/n ends up being part of the displayed frame title).
If you are using some other trigger, you should probably add some code to search for the part number entered using searchbyID - and only then try to set suggestions to false if the part number exists. (One more If loop.)
This customization has survived from 403 to 405a without causing us problems. I'd be glad to email you the exact code we are using if it would help.
Rob
If it is the customization code snippet to auto uncheck Suggestions, it is only testing the length of what is (attempted) to be entered in the p/n field (to verify it is not a null record: row = -1).
We are invoking it only AFTER the time phase adapter "GetFrameTitle" method has completed (which should already have validated the part number as the p/n ends up being part of the displayed frame title).
If you are using some other trigger, you should probably add some code to search for the part number entered using searchbyID - and only then try to set suggestions to false if the part number exists. (One more If loop.)
This customization has survived from 403 to 405a without causing us problems. I'd be glad to email you the exact code we are using if it would help.
Rob
--- On Tue, 8/26/08, Karl Dash <dashkarl@...> wrote:
From: Karl Dash <dashkarl@...>
Subject: Re: [Vantage] Re: Object Reference error message
To: vantage@yahoogroups.com
Date: Tuesday, August 26, 2008, 3:17 PM
I suspect that she used the part number on the PO to "open with" the Time Phase to look at year-end requirements. But speaking of Time Phase, I'm reminded that I had recently put in the customization from Rob Brown that unchecked the Suggestions box. Is this error of such a nebulous variety that you have to start by removing all customizations and then putting them back in one at a time until/when it fails?
Â
-Karl
--- On Tue, 8/26/08, bw2868bond <bwalker@adcocircuit s.com> wrote:
From: bw2868bond <bwalker@adcocircuit s.com>
Subject: [Vantage] Re: Object Reference error message
To: vantage@yahoogroups .com
Date: Tuesday, August 26, 2008, 10:51 AM
Interesting you would get a TimePhase Screen error while approving a
PO........
--- In vantage@yahoogroups .com, Karl Dash <dashkarl@.. .> wrote:
>
> All,
> One of my users has encountered the error message "Object reference
not set to an instance of an object" while approving a PO. Tech
support had few suggestions other than reinstall client software. Has
anyone else any experience in troubleshooting this error? The
full "details" are attached. I am on 803.403D, Progress.
> Â
> Thanks,
> -Karl
>
>
>
> ----------
>
> Error Detail
> ============
> Object reference not set to an instance of an object.
>
>
> Stack Trace
> ===========
> at Infragistics. Win.UIElement. GetDescendant( Type type, Object[]
contexts)
> at Infragistics. Win.UltraWinGrid .UltraGridCell. GetUIElement
(RowScrollRegion rsr, ColScrollRegion csr, Boolean verifyElements)
> at Infragistics. Win.UltraWinGrid .GridItemBase. InvalidateItem
(RowScrollRegion rsr, ColScrollRegion csr, Boolean recalcRects)
> at Infragistics. Win.UltraWinGrid .GridItemBase. InvalidateItem
(RowScrollRegion rsr)
> at Infragistics. Win.UltraWinGrid .RowScrollRegion .OnRowPropChange
(VisibleRow vr, PropChangeInfo propChange)
> at
Infragistics. Win.UltraWinGrid .VisibleRow. OnSubObjectPropC hanged
(PropChangeInfo propChange)
> at Infragistics. Shared.SubObject Base.NotifyPropC hange
(PropChangeInfo trigger)
> at Infragistics. Shared.SubObject Base.NotifyPropC hange(Enum
propId, PropChangeInfo trigger)
> at
Infragistics. Win.UltraWinGrid .CellsCollection .OnSubObjectProp Changed
(PropChangeInfo propChange)
> at Infragistics. Shared.SubObject Base.NotifyPropC hange
(PropChangeInfo trigger)
> at Infragistics. Shared.SubObject Base.NotifyPropC hange(Enum
propId, PropChangeInfo trigger)
> at Infragistics. Win.UltraWinGrid .UltraGridCell. set_Activation
(Activation value)
> at Epicor.Mfg.UI. FrameWork. EpiUltraGrid. refreshRowProps( )
> at Epicor.Mfg.UI. FrameWork. EpiUltraGrid. displayRowProper ties
(Boolean currentRowOnly)
> at
Epicor.Mfg.UI. FrameWork. EpiUltraGrid. oDataView_ EpiViewNotificat ion
(EpiDataView view, EpiNotifyArgs ar)
> at Epicor.Mfg.UI. FrameWork. EpiDataView. Notify(EpiNotify Args args)
> at
Epicor.Mfg.UI. App.TimePhasEntr y.Transaction. miscTable_ ColumnChanged
(Object sender, DataColumnChangeEve ntArgs e)
> at System.Data. DataColumnChange EventHandler. Invoke(Object
sender, DataColumnChangeEve ntArgs e)
> at System.Data. DataTable. OnColumnChanged
(DataColumnChangeEv entArgs e)
> at System.Data. DataRow.set_ Item(DataColumn column, Object value)
> at System.Data. DataRowView. SetColumnValue( DataColumn column,
Object value)
> at System.Data. DataRowView. set_Item( String property, Object
value)
> at Script.oTrans_ adapter_AfterAda pterMethod( Object sender,
AfterAdapterMethodA rgs args)
> at Epicor.Mfg.UI. FrameWork. EpiBaseAdapter. OnAfterAdapterMe thod
(String MethodName)
> at Epicor.Mfg.UI. Adapters. TimePhasAdapter. GetFrameTitle( String
inPlant, String inPart, String& frameTitle, DateTime& mrPLastRunDate,
String& frameLastSchedTitle , DateTime& mrPLastScheduledDat e)
> at Epicor.Mfg.UI. App.TimePhasEntr y.Transaction. GetFrameTitle
(String plant)
>
> [Non-text portions of this message have been removed]
>
[Non-text portions of this message have been removed]