Commit 0496ee52 authored by smestry's avatar smestry

Updated the js file for PO Autosave


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@102972 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9470f143
...@@ -6,7 +6,8 @@ var parserNew; ...@@ -6,7 +6,8 @@ var parserNew;
function supp_pop(field,fieldname,label,extra) function supp_pop(field,fieldname,label,extra)
{ {
if(field == "trans_mode") if(field == "trans_mode")
{ {
extra = document.getElementById("trcode").value extra = document.getElementById("trcode").value
...@@ -1866,6 +1867,14 @@ function form2Pre() ...@@ -1866,6 +1867,14 @@ function form2Pre()
function validate() function validate()
{ {
// Changede by Sneha on 12-08-2016, for validation PO on next button [Start]
if(document.getElementById("purc_order").value != "")
{
validatePurcOrder();
return false;
}
// Changede by Sneha on 12-08-2016, for validation PO on next button [End]
if(document.getElementById("xyz").value == "") if(document.getElementById("xyz").value == "")
{ {
alert("Please Select Supplier Code...!"); alert("Please Select Supplier Code...!");
......
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