Hi Guys,
I need to force through code the sales order credit management hold after inserting (I'm doing through CoC but that's not the problem). Looking classes about credit control, I found CredManCreditControl class; the problem is the class is abstract and It can't calls its methods.
Somebody can help me please to do it?
[ExtensionOf(classStr(SalesTableType))]
final class SalesTableType_AR_Extension
{
void inserting()
{
SalesTable salesTable;
SalesTableType salesTableType;
next inserting();
salesTableType = this;
salesTable = salesTableType.parmSalesTable();
if (salesTable.SalesId)
{
//Here force to credit management hold
}
}
}