We have a Lawson Oracle Database Table called GLTRASREL, where we need to insert the values from the CSV file and this is taken care by the BizTalk Application. Certain fields in the Table is like
JRNL-BOOK-NBR Alpha 12 GL165 GL65.1
Element: Journal Book NThe journal book assigned to the IFLR.1
transaction.
So when I try pass nothing into this field it says "ORA-01400: cannot insert NULL into ("DEVLAW"."GLTRANSREL"."JRNL_BOOK_NBR")"
In mapping I tried to pass the 12 blank spaces using the Scripting Functoid like
public string GetJournalBookNo()
{
return " ";
}
It again throws the same error. If I give 10 blankspaces with Single quotes (12chars total)like
return ' ';
It inserts but like shown below
How should I be inserting blank spaces in to this field.
Tried enabling tracking to see what is being passed in to the Oracle DB, I see the blank spaces in the field but still throws error like. ORA-01400: cannot insert NULL into ("DEVLAW"."GLTRANSREL"."JRNL_BOOK_NBR")