Skip to Content
0
Jun 06, 2020 at 06:47 AM

Change History for Customer

351 Views Last edit Jun 08, 2020 at 02:25 PM 5 rev

Hello Everyone,

Hope you're doing good.

I'm trying to capture the changes of customer object using the ABSL as below :

import ABSL;
import AP.FO.BusinessPartner.Global;
import AP.Common.GDT as GDT;

var BO = "AP.FO.BusinessPartner.Global:Customer";
var NodeID = this.CustomerUUID;
var NodeName = "Root";

var customer = ChangeHistory.Read(BO, NodeID, NodeName);
var test = 1;

But the debugging returns empty for the above code and I'm getting an error in UI as below.

Having this error, I cross checked the standard UI for the configuration and replicated the same for my parameters.

import ABSL;
import AP.FO.BusinessPartner.Global;
import AP.Common.GDT as GDT;

var BOName = "A1S:CustomerOrgEditOIFEnhancedController";
var NodeID = this.CustomerUUID;
var NodeName = "Root";

var customer = ChangeHistory.Read(BOName, NodeID, NodeName);
var test = 1;

where I'm getting the below error :

At this point, I doubt the change history for customer object can be read in ABSL. Any thoughts to achieve such requirement would be highly appreciated.

Best Regards,

Senz

Maintain Social Distance, Stay Safe :-)

Attachments

customer1.png (11.6 kB)
parameters.png (10.0 kB)
customer2.png (9.9 kB)