Adding new screen in Entity type in Approval maps
public class KNRWEPApprovalMapMaintExt : PXGraphExtension<EPApprovalMapMaint> //EPApprovalAndAssignmentMapBase<KNRWEPApprovalMapMaintExt> //PXGraphExtension<EPApprovalMapMaint>
{
[PXMergeAttributes(Method = MergeMethod.Replace)]
[PXStringList()]
[PXUIField(DisplayName = "Entity Type", Required = true)]
protected virtual void EPAssignmentMap_GraphType_CacheAttached(PXCache sender)
{
}
public delegate IEnumerable<String> GetEntityTypeScreensDelegate();
[PXOverride]
public IEnumerable<String> GetEntityTypeScreens(GetEntityTypeScreensDelegate baseMethod)
{
baseMethod();
return new string[]
{
"AR301000",//Invoice and Memos
"AP301000",//Bills and Adjustments
"AP302000",//Checks and Payments
"AP304000",//Quick Checks
"AR302000",//Payments and Applications
"AR304000",//Cash Salesk
"CA304000",//Cash Transactions
"EP305000",//Employee Time Card
"EP308000",//Equipment Time Card
"EP301000",//Expense Claim
"EP301020",//Expense Receipt
"PO301000",//Purchase Order
"RQ301000",//Purchase Request
"RQ302000",//Purchase Requisition
"SO301000",//Sales Order
"CR304500",//Sales Quote
"PM304500",//Project Quote
"RW302000",//Receive Payments
"RW303001",//Loan Details
};
}
}
Comments
Post a Comment