Notify(
DateTimeValue("2025-02-26", "en-US"),
NotificationType.Information
);
/*
Patch(
salestrip_masters,
Defaults(salestrip_masters), // Ensure you're adding a new record
{
ordergroup: "Grouping 1",
order_from: Value(1330012),
order_to: Value(1330013),
salestrip_amount: Value(200),
accounts_currencyint: "USD",
salestrip_host: "Sam Surin",
total_normal_count: Value(2),
total_alt_count: Value(0),
salestrip_notes: "Test",
salesperson_name: "Sam surin salesteam",
salestrip_name: "VG ORDER 2025",
salestripyear: "2025" // Ensure it's a number
}
);
*/
Concurrent(
Patch(salestrip_masters, Defaults(salestrip_masters), { salestrip_name: "VG ORDER 2025" }),
Patch(salestrip_masters, Defaults(salestrip_masters), {salestrip_name: "VG ORDER 2025", salestrip_amount: Value(200) }),
Patch(salestrip_masters, Defaults(salestrip_masters), {salestrip_name: "VG ORDER 2025", salesperson_name: "Salesperson" })
)
It is working in Android but not in ios
First I tried the Patch function and then the concurrent one. None of them are working. And it only gives "An unknown error occured." Please help, this app is stuck in development need to add it in production.