Quantcast
Channel: OTMFAQ Forums
Viewing all articles
Browse latest Browse all 2772

SHIP_UNIT_LINE_REMARK REMARK_SEQUENCE must be set

$
0
0
Hello,
I'm trying to add a remark field to the screen OrderReleaseShipUnitLine, I've defined a remark qualifier with the query SHIP UNIT LINE and added the below code in this screen manager layout JSP file
<gc3Remark:Remarks child_element="ship_unit_line_remark" dataQueryType="SHIP UNIT LINE" main_element="ship_unit_line" master_element="ship_unit_line_remarks" query_name="glog.server.query.order.ShipUnitLineQu ery" remarkQualXid="remark_qual_xid"/>

when inserting a value in the remark text and trying to save it throughs the following exception
Errorinsert into ship_unit_line_remark (ship_unit_gid,ship_unit_line_no,remark_sequence,r emark_qual_gid,remark_text,domain_name) values (?,?,?,?,?,?) at [EGYTRANS/CA.OR-R-CA-0004-2014-001, 1, null, null, null, EGYTRANS/CA]Cannot insert the SHIP_UNIT_LINE_REMARK record. REMARK_SEQUENCE must be set.java.sql.BatchUpdateException: ORA-01400: cannot insert NULL into ("GLOGOWNER"."SHIP_UNIT_LINE_REMARK"."REMARK_SEQUE NCE")


Please advice

Viewing all articles
Browse latest Browse all 2772

Trending Articles