Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
Component Sharing
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
0
Merge Requests
0
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
Gagandeep Singh Bhatia
Component Sharing
Commits
8e466ae9
Commit
8e466ae9
authored
Mar 20, 2026
by
SABURI PATEKAR
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added srd and rfq sql queries and xsl files
parent
a3be2b75
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
780 additions
and
0 deletions
+780
-0
Saburi/20-03-16#RFQ AND RFQ WIZ/XSL/rfq.xsl
Saburi/20-03-16#RFQ AND RFQ WIZ/XSL/rfq.xsl
+323
-0
Saburi/20-03-16#RFQ AND RFQ WIZ/XSL/rfq1.xsl
Saburi/20-03-16#RFQ AND RFQ WIZ/XSL/rfq1.xsl
+349
-0
Saburi/20-03-16#RFQ AND RFQ WIZ/sql/rfq and rfq_qiz queries.sql
.../20-03-16#RFQ AND RFQ WIZ/sql/rfq and rfq_qiz queries.sql
+0
-0
Saburi/27-02-26#CUSTOMER_PREF_DIST/SRD/customer_pref_dist_brow.srd
...-02-26#CUSTOMER_PREF_DIST/SRD/customer_pref_dist_brow.srd
+56
-0
Saburi/27-02-26#CUSTOMER_PREF_DIST/SRD/customer_pref_dist_edit.srd
...-02-26#CUSTOMER_PREF_DIST/SRD/customer_pref_dist_edit.srd
+52
-0
No files found.
Saburi/20-03-16#RFQ AND RFQ WIZ/XSL/rfq.xsl
0 → 100644
View file @
8e466ae9
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
version=
"1.0"
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
>
<xsl:output
method=
"html"
/>
<xsl:template
match=
"/"
>
<html>
<head>
<LINK
type=
"text/css"
rel=
"stylesheet"
href=
"/ibase/css/display_budget.css"
/>
<LINK
type=
"text/css"
rel=
"stylesheet"
href=
"/ibase/css/workflowsign.css"
/>
<style>
body{
background:#f7f9fc;
font-family:Segoe UI, Arial, Helvetica, sans-serif;
margin:0;
font-size:13px;
color:#2c3e50;
}
/* CARD */
.card{
margin:14px;
background:#fff;
border-radius:8px;
padding:16px;
border:1px solid #e6e9ef;
box-shadow:0 2px 6px rgba(0,0,0,0.05);
}
/* TITLE - LEFT WITH HIGHLIGHT BAR */
.title{
font-weight: 600;
margin-bottom: 10px;
padding-bottom: 6px;
border-bottom: 1px solid #eee;
position: relative;
padding-left: 20px;
font-size: 15px;
text-align: left !important;
}
/* left blue bar */
.title:before{
content:"";
position:absolute;
left:0;
top:2px;
height:18px;
width:4px;
background:#4a90e2;
border-radius:2px;
}
/* GRID */
.grid{
display:flex;
flex-wrap:wrap;
}
.field{
width:50%;
margin-bottom:10px;
}
/* LABEL */
.label{
font-weight:600;
width:150px;
display:inline-block;
color:#6b7785;
}
/* VALUE */
.value{
color:#1f2d3d;
}
/* TABLE CARD */
.tableCard{
margin:14px;
background:#fff;
border-radius:8px;
padding:12px;
border:1px solid #e6e9ef;
box-shadow:0 2px 6px rgba(0,0,0,0.05);
}
/* TABLE TITLE */
.tableTitle{
font-weight:600;
margin-bottom:10px;
padding-bottom:6px;
border-bottom:1px solid #eee;
position:relative;
padding-left:17px;
}
/* left green bar */
.tableTitle:before{
content:"";
position:absolute;
left:0;
top:2px;
height:16px;
width:4px;
background:#22c55e;
border-radius:2px;
}
/* TABLE */
.tbl{
width:100%;
border-collapse:separate;
border-spacing:0;
font-size:12px;
}
/* HEADER */
.tbl th{
background:#f1f5fb;
color:#2c3e50;
padding:8px;
font-size:12px;
text-align:left;
border-bottom:1px solid #e5e7eb;
white-space:nowrap;
}
/* CELLS */
.tbl td{
padding:8px;
border-bottom:1px solid #eef1f5;
white-space:nowrap;
}
/* ROW STYLE */
.tbl tr:nth-child(even){
background:#fafbfe;
}
.tbl tr:hover{
background:#eef4ff;
}
/* ALIGNMENT */
.right{
text-align:right;
font-variant-numeric: tabular-nums;
}
</style>
</head>
<body>
<div>
<xsl:apply-templates
select=
"//Detail1"
/>
</div>
</body>
</html>
</xsl:template>
<xsl:template
match=
"Detail1"
>
<div
class=
"card"
>
<div
class=
"title"
>
REQUEST FOR QUOTATION ( Quotation Team )
</div>
<div
class=
"grid"
>
<div
class=
"field"
>
<span
class=
"label"
>
RFQ No :
</span>
<span
class=
"value"
><xsl:value-of
select=
"tran_id"
/></span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
RFQ Date :
</span>
<span
class=
"value"
><xsl:value-of
select=
"tran_date"
/></span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
Quotation Type :
</span>
<span
class=
"value"
>
<xsl:choose>
<xsl:when
test=
"quot_type = 'C'"
>
Customer
</xsl:when>
<xsl:when
test=
"quot_type = 'I'"
>
Institute
</xsl:when>
<xsl:when
test=
"quot_type = 'G'"
>
Group
</xsl:when>
<xsl:otherwise><xsl:value-of
select=
"quot_type"
/></xsl:otherwise>
</xsl:choose>
</span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
Customer :
</span>
<span
class=
"value"
><xsl:value-of
select=
"cust_code"
/></span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
Contact Person :
</span>
<span
class=
"value"
><xsl:value-of
select=
"contact_pers"
/></span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
Item Series :
</span>
<span
class=
"value"
><xsl:value-of
select=
"item_ser"
/></span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
Required Date :
</span>
<span
class=
"value"
><xsl:value-of
select=
"req_date"
/></span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
Valid Upto :
</span>
<span
class=
"value"
><xsl:value-of
select=
"valid_upto"
/></span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
Sales Person :
</span>
<span
class=
"value"
><xsl:value-of
select=
"sales_pers"
/></span>
</div>
</div>
</div>
<div
class=
"tableCard"
>
<div
class=
"tableTitle"
>
Item Details
</div>
<div
style=
"max-height:400px; overflow:auto;"
>
<table
class=
"tbl"
>
<tr>
<th>
Line
</th>
<th>
Item
</th>
<th>
Qty
</th>
<th>
Unit
</th>
<th>
Pack
</th>
<th>
Competitor Item
</th>
<th>
Competitor Name
</th>
<th>
Competitor Rate
</th>
<th>
Special Rate
</th>
<th>
Management Approved Rate
</th>
<th>
Price To Stockist
</th>
<th>
Price To Distributor
</th>
<th>
Price To Retailer
</th>
<th>
Revised: Price To Stockist
</th>
<th>
Revised: Price To Distributor
</th>
<th>
Revised: Price To Retailer
</th>
<th>
Remarks
</th>
</tr>
<xsl:for-each
select=
"//Detail2"
>
<tr>
<td>
<xsl:value-of
select=
"item_code"
/>
<xsl:text>
-
</xsl:text>
<xsl:value-of
select=
"descr"
/>
</td>
<td
class=
"right"
>
<xsl:value-of
select=
"format-number(qty_quot,'#,##0.00')"
/>
</td>
<td><xsl:value-of
select=
"unit"
/></td>
<td><xsl:value-of
select=
"pack_code"
/></td>
<td><xsl:value-of
select=
"competitor_item"
/></td>
<td><xsl:value-of
select=
"competitor_name"
/></td>
<td
class=
"right"
>
<xsl:value-of
select=
"format-number(competitor_rate,'#,##0.00')"
/>
</td>
<td
class=
"right"
>
<xsl:value-of
select=
"format-number(rate_quot,'#,##0.00')"
/>
</td>
<td
class=
"right"
>
<xsl:value-of
select=
"format-number(rate_apprv,'#,##0.00')"
/>
</td>
<td
class=
"right"
><xsl:value-of
select=
"format-number(pts, '#,##0.00')"
/></td>
<td
class=
"right"
><xsl:value-of
select=
"format-number(ptd, '#,##0.00')"
/></td>
<td
class=
"right"
><xsl:value-of
select=
"format-number(ptr, '#,##0.00')"
/></td>
<td
class=
"right"
><xsl:value-of
select=
"format-number(revised_pts, '#,##0.00')"
/></td>
<td
class=
"right"
><xsl:value-of
select=
"format-number(revised_ptd, '#,##0.00')"
/></td>
<td
class=
"right"
><xsl:value-of
select=
"format-number(revised_ptr, '#,##0.00')"
/></td>
<td><xsl:value-of
select=
"remarks"
/></td>
</tr>
</xsl:for-each>
</table>
</div>
</div>
</xsl:template>
</xsl:stylesheet>
Saburi/20-03-16#RFQ AND RFQ WIZ/XSL/rfq1.xsl
0 → 100644
View file @
8e466ae9
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
version=
"1.0"
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
>
<xsl:output
method=
"html"
/>
<xsl:template
match=
"/"
>
<html>
<head>
<LINK
type=
"text/css"
rel=
"stylesheet"
href=
"/ibase/css/display_budget.css"
/>
<LINK
type=
"text/css"
rel=
"stylesheet"
href=
"/ibase/css/workflowsign.css"
/>
<style>
body{
background:#f7f9fc;
font-family:Segoe UI, Arial, Helvetica, sans-serif;
margin:0;
font-size:13px;
color:#2c3e50;
}
/* CARD */
.card{
margin:14px;
background:#fff;
border-radius:8px;
padding:16px;
border:1px solid #e6e9ef;
box-shadow:0 2px 6px rgba(0,0,0,0.05);
}
/* TITLE - LEFT WITH HIGHLIGHT BAR */
.title
{
font-size: 17px;
font-weight: 600;
margin-bottom: 14px;
padding-bottom: 6px;
padding-right: 180px;
border-bottom: 1px solid #eee;
position: sticky;
text-align: left !important;
}
/* left blue bar */
.title:before{
content:"";
position:absolute;
left:0;
top:2px;
height:18px;
width:4px;
background:#4a90e2;
border-radius:2px;
}
/* GRID */
.grid{
display:flex;
flex-wrap:wrap;
}
.field{
width:50%;
margin-bottom:10px;
}
/* LABEL */
.label{
font-weight:600;
width:150px;
display:inline-block;
color:#6b7785;
}
/* VALUE */
.value{
color:#1f2d3d;
}
/* TABLE CARD */
.tableCard{
margin:14px;
background:#fff;
border-radius:8px;
padding:12px;
border:1px solid #e6e9ef;
box-shadow:0 2px 6px rgba(0,0,0,0.05);
}
/* TABLE TITLE */
.tableTitle{
font-weight:600;
margin-bottom:10px;
padding-bottom:6px;
border-bottom:1px solid #eee;
position:relative;
padding-left: 20px;
}
/* left green bar */
.tableTitle:before{
content:"";
position:absolute;
left:0;
top:2px;
height:16px;
width:4px;
background:#22c55e;
border-radius:2px;
}
/* TABLE */
.tbl{
width:100%;
border-collapse:separate;
border-spacing:0;
font-size:12px;
}
/* HEADER */
.tbl th{
background:#f1f5fb;
color:#2c3e50;
padding:8px;
font-size:12px;
text-align:left;
border-bottom:1px solid #e5e7eb;
white-space:nowrap;
}
/* CELLS */
.tbl td{
padding:8px;
border-bottom:1px solid #eef1f5;
white-space:nowrap;
}
/* ROW STYLE */
.tbl tr:nth-child(even){
background:#fafbfe;
}
.tbl tr:hover{
background:#eef4ff;
}
/* ALIGNMENT */
.right{
text-align:right;
font-variant-numeric: tabular-nums;
}
/* subtle highlight for approved */
.tbl td:nth-child(9){
background:#f0fdf4;
font-weight:600;
color:#15803d;
}
.inputRate{
width:90px;
padding:4px 6px;
border:1px solid #d1d5db;
border-radius:4px;
text-align:right;
font-size:12px;
}
.inputRate:focus{
outline:none;
border-color:#4a90e2;
box-shadow:0 0 0 2px rgba(74,144,226,0.15);
}
</style>
</head>
<body>
<div>
<xsl:apply-templates
select=
"//Detail1"
/>
</div>
</body>
</html>
</xsl:template>
<xsl:template
match=
"Detail1"
>
<div
class=
"card"
>
<div
class=
"title"
>
REQUEST FOR QUOTATION ( Management Team )
</div>
<div
class=
"grid"
>
<div
class=
"field"
>
<span
class=
"label"
>
RFQ No :
</span>
<span
class=
"value"
><xsl:value-of
select=
"tran_id"
/></span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
RFQ Date :
</span>
<span
class=
"value"
><xsl:value-of
select=
"tran_date"
/></span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
Quotation Type :
</span>
<span
class=
"value"
>
<xsl:choose>
<xsl:when
test=
"quot_type = 'C'"
>
Customer
</xsl:when>
<xsl:when
test=
"quot_type = 'I'"
>
Institute
</xsl:when>
<xsl:when
test=
"quot_type = 'G'"
>
Group
</xsl:when>
<xsl:otherwise><xsl:value-of
select=
"quot_type"
/></xsl:otherwise>
</xsl:choose>
</span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
Customer :
</span>
<span
class=
"value"
><xsl:value-of
select=
"cust_code"
/></span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
Contact Person :
</span>
<span
class=
"value"
><xsl:value-of
select=
"contact_pers"
/></span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
Item Series :
</span>
<span
class=
"value"
><xsl:value-of
select=
"item_ser"
/></span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
Required Date :
</span>
<span
class=
"value"
><xsl:value-of
select=
"req_date"
/></span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
Valid Upto :
</span>
<span
class=
"value"
><xsl:value-of
select=
"valid_upto"
/></span>
</div>
<div
class=
"field"
>
<span
class=
"label"
>
Sales Person :
</span>
<span
class=
"value"
><xsl:value-of
select=
"sales_pers"
/></span>
</div>
</div>
</div>
<div
class=
"tableCard"
>
<div
class=
"tableTitle"
>
Item Details
</div>
<div
style=
"max-height:400px; overflow:auto;"
>
<table
class=
"tbl"
>
<tr>
<th>
Item
</th>
<th>
Qty
</th>
<th>
Unit
</th>
<th>
Pack
</th>
<th>
Competitor Item
</th>
<th>
Competitor Name
</th>
<th>
Competitor Rate
</th>
<th>
Special Rate
</th>
<th>
Management Approved Rate
</th>
<th>
Price To Stockist
</th>
<th>
Price To Distributor
</th>
<th>
Price To Retailer
</th>
<th>
Revised: Price To Stockist
</th>
<th>
Revised: Price To Distributor
</th>
<th>
Revised: Price To Retailer
</th>
<th>
Remarks
</th>
</tr>
<xsl:for-each
select=
"//Detail2"
>
<tr>
<td>
<xsl:value-of
select=
"item_code"
/>
<xsl:text>
-
</xsl:text>
<xsl:value-of
select=
"descr"
/>
</td>
<td
class=
"right"
>
<xsl:value-of
select=
"format-number(qty_quot,'#,##0.00')"
/>
</td>
<td><xsl:value-of
select=
"unit"
/></td>
<td><xsl:value-of
select=
"pack_code"
/></td>
<td><xsl:value-of
select=
"competitor_item"
/></td>
<td><xsl:value-of
select=
"competitor_name"
/></td>
<td
class=
"right"
>
<xsl:value-of
select=
"format-number(competitor_rate,'#,##0.00')"
/>
</td>
<td
class=
"right"
>
<xsl:value-of
select=
"format-number(rate_quot,'#,##0.00')"
/>
</td>
<td
class=
"right"
>
<input
type=
"text"
class=
"inputRate"
>
<xsl:attribute
name=
"value"
>
<xsl:value-of
select=
"format-number(rate_apprv,'#,##0.00')"
/>
</xsl:attribute>
</input>
</td>
<td
class=
"right"
><xsl:value-of
select=
"format-number(pts,'#,##0.00')"
/></td>
<td
class=
"right"
><xsl:value-of
select=
"format-number(ptd,'#,##0.00')"
/></td>
<td
class=
"right"
><xsl:value-of
select=
"format-number(ptr,'#,##0.00')"
/></td>
<td
class=
"right"
><xsl:value-of
select=
"format-number(revised_pts,'#,##0.00')"
/></td>
<td
class=
"right"
><xsl:value-of
select=
"format-number(revised_ptd,'#,##0.00')"
/></td>
<td
class=
"right"
><xsl:value-of
select=
"format-number(revised_ptr,'#,##0.00')"
/></td>
<td><xsl:value-of
select=
"remarks"
/></td>
</tr>
</xsl:for-each>
</table>
</div>
</div>
</xsl:template>
</xsl:stylesheet>
Saburi/
RFQ AND RFQ WIZ
/rfq and rfq_qiz queries.sql
→
Saburi/
20-03-16#RFQ AND RFQ WIZ/sql
/rfq and rfq_qiz queries.sql
View file @
8e466ae9
File moved
Saburi/27-02-26#CUSTOMER_PREF_DIST/SRD/customer_pref_dist_brow.srd
0 → 100644
View file @
8e466ae9
$PBExportHeader$customer_pref_dist_bro.srd
release 9;
datawindow(units=1 timer_interval=0 color=1073741824 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=20 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=23 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=cust_code dbname="customer_pref_dist.cust_code" )
column=(type=char(10) update=yes updatewhereclause=yes key=yes name=cust_code__stk dbname="customer_pref_dist.cust_code__stk" )
column=(type=char(10) update=yes updatewhereclause=yes name=cust_code__dist dbname="customer_pref_dist.cust_code__dist" )
column=(type=datetime update=yes updatewhereclause=yes name=add_date dbname="customer_pref_dist.add_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=add_user dbname="customer_pref_dist.add_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=add_term dbname="customer_pref_dist.add_term" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="customer_pref_dist.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="customer_pref_dist.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="customer_pref_dist.chg_term" )
column=(type=char(50) updatewhereclause=yes name=cust_name dbname="customer.cust_name" )
column=(type=char(20) updatewhereclause=yes name=city dbname="customer.city" )
column=(type=char(50) updatewhereclause=yes name=cust_name_1 dbname="customer.cust_name" )
column=(type=char(50) updatewhereclause=yes name=cust_name_2 dbname="customer.cust_name" )
column=(type=char(5) updatewhereclause=yes name=site_code__pbus dbname="customer.site_code__pbus" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"customer_pref_dist~" ) TABLE(NAME=~"customer~" ALIAS=~"customer_a~" ) TABLE(NAME=~"customer~" ALIAS=~"customer_b~" ) TABLE(NAME=~"customer~" ALIAS=~"customer_c~" ) COLUMN(NAME=~"customer_pref_dist.cust_code~") COLUMN(NAME=~"customer_pref_dist.cust_code__stk~") COLUMN(NAME=~"customer_pref_dist.cust_code__dist~") COLUMN(NAME=~"customer_pref_dist.add_date~") COLUMN(NAME=~"customer_pref_dist.add_user~") COLUMN(NAME=~"customer_pref_dist.add_term~") COLUMN(NAME=~"customer_pref_dist.chg_date~") COLUMN(NAME=~"customer_pref_dist.chg_user~") COLUMN(NAME=~"customer_pref_dist.chg_term~") COLUMN(NAME=~"customer_a.cust_name~") COLUMN(NAME=~"customer_a.city~") COLUMN(NAME=~"customer_c.cust_name~") COLUMN(NAME=~"customer_b.cust_name~") COLUMN(NAME=~"customer_c.site_code__pbus~") JOIN (LEFT=~"customer_pref_dist.cust_code~" OP =~"=~"RIGHT=~"customer_a.cust_code~" OUTER1 =~"customer_pref_dist.cust_code~" ) JOIN (LEFT=~"customer_pref_dist.cust_code__stk~" OP =~"=~"RIGHT=~"customer_b.cust_code~" OUTER1 =~"customer_pref_dist.cust_code__stk~" ) JOIN (LEFT=~"customer_pref_dist.cust_code__dist~" OP =~"=~"RIGHT=~"customer_c.cust_code~" OUTER1 =~"customer_pref_dist.cust_code__dist~" )) " update="customer_pref_dist" updatewhere=1 updatekeyinplace=no )
text(band=header alignment="2" text="Customer :" border="2" color="33554432" x="2" y="2" height="16" width="66" html.valueishtml="0" name=cust_code_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="Stockist :" border="2" color="33554432" x="70" y="2" height="16" width="89" html.valueishtml="0" name=cust_code__stk_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="Distributor :" border="2" color="33554432" x="161" y="2" height="16" width="92" html.valueishtml="0" name=cust_code__dist_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="Add Date" border="2" color="33554432" x="255" y="2" height="16" width="132" html.valueishtml="0" name=add_date_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="Add User" border="2" color="33554432" x="389" y="2" height="16" width="66" html.valueishtml="0" name=add_user_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="Add Term" border="2" color="33554432" x="457" y="2" height="16" width="96" html.valueishtml="0" name=add_term_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="Chg Date" border="2" color="33554432" x="555" y="2" height="16" width="132" html.valueishtml="0" name=chg_date_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="Chg User" border="2" color="33554432" x="689" y="2" height="16" width="66" html.valueishtml="0" name=chg_user_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="Chg Term" border="2" color="33554432" x="757" y="2" height="16" width="96" html.valueishtml="0" name=chg_term_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=10 border="2" color="33554432" x="2" y="2" height="19" width="66" format="[general]" html.valueishtml="0" name=cust_code 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=20 border="2" color="33554432" x="70" y="2" height="19" width="89" format="[general]" html.valueishtml="0" name=cust_code__stk 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=3 alignment="0" tabsequence=30 border="2" color="33554432" x="161" y="2" height="19" width="92" format="[general]" html.valueishtml="0" name=cust_code__dist 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=4 alignment="0" tabsequence=40 border="2" color="33554432" x="255" y="2" height="19" width="132" format="[shortdate] [time]" html.valueishtml="0" name=add_date 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=5 alignment="0" tabsequence=50 border="2" color="33554432" x="389" y="2" height="19" width="66" format="[general]" html.valueishtml="0" name=add_user 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=6 alignment="0" tabsequence=60 border="2" color="33554432" x="457" y="2" height="19" width="96" format="[general]" html.valueishtml="0" name=add_term visible="1" edit.limit=15 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=7 alignment="0" tabsequence=70 border="2" color="33554432" x="555" y="2" height="19" width="132" format="[shortdate] [time]" html.valueishtml="0" name=chg_date 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=8 alignment="0" tabsequence=80 border="2" color="33554432" x="689" y="2" height="19" width="66" format="[general]" html.valueishtml="0" name=chg_user 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=9 alignment="0" tabsequence=90 border="2" color="33554432" x="757" y="2" height="19" width="96" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 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=10 alignment="0" tabsequence=32766 border="0" color="33554432" x="856" y="0" height="16" width="293" html.valueishtml="0" name=cust_name 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="0" text="Customer Name" border="0" color="33554432" x="855" y="1" height="19" width="294" html.valueishtml="0" name=cust_name_t 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" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="0" color="33554432" x="1152" y="0" height="16" width="116" html.valueishtml="0" name=city 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="0" text="City" border="0" color="33554432" x="1151" y="1" height="19" width="117" html.valueishtml="0" name=city_t 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" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="0" color="33554432" x="1271" y="0" height="16" width="293" html.valueishtml="0" name=cust_name_1 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="0" text="Stockist Name :" border="0" color="33554432" x="1270" y="1" height="19" width="294" html.valueishtml="0" name=customer_cust_name_1_t 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" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="0" color="33554432" x="1567" y="0" height="16" width="293" html.valueishtml="0" name=cust_name_2 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="0" text="Distributor Name :" border="0" color="33554432" x="1566" y="1" height="19" width="294" html.valueishtml="0" name=cust_name_2_t 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" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="33554432" x="1863" y="0" height="16" width="224" html.valueishtml="0" name=site_code__pbus 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="0" text="Site" border="0" color="33554432" x="1862" y="1" height="19" width="225" html.valueishtml="0" name=site_code__pbus_t 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" )
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
Saburi/27-02-26#CUSTOMER_PREF_DIST/SRD/customer_pref_dist_edit.srd
0 → 100644
View file @
8e466ae9
$PBExportHeader$customer_pref_dist_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=387 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=cust_code dbname="customer_pref_dist.cust_code" )
column=(type=char(10) update=yes updatewhereclause=yes key=yes name=cust_code__stk dbname="customer_pref_dist.cust_code__stk" )
column=(type=char(10) update=yes updatewhereclause=yes name=cust_code__dist dbname="customer_pref_dist.cust_code__dist" )
column=(type=datetime update=yes updatewhereclause=yes name=add_date dbname="customer_pref_dist.add_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=add_user dbname="customer_pref_dist.add_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=add_term dbname="customer_pref_dist.add_term" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="customer_pref_dist.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="customer_pref_dist.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="customer_pref_dist.chg_term" )
column=(type=char(50) updatewhereclause=yes name=cust_name dbname="customer.cust_name" )
column=(type=char(20) updatewhereclause=yes name=city dbname="customer.city" )
column=(type=char(50) updatewhereclause=yes name=cust_name_1 dbname="customer.cust_name" )
column=(type=char(50) updatewhereclause=yes name=cust_name_2 dbname="customer.cust_name" )
column=(type=char(5) updatewhereclause=yes name=site_code__pbus dbname="customer.site_code__pbus" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"customer_pref_dist~" ) TABLE(NAME=~"customer~" ALIAS=~"customer_a~" ) TABLE(NAME=~"customer~" ALIAS=~"customer_b~" ) TABLE(NAME=~"customer~" ALIAS=~"customer_c~" ) COLUMN(NAME=~"customer_pref_dist.cust_code~") COLUMN(NAME=~"customer_pref_dist.cust_code__stk~") COLUMN(NAME=~"customer_pref_dist.cust_code__dist~") COLUMN(NAME=~"customer_pref_dist.add_date~") COLUMN(NAME=~"customer_pref_dist.add_user~") COLUMN(NAME=~"customer_pref_dist.add_term~") COLUMN(NAME=~"customer_pref_dist.chg_date~") COLUMN(NAME=~"customer_pref_dist.chg_user~") COLUMN(NAME=~"customer_pref_dist.chg_term~") COLUMN(NAME=~"customer_a.cust_name~") COLUMN(NAME=~"customer_a.city~") COLUMN(NAME=~"customer_b.cust_name~") COLUMN(NAME=~"customer_c.cust_name~") COLUMN(NAME=~"customer_c.site_code__pbus~") JOIN (LEFT=~"customer_pref_dist.cust_code~" OP =~"=~"RIGHT=~"customer_a.cust_code~" OUTER1 =~"customer_pref_dist.cust_code~" ) JOIN (LEFT=~"customer_pref_dist.cust_code__stk~" OP =~"=~"RIGHT=~"customer_b.cust_code~" OUTER1 =~"customer_pref_dist.cust_code__stk~" ) JOIN (LEFT=~"customer_pref_dist.cust_code__dist~" OP =~"=~"RIGHT=~"customer_c.cust_code~" OUTER1 =~"customer_pref_dist.cust_code__dist~" )WHERE( EXP1 =~"customer_pref_dist.cust_code~" OP =~"=~" EXP2 =~":cust_code~" LOGIC =~"And~" ) WHERE( EXP1 =~"customer_pref_dist.cust_code__stk~" OP =~"=~" EXP2 =~":cust_code__stk~" ) ) ARG(NAME = ~"cust_code~" TYPE = string) ARG(NAME = ~"cust_code__stk~" TYPE = string) " update="customer_pref_dist" updatewhere=1 updatekeyinplace=no arguments=(("cust_code", string),("cust_code__stk", string)) )
groupbox(band=detail text="Basic"border="2" color="33554432" x="55" y="9" height="150" width="591" name=gb_1 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
groupbox(band=detail text="Others"border="2" color="33554432" x="52" y="166" height="213" width="300" name=gb_2 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=detail alignment="1" text="Add Date:" border="2" color="33554432" x="91" y="181" height="16" width="96" html.valueishtml="0" name=add_date_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=40 border="2" color="33554432" x="191" y="181" height="19" width="132" format="[shortdate] [time]" html.valueishtml="0" name=add_date 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" )
text(band=detail alignment="1" text="Add User:" border="2" color="33554432" x="91" y="215" height="16" width="96" html.valueishtml="0" name=add_user_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="0" tabsequence=50 border="2" color="33554432" x="191" y="215" height="19" width="66" format="[general]" html.valueishtml="0" name=add_user 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="Add Term:" border="2" color="33554432" x="91" y="249" height="16" width="96" html.valueishtml="0" name=add_term_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=6 alignment="0" tabsequence=60 border="2" color="33554432" x="191" y="249" height="19" width="96" format="[general]" html.valueishtml="0" name=add_term visible="1" edit.limit=15 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="Chg Date:" border="2" color="33554432" x="91" y="283" height="16" width="96" html.valueishtml="0" name=chg_date_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=7 alignment="0" tabsequence=70 border="2" color="33554432" x="191" y="283" height="19" width="132" format="[shortdate] [time]" html.valueishtml="0" name=chg_date 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" )
text(band=detail alignment="1" text="Chg User:" border="2" color="33554432" x="91" y="317" height="16" width="96" html.valueishtml="0" name=chg_user_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=8 alignment="0" tabsequence=80 border="2" color="33554432" x="191" y="317" height="19" width="66" format="[general]" html.valueishtml="0" name=chg_user 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="Chg Term:" border="2" color="33554432" x="91" y="351" height="16" width="96" html.valueishtml="0" name=chg_term_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=9 alignment="0" tabsequence=90 border="2" color="33554432" x="191" y="351" height="19" width="96" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 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="Distributor :" border="2" color="33554432" x="91" y="104" height="16" width="96" html.valueishtml="0" name=cust_code__dist_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=3 alignment="0" tabsequence=30 border="2" color="33554432" x="191" y="104" height="16" width="106" format="[general]" html.valueishtml="0" name=cust_code__dist 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="Stockist :" border="2" color="33554432" x="91" y="73" height="16" width="96" html.valueishtml="0" name=cust_code__stk_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=2 alignment="0" tabsequence=20 border="2" color="33554432" x="191" y="73" height="16" width="106" format="[general]" html.valueishtml="0" name=cust_code__stk 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="Customer :" border="2" color="33554432" x="91" y="36" height="16" width="96" html.valueishtml="0" name=cust_code_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=10 border="2" color="33554432" x="191" y="36" height="19" width="106" format="[general]" html.valueishtml="0" name=cust_code 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=12 alignment="0" tabsequence=32766 border="2" color="33554432" x="301" y="73" height="16" width="130" html.valueishtml="0" name=cust_name_1 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=13 alignment="0" tabsequence=32766 border="2" color="33554432" x="301" y="104" height="16" width="130" html.valueishtml="0" name=cust_name_2 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=10 alignment="0" tabsequence=32766 border="2" color="33554432" x="301" y="36" height="19" width="130" html.valueishtml="0" name=cust_name 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=11 alignment="0" tabsequence=32766 border="2" color="33554432" x="435" y="36" height="19" width="118" html.valueishtml="0" name=city 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=14 alignment="0" tabsequence=32766 border="2" color="33554432" x="435" y="104" height="16" width="118" html.valueishtml="0" name=site_code__pbus 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
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