pears.RSCalcMargin

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

Original SQL

CREATE FUNCTION "pears"."RSCalcMargin"( 
  IN @RSMasterID CHAR(20),IN @Instance CHAR(20),IN @Holpay DOUBLE,IN @NI DOUBLE,IN @Levy DOUBLE ) 
RETURNS DOUBLE
BEGIN
  /* deal with any custom tables/views */
  /* return blank if OK otherwise error message  */
  RETURN 10
END