JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Arda Growth (Cloud-backed)
Items
Order Queue
Kanban Loops
Kanban Cards
Receiving
Production
Shipping & Distribution
My Business
Settings & Templates
Arda's Recommendations
Getting Started with Arda
Backend
Setup
Settings & Templates
Order Queue
Receiving
Backend
Projects (Beta)
My Business
Arda's Recommendations
Getting Started with Arda
More
Share
Explore
Buttons
Automated Order Functionality
This page documents the formulas for the buttons required by the
Orders
workflows and the
Items
creation flows.
1. Prerequisites
Ensure you have the following named formulas or global controls available:
[Tenant ID]
(The ID of your Arda tenant)
[Author]
(Usually
User()
or
User().Email
)
2. Order Workflow Buttons (Row Actions)
Create these buttons in the
Orders
table (
ArdaOrders
).
A. Submit Order
Name
:
btnSubmitOrder
Label
: “Submit”
Icon
: Paper Plane
Action
:
Disable if
:
thisRow.Status != "Draft"
B. Accept Order
Name
:
btnAcceptOrder
Label
: “Accept”
Icon
: Check with circle
Action
:
Disable if
:
thisRow.Status != "Submitted"
C. Receive Order
Name
:
btnReceiveOrder
Label
: “Receive”
Icon
: Box / Inventory
Action
:
Disable if
:
thisRow.Status != "Accepted"
D. Archive Order
Name
:
btnArchiveOrder
Label
: “Archive”
Icon
: Archive / Box
Action
:
ArdaCloudPack::ArdaArchiveOrder
(
[
Tenant ID
]
,
User
(
)
,
thisRow
.
OrderEid
)
Disable if
:
thisRow.Status != "Received"
E. Annotate Order (Optional)
Name
:
btnAnnotateOrder
Action
:
ArdaCloudPack::ArdaAnnotateOrder
(
[
Tenant ID
]
,
User
(
)
,
thisRow
.
OrderEid
)
3. Aggregated “Order Actions” Column
Create this column in the
Orders
table to show the correct button for the current state.
Name
:
Order Actions
Column Type
: Button
Formula
:
SwitchIf
(
thisRow
.
Status
=
"Draft"
,
[
btnSubmitOrder
]
,
thisRow
.
Status
=
"Submitted"
,
[
btnAcceptOrder
]
,
thisRow
.
Status
=
"Accepted"
,
[
btnReceiveOrder
]
,
thisRow
.
Status
=
"Received"
,
[
btnArchiveOrder
]
,
// Fallback or empty
""
)
4. Creation Buttons (Canvas Actions)
These buttons live on pages to create new orders.
A. Create Order from Items
Location
: Items Page (Canvas Button)
Action
:
ArdaCloudPack::ArdaCreateOrderFromItems
(
[
Tenant ID
]
,
User
(
)
,
/* ItemEids: List of selected item EIDs */
[
Items
]
.
Filter
(
[
Select
]
)
.
[
internalSku
]
,
/* OR .[Row ID] / .[Eid] depending on Pack spec */
/* SupplierName (Optional) */
[
SelectSupplierControl
]
,
/* Notes (Optional) */
""
)
Note
: Ensure
Items
table has a
Select
checkbox or use a helper, and map the
ItemEids
correctly.
B. Create Order from Kanban Cards
Location
: Order Cards / Queue Page
Action
:
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
Ctrl
P
) instead.