I have created a stored procedure in SQL as follows;
ALTER PROCEDURE .[dbo].[stp_SalesItemDetail] -- Add the parameters for the stored procedure here @custnmbr char(15), @itemnmbr char(31), @docdate datetime, @qty numeric(19,5) = 1, @currency char(16) = 'GBP', @custprice numeric(19,5) output, @prcshid char(15) output, @listprice numeric(19,5) output AS BEGIN
Then in dex I have created a procedure called stp_SalesItemDetail with the following code;
sproc returns long sproc_status; in string IN_custnmbr; in string IN_itemnmbr; in currency IN_qty; in string IN_currency; in date IN_docdate; inout currency INOUT_custprce; inout string INOUT_prcshid; inout currency INOUT_listprce; call sproc "stp_SalesItemDetail", sproc_status, IN_custnmbr, IN_itemnmbr, IN_docdate, IN_qty, IN_currency, INOUT_custprce, INOUT_prcshid, INOUT_listprce;
However I am getting Type Incompatibility errors when I try to compile;
Type incompatibility 'script stp_SalesItemDetail Parameter #4' Type incompatibility 'script stp_SalesItemDetail Parameter #5' Type incompatibility 'script stp_SalesItemDetail Parameter #6'
If I change those parameters to strings in the dexterity code it compiles but then those are incorrect?!
*This post is locked for comments
I have the same question (0)


Report
All responses (
Answers (