Skip to content

Work with favorites

How-to guide

A favorite is what the Standard timesheet app calls one: an item (attendance type and/or order) with default hours, saved under a name in SAP. Favorites belong to your SAP user, so the ones you create here also appear in the app, and the other way round.

What favorites do I have?

std_favorites {} lists name, id, default hours and item. mp_favorites {} shows the list as the Multiproject app sees it.

Create a favorite “Admin day”: 8 hours of administration.

std_favorite_add {name: "Admin day", item: {attendanceType: "0077"}, hours: 8}. Remove one with std_favorite_remove {id}.

Book Thursday from my “Holiday” favorite.

Any booking tool accepts favorite: "Holiday" (name, case-insensitive, or id) instead of item; the favorite’s hours are used unless you pass hours.

When a favorite points at a chargeable sales order with exactly one item, the item is filled in automatically at creation time; with several items the tool lists them and asks you to choose.