Skip to Content
0
Jan 03, 2018 at 03:46 PM

C4C Form Ticket Summary logic using FormCalc in Adobe Lifecycle Designer (ALD)

947 Views

Hi experts,

I am creating a form in Adobe Lifecycle Designer for a Ticket Summary. I want to print the item postions in the ticket in two tables dependent on the Product's InternalID. So one table for the time product and another for the kilometer product.

See Screenshot below for an example of the script in Row 1 of the table for time (here was the plan to hide all items with the product ID of kilometers; and for the other table the the other way round):

I created two dynamic tabels depended on the data and for the logic in the Script Editor I took the SAP Standard survey summary as example. Here is a logic in the section description field (certain Survey Type Code).

But it doesn't work...In the table for time all items appear and in the second one everything is empty except of 2 columns. What is wrong within this script?

If the data binding for the product's internal ID is:

ServiceRequest - Item - Product - InternalID - #data

Do I need to use in the script $data.ServiceRequest.Item.Product.InternalID or $data.ServiceRequest.Item.Product.InternalID.#data?

Thanks for help!

Best regards,

Deborah