on ‎2019 Dec 30 9:00 AM
Dear Experts ,
kindly i need to know if there is anyway to change the date format in CCO Receipt
as i already try but i find only $receipt/businessTransactionDate/text()
kindly advice
Regards.
Request clarification before answering.
Hi everyone,
In order to change the transaction date format from (YYYY/MM/DD hh:mm:ss) to (DD/MM/YYYY hh:mm:ss) you have to use the following xsl command:
<xsl:value-of select="concat(substring($receipt/businessTransactionDate/text(),9,2),substring($receipt/businessTransactionDate/text(),5,4),substring($receipt/businessTransactionDate/text(),1,4),substring($receipt/businessTransactionDate/text(),11,9))"/>
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Experts ,
any idea regarding the request above ??
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear ahmadhamad,
Are you using the JPOS print format?
You can open the file BaseIncludesJPOS.ftl in the folder C:\SapCustomerCheckout\cco\print_templates with a Notepad ++ editor.
In line 4 you should find
<#setting datetime_format="dd.MM.yyyy HH:mm:ss"/>
which you could adjust to your needs, for example
<#setting datetime_format="yyyy.MM.dd HH:mm"/>
Remember to save your changes with a different file name and replace this new file name in CCO Configuration -> Hardware -> Print Templates -> BaseIncludesJPOS (otherwise the file will be overwritten with the next patch / release update).
Kind regards,
Gunther
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.