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
5ea1f24c
Commit
5ea1f24c
authored
May 19, 2025
by
khushal samadhan chavan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace QuatationAmedmentIC.java Done Some Changes
parent
55471e93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
12 deletions
+9
-12
Quotation Amendment/src/ibase/webitm/ejb/vhb/msq1/QuatationAmedmentIC.java
...nt/src/ibase/webitm/ejb/vhb/msq1/QuatationAmedmentIC.java
+9
-12
No files found.
Quotation Amendment/src/ibase/webitm/ejb/vhb/msq1/QuatationAmedmentIC.java
View file @
5ea1f24c
...
...
@@ -21,7 +21,7 @@ import ibase.webitm.utility.ITMException;
public
class
QuatationAmedmentIC
extends
ValidatorEJB
{
E12GenericUtility
genericUtility
=
new
E12GenericUtility
();
public
String
itemChanged
(
Document
dom
,
Document
dom1
,
Document
dom2
,
String
objContext
,
String
currentColumn
,
String
editFlag
,
String
xtraParams
)
throws
RemoteException
,
ITMException
{
...
...
@@ -34,11 +34,11 @@ public class QuatationAmedmentIC extends ValidatorEJB{
Timestamp
quoDate
=
null
;
double
lineNo1
=
0.0
,
quantity
=
0.0
,
rate
=
0.0
,
quantityOld
=
0.0
,
amendmentCount
=
1.0
;
String
ll_line_no
=
""
,
quotNo
=
""
;
String
itemCode
=
""
;
String
itemName
=
""
;
String
itemCode
=
""
;
String
itemName
=
""
;
String
unit
=
""
;
double
quantity1
=
0.0
;
double
rate1
=
0.0
;
double
quantity1
=
0.0
;
double
rate1
=
0.0
;
double
newRate
=
0.0
;
double
oldRate
=
0.0
;
Timestamp
ldt_date
=
new
Timestamp
(
System
.
currentTimeMillis
());
...
...
@@ -74,14 +74,11 @@ public class QuatationAmedmentIC extends ValidatorEJB{
quoDate
=
rs
.
getTimestamp
(
"add_date"
);
exchRate
=
rs
.
getDouble
(
"exch_rate"
);
siteCode
=
rs
.
getString
(
"site_code"
);
}
rs
.
close
();
rs
=
null
;
pstmt
.
close
();
pstmt
=
null
;
setItem
(
dom
,
1
,
"hosp_code"
,
hospCode
);
setItem
(
dom
,
1
,
"hosp_name"
,
hospName
);
setItem
(
dom
,
1
,
"cust_code"
,
custCode
);
...
...
@@ -131,11 +128,11 @@ public class QuatationAmedmentIC extends ValidatorEJB{
{
ls_line_no1
=
0
;
}
String
quotNo1
=
whenNull
(
getItemString
(
dom1
,
1
,
"quot_no"
));
sql
=
" select quot_no , item_code , descr , unit, "
+
" quantity , rate , rate_new , old_rate
,
"
+
" quantity , rate , rate_new , old_rate
"
+
" from sales_quotdet "
+
" where quot_no = ? and line_no = ?"
;
pstmt
=
conn
.
prepareStatement
(
sql
);
...
...
@@ -152,7 +149,7 @@ public class QuatationAmedmentIC extends ValidatorEJB{
rate
=
rs
.
getDouble
(
"rate"
);
newRate
=
rs
.
getDouble
(
"rate_new"
);
oldRate
=
rs
.
getDouble
(
"old_rate"
);
}
setItem
(
dom
,
1
,
"quot_no"
,
quotNo
);
setItem
(
dom
,
1
,
"item_code"
,
itemCode
);
...
...
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