Skip to main content
Solved

Sales Contract Migration Error

  • June 10, 2026
  • 2 replies
  • 28 views

Forum|alt.badge.img+10

Getting an Error when migrating Sales Contract Header. 

Insert into SALES_CONTRACT_TAB failed - ORA-20110: SalesContract.CONWINPROBERR: Win Probability must be within the range 0 - 100. (Error caused by line: 26)

PLANNED_START_DATE=2006-04-17-00.00.00
PLANNED_FINISH_DATE=2027-04-01-00.00.00
WIN_PROB=100
CUSTOMER_ID=XYZ

Am i missing anything?

Best answer by Makede

Hi ​@FPayab 

the value for field WIN_PROB must be between 0 and 1
While the value is shown in the client as percentage value, it will be saved as absolute value in the database

Here you can see an example. In the client you have a win probability of 100%. But in the database the field WIN_PROB has the value 1

So please try with value 1 instead of 100

Best regards
Martina
 

 

2 replies

FlorianTauber
Hero (Partner)
Forum|alt.badge.img+6

Hi, 

for WIN_PROB = 100 % use 1 as value; for 20% = 0,2 etc..

KR


Forum|alt.badge.img+11
  • Hero (Employee)
  • Answer
  • June 10, 2026

Hi ​@FPayab 

the value for field WIN_PROB must be between 0 and 1
While the value is shown in the client as percentage value, it will be saved as absolute value in the database

Here you can see an example. In the client you have a win probability of 100%. But in the database the field WIN_PROB has the value 1

So please try with value 1 instead of 100

Best regards
Martina