Automation for related table

Hello Dear Sir,

I'll like to know how to do related data list in automation by using start and end expression.

I did create docs with start and end expression but didn't get related data list after generated docs.pdf.

Let see in attached files.

IMG_20221014_102844.jpg

IMG_20221014_102808.jpg

Please let me know how to do it.

Thanks 

 

0 7 121
7 REPLIES 7

Aurelien
Google Developer Expert
Google Developer Expert

Hi @umin-kyaw 

You syntax looks correct.

Would you mind checking and sharing us an app screenshot showing that this key does have any related drink?

Alternatively, when clicking on Data > Tables > (pick your table name) > button "View Data", you can check which related drinks are going with this item. Can you share a screenshot as well ?

Thanks Sir for your reply.

Let see my column details of two tables.

Drink Table 

IMG_20221014_173950.jpg

Sale Table

IMG_20221014_174143.jpg

Check view data

Screenshot_2022-10-14-17-42-36-124_com.android.chrome.jpg

Please let me guide how to do Sir.

Thanks 

 

 

 

 

Aurelien
Google Developer Expert
Google Developer Expert

Thank you for your screenshots.

In the table "Sale", I see no column Drink with type Ref, refering to the table Drink.

Is it this one ? If so, you may want to name it "Sale" instead, so that you know that is a Ref column 😉

 

Aurelien_0-1665746474760.png

If my understanding is correct, this is what you currently have:

Aurelien_4-1665747362023.png

Can you check, when clicking on "View data" for the table Sale, that you retrieve a similar list under "Related Drinks" for the row a4cde723 ?

Dear Sir,

I can't do it according to your suggestions.

Please help me more.

Aurelien
Google Developer Expert
Google Developer Expert

@umin-kyaw 

Here:

Aurelien_0-1665749099221.png

 

 

Screenshot_2022-10-14-18-42-21-349_com.android.chrome.jpg

Screenshot_2022-10-14-18-42-28-416_com.android.chrome.jpg

I checked and see it.

 

 

Aurelien
Google Developer Expert
Google Developer Expert

Ok, this looks good so far.

Can you confirm that with this id, for example:

Aurelien_0-1665749931220.png

In the "view data" feature you can see any matching "related drinks" result ?

My assumption is that you generated a document about a sale record that does not have any related drink at the moment it is generated.

Would that make sense ?

Top Labels in this Space