Hi,
I am having MROWorkTable form header title uses data source display method to display the title in the form, i want to change the title in the form, its just displaying workid, i also want to add description to that display method. I want to change this following code in display method
[Datasource]
Class workordertable
{
public display name headerName()
{
return strfmt("@MRO1040", workordertable.workorderid);
}
Here i want to add workordertable.description after workorderid. All this code is in form.
Please give me an idea how to add this value to display method trough extension
Thanks
Priya
extension?, what does extension means in display method?
did you try to concatenate? something like
return strfmt(workordertable.workorderid + workordertable.description);
Thank for your Reply Ven, but my question is where to write the code.
Martin, i am planning on using COC but, my question is what to extend form MROWorkordertable or table Mroworkorder table as this code is written on form datasource.
Thanks
Priya
Also one more question can we use COC for display methods?
Thanks
Priya
How would extending a table help you if you want to extended a method on a datasource?
can you please explain me how to do this, i tried [exensionof(formstr(MROWorkOrderTable))]
and tried coc for display method but its not being hit. do i need to use form event handlers?, if so how to add description to display method in event handler?
Thanks
Priya
I cant customize the existing display method by adding description need to add description trough extension.