str=" (OP='"+username+"' OR SALE='"+username+"' OR CUSTSERVICE='"+username+"' OR DOC='"+username+"')";
str=" (OP='"+username+"' OR SALE='"+username+"' OR CUSTSERVICE='"+username+"' OR DOC='"+username+"' OR INPUTBY='" +username+"')";
}
}
elseif(visiblerange=="3")
elseif(visiblerange=="3")
{
{
str=" (OP='"+username+"' OR SALE='"+username+"' OR CUSTSERVICE='"+username+"' OR DOC='"+username+"')";
str=" (OP='"+username+"' OR SALE='"+username+"' OR CUSTSERVICE='"+username+"' OR DOC='"+username+"' OR INPUTBY='" +username+"')";
}
}
elseif(visiblerange=="2")
elseif(visiblerange=="2")
{
{
varrangeDa=newRangeDA();
varrangeDa=newRangeDA();
vardeptname=rangeDa.GetDEPTNAME(userid);
vardeptid=rangeDa.GetDEPTGID(userid);
str=" (OP in (select showname from [user] where GID in (select USERID from user_company where COMPANYID='"+companyid+"') and GID in (select userid from user_baseinfo where DEPTNAME='"+deptname+"'))"
str=" (OP in (select showname from vw_user where deptgid='"+deptid+"') OR SALE in (select showname from vw_user where deptgid='"+deptid+"') OR CUSTSERVICE in (select showname from vw_user where deptgid='"+deptid+"') "
+" )";
+" OR DOC in (select showname from vw_user where deptgid='"+deptid+"') OR INPUTBY in (select showname from vw_user where deptgid='"+deptid+"'))";
+":"+bill.CUSTNO//2 REFERENCE NO. 运编号 X(35) 一般为流水号 M
+":"+bill.MBLNO//3 B\L NO. 提单号 X(20) 船公司的提单号 C
+":"+GetSERVICEEDICode(bill.SERVICE,"YTEDI")//4 DELIVERY TERM 交货条款 X(9) CY-CY(pier-pier/port):30CY-CFS(pier/port-door):29CFS-CY(door-pier/port):28CFS-CFS(door-door):27 M
+":"+bpcode//5 BOOKING PARTY 订舱人说明 X(70) 货代方企业名称或代码 C
+":"+carrier//6 ISSUE PARTY CODE 签单人代码 X(13) 即接受订舱的人的代码 M
+":"//7 ISSUE PARTY 签单人说明 X(35) C
+":"//8 APPLICANT 询价单位 X(13) 向船公司询价的单位代码 C
+":"//9 FOB BK PARTY 国外订舱单位 X(13) 国外FOB货订舱单位的代码 C
+":"//10 B/L TRANSHIP ID 转船标识 X(1) Y/N C
+":"//11 BATCH ID 分批 X(1) Y/N C
+":"//12 SHIPMENT DATE 装期 9(8) CCYYMMDD C
+":"//13 EXPIRY DATE 效期 9(8) CCYYMMDD C
+":"+bpcode// 14 QUOTATION NO. 运费协议号 X(30) MAERSK为必选 C
20::SHANDONG RAINBOW AGROSCIENCES CO.,LTD.:11/F., CAPITAL CENTRE, 151 GLOUCESTER:ROAD, WANCHAI, HONG KONG.232:TEL: +86-531-88875230, 88875231:SHANDONG RAINBOW AGROSCIENCES CO.,LTD.:11/F., CAPITAL CENTRE, 151 GLOUCESTER'
20::ROAD, WANCHAI, HONG KONG.232:TEL: +86-531-88875230, 88875231:'
21::AGROFINA SA:CUIT: 30-59272454-1:THAMES ST. 122 - 1'B (POSTAL CODE: 1607) SAN ISIDRO,:BUENOS AIRES- ARGENTINA:TEL 54-011-4735-6800/FAX 54-011-4708-0404:AGROFINA SA'
21::CUIT: 30-59272454-1:THAMES ST. 122 - 1'B (POSTAL CODE: 1607) SAN ISIDRO,:BUENOS AIRES- ARGENTINA:TEL 54-011-4735-6800/FAX 54-011-4708-0404:'
22::AGROFINA SA:CUIT: 30-59272454-1:THAMES ST. 122 - 1'B (POSTAL CODE: 1607) SAN ISIDRO,:BUENOS AIRES- ARGENTINA:TEL 54-011-4735-6800/FAX 54-011-4708-0404:AGROFINA SA'
22::CUIT: 30-59272454-1:THAMES ST. 122 - 1'B (POSTAL CODE: 1607) SAN ISIDRO,:BUENOS AIRES- ARGENTINA:TEL 54-011-4735-6800/FAX 54-011-4708-0404:'
20::SHANDONG RAINBOW AGROSCIENCES CO.,LTD.:11/F., CAPITAL CENTRE, 151 GLOUCESTER:ROAD, WANCHAI, HONG KONG.232:TEL: +86-531-88875230, 88875231:SHANDONG RAINBOW AGROSCIENCES CO.,LTD.:11/F., CAPITAL CENTRE, 151 GLOUCESTER'
20::ROAD, WANCHAI, HONG KONG.232:TEL: +86-531-88875230, 88875231:'
21::AGROFINA SA:CUIT: 30-59272454-1:THAMES ST. 122 - 1'B (POSTAL CODE: 1607) SAN ISIDRO,:BUENOS AIRES- ARGENTINA:TEL 54-011-4735-6800/FAX 54-011-4708-0404:AGROFINA SA'
21::CUIT: 30-59272454-1:THAMES ST. 122 - 1'B (POSTAL CODE: 1607) SAN ISIDRO,:BUENOS AIRES- ARGENTINA:TEL 54-011-4735-6800/FAX 54-011-4708-0404:'
22::AGROFINA SA:CUIT: 30-59272454-1:THAMES ST. 122 - 1'B (POSTAL CODE: 1607) SAN ISIDRO,:BUENOS AIRES- ARGENTINA:TEL 54-011-4735-6800/FAX 54-011-4708-0404:AGROFINA SA'
22::CUIT: 30-59272454-1:THAMES ST. 122 - 1'B (POSTAL CODE: 1607) SAN ISIDRO,:BUENOS AIRES- ARGENTINA:TEL 54-011-4735-6800/FAX 54-011-4708-0404:'
20::SHANDONG RAINBOW AGROSCIENCES CO.,LTD.:11/F., CAPITAL CENTRE, 151 GLOUCESTER:ROAD, WANCHAI, HONG KONG.232:TEL?: ?+86-531-88875230, 88875231:SHANDONG RAINBOW AGROSCIENCES CO.,LTD.:11/F., CAPITAL CENTRE, 151 GLOUCESTER'
20::ROAD, WANCHAI, HONG KONG.232:TEL?: ?+86-531-88875230, 88875231:'
21::AGROFINA SA:CUIT?: 30-59272454-1:THAMES ST. 122 - 1?'B (POSTAL CODE?: 1607) SAN ISIDRO,:BUENOS AIRES- ARGENTINA:TEL 54-011-4735-6800/FAX 54-011-4708-0404:AGROFINA SA'
21::CUIT?: 30-59272454-1:THAMES ST. 122 - 1?'B (POSTAL CODE?: 1607) SAN ISIDRO,:BUENOS AIRES- ARGENTINA:TEL 54-011-4735-6800/FAX 54-011-4708-0404:'
22::AGROFINA SA:CUIT?: 30-59272454-1:THAMES ST. 122 - 1?'B (POSTAL CODE?: 1607) SAN ISIDRO,:BUENOS AIRES- ARGENTINA:TEL 54-011-4735-6800/FAX 54-011-4708-0404:AGROFINA SA'
22::CUIT?: 30-59272454-1:THAMES ST. 122 - 1?'B (POSTAL CODE?: 1607) SAN ISIDRO,:BUENOS AIRES- ARGENTINA:TEL 54-011-4735-6800/FAX 54-011-4708-0404:'