Judgement
18th February 2009, 08:25
GDay everybody.

I have a report for Invoice which is based on the standard report for invoice (CISLI220011000). In that report is a field I also use in my costunised one called "document.type" and that returns the description out of cisli205 for the Doc Type e.g. Sales Invoice, Credit Note etc...

I would like to rename the description for this document type 1 (ENUM Field) from Sales Invoice to Tax Invoice, but I am unable to track down, where that description comes from.

I have tried 2 things already:

Gone to TTADV140 and changed ALL Label descriptions from Sales Invoice to Tax Invoice (even the ones out of TF module etc), compiled them but it doesn"t change the description in cisli205 (Table Manager, at least not for existing records).

I also went to ttadv4120m100 to find out the Label Code, but again, I can't manage to get it changed.

Any ideas how I can change that (without programming it by myself in the report script)? I juts want to change that label description.

Do I have to do another step e.g. Convert to runtime or compile sessions to get this updated?

Any help welcome.


Tim

Juergen
18th February 2009, 09:55
Hi,

as far as I remember that descriptions are coming from the enum descriptions of domain cisli.doct.

Regards,
Juergen

cyprus
18th February 2009, 14:20
Hi,

You can goto maintain domains, look for cisli.doct, and in the enum/set constants change the description accordingly. This will change the description of this constant everywhere.

But if the requirement is only for your report, then you may try the function :
function string enum.descr$ (string domain_code(12), string enum_expr [, string language_code])

Hitesh Shah
18th February 2009, 14:44
Any ideas how I can change that (without programming it by myself in the report script)? I juts want to change that label description.

Do I have to do another step e.g. Convert to runtime or compile sessions to get this updated?

Any help welcome.


Tim

ttadv4100m000 will let u modify the enum description but it will change the same everywhere the domain is used .

Else u can change print expression in the report where it's printed . For that matter, tell us what the current expression is .

_Ralph_
18th February 2009, 20:33
And dont forget to compile the labels. ttadv1243m000

Judgement
19th February 2009, 03:35
Thanks for the help, but something is still missing. went into Domains and to the Enum fields and found Constant 1 Constant name = Invoice, Constant description = Sales Invoice, Label = sli.doct001. I changed the Label Name in ttadv140 to Tax Invoice, do refresh and the system does show the name Tax Invoice. I compile the Label, and go to Domains and say convert to runtime (comes back with no data processed). (attached the changes)

So the label description in the Session shows now Tax Invoice, BUT if I go in General Table Manager to cisli205 in still shows "Sales Invoice for records with constant 1. And on my report it also still prints "Sales Invoice".

Does that change only apply for future records and not for existing one? I seem to be missing a step.

Any help appreciated. BTW it is fine if it changes everywhere where the domain is used, then I don"t have to change every report where it is used.

BTW, the report variable document.type uses the domain tcmcs.st35.

I don't have the Print Session script so I can't look up how the session fills it.

Tim

cyprus
19th February 2009, 05:34
I'm not sure if this will help you, but you can also try following steps :

1. move/rename or take backup of the domain file on the server
2. Then run session Create RunTime Data Dictionary ttadv5210m000
3. Check if new domain file has been created for this particular domain

NirajKakodkar
19th February 2009, 05:36
You will have to do CRDD to the table also ..

Judgement
19th February 2009, 06:19
Guys,

thanks everybody. Managed finally to get the change through. Not a 100% sure why it didn't work the first time, something didn"t work with Conversion to Runtime, I changed to Installation user and changed Current Package VRC, don"t know if that was it.

Anyway, another call I can close of my long list after Going Live this month. :)

Tim