Posts

Showing posts from July, 2026

Custom API service, ODATA actions

// odata or data entity actions   public class CmpyWeighingEntity extends common {     /// <summary>     /// Updates the base price on purchase allocation lines for a given weight note,     /// joining BFSIndependentWeighingTable since CmpyMasterWeighingPurchAllocationTable     /// does not hold the weight note number directly.     /// </summary>     /// <param name = "_contract">The weighing details contract carrying company, weight note and base price.</param>     /// <returns>The response indicating the success or failure of the operation.</returns>          [SysODataActionAttribute("updatePurchaseLiquidationPrice", false),     SysODataCollectionAttribute("legalEntity", Types::String),     SysODataCollectionAttribute("weightTicketNo", Types::String),     SysODataCollectionAttribute("basePrice", Types::Real)]   ...