Cannot read property 'CanInvokeMethod' of null -- PM error in siebel open UI
Hi,
We are trying to run a custom PM file and it is error out in console page as below.
Cannot read property 'CanInvokeMethod' of null -- PM error in siebel open UI
I'm attaching my PM file here. Can you please let us know if anybody come across this issue earlier.
************************************************************************
if (typeof(SiebelAppFacade.OrderStatusPModel) === "undefined") {
SiebelJS.Namespace("SiebelAppFacade.OrderStatusPModel");
console.log("inside pmodel namespace");
SiebelApp.S_App.RegisterConstructorAgainstKey("OrderStatusPhysicalModel","SiebelAppFacade.OrderStatusPModel");
SiebelAppFacade.OrderStatusPModel = (function() {
function OrderStatusPModel(proxy) {
console.log("inside pmodel");
SiebelAppFacade.OrderStatusPModel.superclass.constructor.call(this, proxy);
}
// To pass array of arguments, use 'apply' instead of 'call'