Commit f51a30a5 authored by SABURI PATEKAR's avatar SABURI PATEKAR

Fixed Freight component XML, SRD, and Empty Transit Type validation issues

parent d2984ffc
...@@ -46,3 +46,22 @@ SET ...@@ -46,3 +46,22 @@ SET
OBJ_EDIT_NAME = 'frt_rate22' OBJ_EDIT_NAME = 'frt_rate22'
WHERE WIN_NAME = 'w_frt_rate' WHERE WIN_NAME = 'w_frt_rate'
AND FORM_NO = '2'; AND FORM_NO = '2';
-- 03-AUG-2026
ALTER TABLE FREIGHT_CHARGES_TABLE ADD FRT_CHGS_TABLE CHAR(10);
ALTER TABLE FREIGHT_CHARGES_TABLE MODIFY FRT_CHGS_TABLE NOT NULL;
ALTER TABLE FREIGHT_CHARGES_TABLE ADD CHARGE_CODE VARCHAR2(10);
ALTER TABLE FREIGHT_CHARGES_TABLE MODIFY CHARGE_CODE NOT NULL;
ALTER TABLE FREIGHT_CHARGES_TABLE ADD LOAD_TYPE CHAR(1);
ALTER TABLE FREIGHT_CHARGES_TABLE MODIFY LOAD_TYPE NOT NULL;
ALTER TABLE FREIGHT_CHARGES_TABLE ADD LOAD_DESCR VARCHAR2(60);
ALTER TABLE FREIGHT_CHARGES_TABLE ADD CHARGES_MODE CHAR(1);
ALTER TABLE FREIGHT_CHARGES_TABLE ADD AMOUNT NUMBER(14,3);
ALTER TABLE FREIGHT_CHARGES_TABLE ADD SEQUENCE NUMBER(3);
ALTER TABLE FREIGHT_CHARGES_TABLE ADD CHARGE_CODE__ADD VARCHAR2(250);
INSERT INTO MESSAGES
(MSG_NO, MSG_STR, MSG_DESCR, MSG_TYPE, MSG_OPT, MSG_TIME, ALARM, ERR_SOURCE, CHG_DATE, CHG_USER, CHG_TERM, OVERRIDE_INPUT, MAIL_OPTION)
VALUES
('VMBSTRNT ', 'Empty Transit Type !', 'Transit Type cannot be empty.', 'E', 'Y', NULL, NULL, NULL, TO_DATE('10-SEP-26','DD-MON-RR'), 'BASE ', '99BASE004', NULL, NULL);
$PBExportHeader$d_freight_det_rate_brow.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=36 color="536870912" )
summary(height=0 color="536870912" )
footer(height=2 color="536870912" )
detail(height=23 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=frt_list dbname="freight_rate_det.frt_list" )
column=(type=char(3) update=yes updatewhereclause=yes key=yes name=line_no dbname="freight_rate_det.line_no" )
column=(type=char(5) update=yes updatewhereclause=yes name=dist_from dbname="freight_rate_det.dist_from" )
column=(type=char(5) update=yes updatewhereclause=yes name=dist_to dbname="freight_rate_det.dist_to" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=frt_rate dbname="freight_rate_det.frt_rate" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"freight_rate_det~" ) TABLE(NAME=~"freight_rate~" ) COLUMN(NAME=~"freight_rate_det.frt_list~") COLUMN(NAME=~"freight_rate_det.line_no~") COLUMN(NAME=~"freight_rate_det.dist_from~") COLUMN(NAME=~"freight_rate_det.dist_to~") COLUMN(NAME=~"freight_rate_det.frt_rate~") JOIN (LEFT=~"freight_rate_det.frt_list~" OP =~"=~"RIGHT=~"freight_rate.frt_list~" OUTER1 =~"freight_rate_det.frt_list~" )WHERE( EXP1 =~"freight_rate_det.frt_list~" OP =~"=~" EXP2 =~":frt_list~" ) ) ARG(NAME = ~"frt_list~" TYPE = string) " update="freight_rate_det" updatewhere=1 updatekeyinplace=no arguments=(("frt_list", string)) )
text(band=header alignment="2" text="Freight List" border="2" color="0" x="2" y="2" height="16" width="95" html.valueishtml="0" name=frt_list_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Line No" border="2" color="0" x="99" y="2" height="16" width="95" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Dist From" border="2" color="0" x="196" y="2" height="16" width="95" html.valueishtml="0" name=dist_from_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Dist To" border="2" color="0" x="293" y="2" height="16" width="95" html.valueishtml="0" name=dist_to_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Freight Rate" border="2" color="0" x="390" y="2" height="16" width="95" html.valueishtml="0" name=frt_rate_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="2" color="33554432" x="2" y="2" height="19" width="95" format="[general]" html.valueishtml="0" name=frt_list visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="2" color="33554432" x="99" y="2" height="19" width="95" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=3 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 edit.displayonly=yes font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=10 border="2" color="33554432" x="196" y="2" height="19" width="95" format="[general]" html.valueishtml="0" name=dist_from visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=20 border="2" color="33554432" x="293" y="2" height="19" width="95" format="[general]" html.valueishtml="0" name=dist_to visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="1" tabsequence=30 border="2" color="33554432" x="390" y="2" height="19" width="95" format="[general]" html.valueishtml="0" name=frt_rate visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_freight_det_rate_edit.srd
release 9;
datawindow(units=1 timer_interval=0 color=1073741824 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=313 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=frt_list dbname="freight_rate_det.frt_list" )
column=(type=char(3) update=yes updatewhereclause=yes key=yes name=line_no dbname="freight_rate_det.line_no" )
column=(type=char(5) update=yes updatewhereclause=yes name=dist_from dbname="freight_rate_det.dist_from" )
column=(type=char(5) update=yes updatewhereclause=yes name=dist_to dbname="freight_rate_det.dist_to" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=frt_rate dbname="freight_rate_det.frt_rate" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"freight_rate_det~" ) TABLE(NAME=~"freight_rate~" ) COLUMN(NAME=~"freight_rate_det.frt_list~") COLUMN(NAME=~"freight_rate_det.line_no~") COLUMN(NAME=~"freight_rate_det.dist_from~") COLUMN(NAME=~"freight_rate_det.dist_to~") COLUMN(NAME=~"freight_rate_det.frt_rate~") JOIN (LEFT=~"freight_rate_det.frt_list~" OP =~"=~"RIGHT=~"freight_rate.frt_list~" OUTER1 =~"freight_rate_det.frt_list~" )WHERE( EXP1 =~"freight_rate_det.frt_list~" OP =~"=~" EXP2 =~":frt_list~" ) ) ARG(NAME = ~"frt_list~" TYPE = string) " update="freight_rate_det" updatewhere=1 updatekeyinplace=no arguments=(("frt_list", string)) )
groupbox(band=detail text="Basic"border="2" color="33554432" x="223" y="46" height="204" width="241" name=gb_1 visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=detail alignment="1" text="Dist From:" border="2" color="0" x="269" y="139" height="16" width="61" html.valueishtml="0" name=dist_from_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Dist To:" border="2" color="0" x="269" y="173" height="16" width="61" html.valueishtml="0" name=dist_to_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=20 border="2" color="0" x="334" y="173" height="16" width="61" format="[general]" html.valueishtml="0" name=dist_to visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Freight Rate:" border="2" color="0" x="255" y="207" height="16" width="75" html.valueishtml="0" name=frt_rate_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="1" tabsequence=30 border="2" color="0" x="334" y="207" height="16" width="61" format="[general]" html.valueishtml="0" name=frt_rate visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="2" color="0" x="334" y="105" height="16" width="61" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=3 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=10 border="2" color="0" x="334" y="139" height="16" width="61" format="[general]" html.valueishtml="0" name=dist_from visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Freight List:" border="2" color="0" x="261" y="71" height="16" width="69" html.valueishtml="0" name=frt_list_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="2" color="0" x="334" y="71" height="16" width="61" format="[general]" html.valueishtml="0" name=frt_list visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Line No:" border="2" color="0" x="269" y="105" height="16" width="61" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment