Add conditional address fields in Zoho Books Purchase Orders
Hi -
I'm curious if it's possible to add conditional fields in Purchase Order (and other) templates?
I'd like to use the Attention field if it is populated, otherwise, I'd like to use the display name for the delivery address on Purchase Orders.
For example:
IF (${CONTACT.CONTACT_ATTENTION} != NULL) {
${CONTACT.CONTACT_ATTENTION}
} ELSE {
${CONTACT.CONTACT_DISPLAYNAME}
}
${CONTACT.CONTACT_ADDRESS}
${CONTACT.CONTACT_CITY}, ${CONTACT.CONTACT_STATE} ${CONTACT.CONTACT_CODE}
${CONTACT.CONTACT_COUNTRY}