Skip to content

Instantly share code, notes, and snippets.

@LucaTomei
Last active February 1, 2023 09:00
Show Gist options
  • Save LucaTomei/96066f4413d49121769b96f17e70c49b to your computer and use it in GitHub Desktop.
Save LucaTomei/96066f4413d49121769b96f17e70c49b to your computer and use it in GitHub Desktop.
Gist updated via Python on 31/01/2023

STREAMSERVE TEMPLATE

Deployed in DEV, TEST and EDU environments - Project Path and Technical Document

Project Path:

  • Project File:
    M3Out\MOS_LV1_DEV_21102\Design\Mod\PMS241 - Manufacturing order
  • Exported File:
    M3Out\MOS_LV1_DEV_21102\export\PMS241 - Manufacturing order

Deployed in DEV and TEST on 31/01/2023


MAK + STREAMSERVE TEMPLATE

Deployed in DEV, TEST and EDU environments - Project Path and Technical Document

Project Paths:

  • STREAMSERVE Project Path:
    D:\Infor\M3Out\MOS_US1\Design\Mod\TWS021 - Generic label
  • STREAMSERVE Control Center Export Path:
    D:\Infor\M3Out\MOS_US1\export\TWS021-Platform.export
  • MAK Action Number:
    2005194
  • MAK Zip Files Dir:
    \twsstrm3s230\M3BE\delivery odayDate\VFix_2005194_TWS.zip

Deployed in DEV, TEST and EDU environments on 31/01/2023


MEC TEMPLATE

Deployed in DEV, TEST and EDU environments - Project Path and Technical Document

  • Mapping TWS_M3_SDI_Fattura has been modified. A new version 14.0 has been created.

Deployed in DEV, TEST and EDU environments on 31/01/2023

@LucaTomei
Copy link
Author

//--------------------------------------------------------------NELL'AFTER DEL MESSAGE
$basware = "yes";

$PDFpath = "\\twsstrsdb015\MOS\PRD\BASWARE\INVOICE\";
if ($layer = "Test") $PDFpath = "\\twsstrsdb015\MOS\TST\BASWARE\INVOICE\";
if ($layer = "Dev") $PDFpath = "\\twsstrsdb015\MOS\DEV\BASWARE\INVOICE\";

$PDFname  = "TWS_"+$0HUHDIVI+"_"+$year+"_"+$customeraccount+"_"+$0HUIIVNO+".pdf";

//FILE OVERWRITING
$que = "FILE";
callproc("OIS1990H-A4");

//FILE NOT OVERWRITING
//$err = FileOpen($PDFpath+$PDFname, "r");
//if(num($err)!=0)
//{
//	 $errtext=ioerrtext($err);
//     log(0,"Errortext "+$errtext+" so creating new");
//	$que = "FILE";
//  callproc("OIS1990H-A4");
//  } else {
// 	log(1,"PDF file "+$PDFpath+$PDFname+" does already exists");
//	FileClose($PDFpath+$PDFname);
//}

$basware = "no";


//----------------------------------------------------------NEL BEFORE PROCESS
if($basware = "yes") setdestpath($PDFpath+$PDFname);
//----------------------------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment