Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
Quotation Amendment
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
khushal samadhan chavan
Quotation Amendment
Commits
b6fcdaca
Commit
b6fcdaca
authored
May 27, 2025
by
khushal samadhan chavan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some Changes are Done
parent
5ea1f24c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
14 deletions
+6
-14
Quotation Amendment/src/ibase/webitm/ejb/vhb/msq1/QuatationAmedmentIC.java
...nt/src/ibase/webitm/ejb/vhb/msq1/QuatationAmedmentIC.java
+6
-14
No files found.
Quotation Amendment/src/ibase/webitm/ejb/vhb/msq1/QuatationAmedmentIC.java
View file @
b6fcdaca
...
@@ -20,12 +20,9 @@ import ibase.webitm.utility.ITMException;
...
@@ -20,12 +20,9 @@ import ibase.webitm.utility.ITMException;
public
class
QuatationAmedmentIC
extends
ValidatorEJB
{
public
class
QuatationAmedmentIC
extends
ValidatorEJB
{
E12GenericUtility
genericUtility
=
new
E12GenericUtility
();
E12GenericUtility
genericUtility
=
new
E12GenericUtility
();
public
String
itemChanged
(
Document
dom
,
Document
dom1
,
Document
dom2
,
String
objContext
,
String
currentColumn
,
String
editFlag
,
String
xtraParams
)
throws
RemoteException
,
ITMException
public
String
itemChanged
(
Document
dom
,
Document
dom1
,
Document
dom2
,
String
objContext
,
String
currentColumn
,
String
editFlag
,
String
xtraParams
)
throws
RemoteException
,
ITMException
{
{
BaseLogger
.
log
(
"3"
,
getUserInfo
(),
null
,
"Inside itemchanged method 111111"
);
BaseLogger
.
log
(
"3"
,
getUserInfo
(),
null
,
"Inside itemchanged method
khushal
111111"
);
ResultSet
rs
=
null
;
ResultSet
rs
=
null
;
PreparedStatement
pstmt
=
null
;
PreparedStatement
pstmt
=
null
;
String
sql
=
""
,
loginSite
=
""
,
hospCode
=
""
,
hospName
=
""
,
custCode
=
""
,
custName
=
""
,
currCode
=
""
,
siteCode
=
""
,
QuotNo
=
""
,
ls_line_no
=
""
;
String
sql
=
""
,
loginSite
=
""
,
hospCode
=
""
,
hospName
=
""
,
custCode
=
""
,
custName
=
""
,
currCode
=
""
,
siteCode
=
""
,
QuotNo
=
""
,
ls_line_no
=
""
;
...
@@ -128,11 +125,10 @@ public class QuatationAmedmentIC extends ValidatorEJB{
...
@@ -128,11 +125,10 @@ public class QuatationAmedmentIC extends ValidatorEJB{
{
{
ls_line_no1
=
0
;
ls_line_no1
=
0
;
}
}
String
quotNo1
=
whenNull
(
getItemString
(
dom1
,
1
,
"quot_no"
));
String
quotNo1
=
whenNull
(
getItemString
(
dom1
,
1
,
"quot_no"
));
sql
=
" select quot_no , item_code , descr , unit, "
+
sql
=
" select quot_no , item_code , descr , unit, "
+
" quantity , rate
, rate_new , old_rate
"
+
" quantity , rate "
+
" from sales_quotdet "
+
" from sales_quotdet "
+
" where quot_no = ? and line_no = ?"
;
" where quot_no = ? and line_no = ?"
;
pstmt
=
conn
.
prepareStatement
(
sql
);
pstmt
=
conn
.
prepareStatement
(
sql
);
...
@@ -147,18 +143,14 @@ public class QuatationAmedmentIC extends ValidatorEJB{
...
@@ -147,18 +143,14 @@ public class QuatationAmedmentIC extends ValidatorEJB{
unit
=
rs
.
getString
(
"unit"
);
unit
=
rs
.
getString
(
"unit"
);
quantity1
=
rs
.
getDouble
(
"quantity"
);
quantity1
=
rs
.
getDouble
(
"quantity"
);
rate
=
rs
.
getDouble
(
"rate"
);
rate
=
rs
.
getDouble
(
"rate"
);
newRate
=
rs
.
getDouble
(
"rate_new"
);
oldRate
=
rs
.
getDouble
(
"old_rate"
);
}
}
setItem
(
dom
,
1
,
"quot_no"
,
quotNo
);
setItem
(
dom
,
1
,
"quot_no"
,
quotNo
);
setItem
(
dom
,
1
,
"item_code"
,
itemCode
);
setItem
(
dom
,
1
,
"item_code"
,
itemCode
);
setItem
(
dom
,
1
,
"item_name"
,
itemName
);
setItem
(
dom
,
1
,
"item_name"
,
itemName
);
setItem
(
dom
,
1
,
"unit"
,
unit
);
setItem
(
dom
,
1
,
"unit"
,
unit
);
setItem
(
dom
,
1
,
"quantity"
,
String
.
valueOf
(
quantity1
));
setItem
(
dom
,
1
,
"quantity__o"
,
String
.
valueOf
(
quantity1
));
setItem
(
dom
,
1
,
"rate"
,
rate
);
setItem
(
dom
,
1
,
"rate_new__o"
,
rate
);
setItem
(
dom
,
1
,
"rate_new"
,
newRate
);
setItem
(
dom
,
1
,
"rate_new__o"
,
oldRate
);
rs
.
close
();
rs
.
close
();
rs
=
null
;
rs
=
null
;
pstmt
.
close
();
pstmt
.
close
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment