Sage 100

 View Only
  • 1.  PO Period End error

    Posted 01-18-2024 01:37

    Hi All

      Have a client on 2016 Advanced and they have WOEP..  They have several companies that are very similar in setup.  In one of them when doing PO Period End they get Error Encountered 'IM_ItemWarehouse' does not have correct permissions.   The main part of the info is below:


    Error #13: File access mode invalid
    Program    SY_SalesTaxCalculation_bus.pvc
    Line       2204


    General Information:
      File                   IM_ItemWarehouse
      Last Key Value         
      Last Key Text          

      Last Channel Opened    32533
      Last Channel Accessed  0

      Object Number          100077
      Object Method          AddInLine
      Object Text            SY_SalesTaxCalculation_bus

      Available Memory       23266789

    I have tried a number of steps.  Of course first I rebuilt IM_ItemWarehouse - no errors found, no issue opening it in DFDM.  As it mentioned Sales tax calculation I rebuilt all the tax files in PO, still no go. I rebuilt every file listed, rebuilt sorts for PO, IM, WO and SO.  All with the same issue.  I ran PE in MAS90 mode.  I talked to Sage and tried renaming the links folder. (their favorite blame game)  Still no change.   I tried purging the PO's before running PE, no change. 

    Any thoughts would be appreciated.  The rest of the error info is below.      

    Object Identifer   Name
    ---------------------------------------------
    [100001]           SY_Session
    [100002]           SY_File
    [100003]           SY_Crypto
    [100004]           SY_Registration
    [100005]           SY_Theme
    [100006]           SY_UI
    [100007]           SY_LocaleInfo
    [100008]           SY_Security
    [100009]           SY_Security
    [100010]           PO_PERIODENDPROCESSING_UI
    [100011]           SY_Security
    [100012]           SY_Collection
    [100013]           SY_PERIODENDREPORT_BUS
    [100014]           SY_Collection
    [100015]           SY_ChildColl
    [100016]           SY_ChildColl
    [100017]           SY_ChildColl
    [100018]           SY_BusinessColl
    [100019]           SY_Task_SVC
    [100020]           SY_MemoHandler_Bus
    [100021]           SY_Collection
    [100022]           SY_ChildColl
    [100023]           SY_ChildColl
    [100024]           SY_ChildColl
    [100025]           SY_MemoManager_Svc
    [100026]           GL_CompanyMemoManagerSettings_Svc
    [100027]           GL_FiscalYear_Svc
    [100028]           GL_FiscalYear_bus
    [100029]           GL_FiscalYearDetail_BUS
    [100030]           SY_PeriodEndListing_rpt
    [100031]           SY_EmailEngine
    [100032]           SY_FaxEngine
    [100033]           PL_CommonUtility
    [100034]           PL_Options_svc
    [100035]           CM_Customizer_Svc
    [100036]           SY_Script
    [100037]           PO_PurchaseOrder_Bus
    [100038]           SY_Collection
    [100039]           SY_ChildColl
    [100040]           SY_ChildColl
    [100041]           SY_ChildColl
    [100042]           SY_ChildColl
    [100043]           SY_ChildColl
    [100044]           SY_ChildColl
    [100045]           SY_ChildColl
    [100046]           SY_ChildColl
    [100047]           SY_ChildColl
    [100048]           SY_ChildColl
    [100049]           SY_ChildColl
    [100050]           SY_ChildColl
    [100051]           SY_ChildColl
    [100052]           SY_ChildColl
    [100053]           SY_Script
    [100054]           PO_Options_Svc
    [100055]           SY_ChildColl
    [100056]           SY_ChildColl
    [100057]           PO_PurchaseOrderDefaults_Svc
    [100058]           SY_MemoHandler_Bus
    [100059]           SY_Collection
    [100060]           SY_ChildColl
    [100061]           SY_ChildColl
    [100062]           SY_ChildColl
    [100063]           SY_MemoManager_Svc
    [100064]           GL_CompanyMemoManagerSettings_Svc
    [100065]           SY_1099Setup_svc
    [100066]           AP_Vendor_svc
    [100067]           PO_VendorPurchaseAddress_svc
    [100068]           SY_SalesTaxCalculation_bus
    [100069]           SY_Collection
    [100070]           SY_ChildColl
    [100071]           SY_ChildColl
    [100072]           SY_ChildColl
    [100073]           SY_ChildColl
    [100074]           SY_ChildColl
    [100075]           AP_Options_Svc
    [100076]           AP_VendorContact_svc
    [100077]           SY_SalesTaxCalculation_bus
    [100078]           SY_Collection
    [100079]           SY_ChildColl
    [100080]           SY_ChildColl
    [100081]           SY_ChildColl
    [100082]           SY_ChildColl
    [100083]           SY_ChildColl
    [100084]           PO_PurchaseOrderDetail_bus
    [100085]           SY_Collection
    [100086]           SY_ChildColl
    [100087]           SY_ChildColl
    [100088]           SY_ChildColl
    [100089]           SY_ChildColl
    [100090]           SY_ChildColl
    [100091]           SY_Script
    [100092]           CI_ExtendedDescription_bus
    [100093]           CI_ExtendedDescription_bus
    [100094]           CI_ItemCode_svc
    [100095]           IM_Warehouse_svc
    [100096]           CI_ItemCode_svc
    [100097]           SY_ChildColl
    [100098]           SY_ChildColl
    [100099]           SY_ChildColl
    [100100]           IM_ProductLine_svc
    [100101]           IM_ItemWarehouse_svc
    [100102]           IM_Warehouse_svc
    [100103]           SY_ChildColl
    [100104]           SY_ChildColl
    [100105]           SY_ChildColl
    [100106]           SY_ChildColl
    [100107]           CI_ExtendedDescription_bus
    [100108]           SY_ChildColl
    [100109]           SY_MemoFlow_Bus
    [100110]           SY_Collection
    [100111]           SY_ChildColl
    [100112]           SY_ChildColl
    [100113]           SY_ChildColl
    [100114]           SY_MemoManager_Svc
    [100115]           GL_CompanyMemoManagerSettings_Svc
    [100116]           PO_VendorPriceLevel_svc
    [100117]           CI_ItemCode_svc
    [100118]           SY_ErrorInfo_UI
    [100119]           SY_Collection
    [100120]           SY_ErrorInfo_BUS
    [100121]           SY_BusinessColl
    [100122]           *obj/folder
    [100123]           *obj/group
    [100124]           *obj/tab
    [100125]           *obj/tab
    [100126]           *obj/tab
    [100127]           *obj/tab


    Open Files:
    Channel        File Name
    ---------------------------------------------
    32527          *memory*
    32528          *memory*
    32529          C:\Sage\MAS90\MAS_SYSTEM\SY_ActivityLog.M4T
    32530          *memory*
    32531          *memory*
    32532          *memory*
    32533          C:\Sage\MAS90\MAS_IO7\IMIO7\IM_ItemWarehouse.M4T
    32534          *memory*
    32535          C:\Sage\MAS90\LOCK\_IO7\CI_Item.LCK
    32536          C:\Sage\MAS90\MAS_IO7\CIIO7\CI_Item.M4T
    32537          *memory*
    32538          *memory*
    32539          C:\Sage\MAS90\MAS_IO7\POIO7\PO_VendorPriceLevel.M4T
    32540          *memory*
    32541          *memory*
    32542          C:\Sage\MAS90\MAS_IO7\IMIO7\IM_ItemWarehouse.M4T
    32543          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderHistTaxSummary.M4T
    32544          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderHistTaxSummary.M4T
    32545          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderHistTaxDetail.M4T
    32546          *memory*
    32547          *memory*
    32548          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderTaxSummary.M4T
    32549          C:\Sage\MAS90\MAS_IO7\APIO7\AP_InvoiceHistoryTaxSummary.M4T
    32550          C:\Sage\MAS90\MAS_IO7\POIO7\PO_ReceiptHistoryTaxSummary.M4T
    32551          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderHistTaxSummary.M4T
    32552          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderTaxSummary.M4T
    32553          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderTaxDetail.M4T
    32554          *memory*
    32555          *memory*
    32556          *memory*
    32557          C:\Sage\MAS90\MAS_IO7\GLIO7\GL_CompanyMemoManagerSettings.M4T
    32558          *memory*
    32559          *memory*
    32560          C:\Sage\MAS90\MAS_SYSTEM\SY_MemoManager.M4T
    32561          *memory*
    32562          *memory*
    32563          *memory*
    32564          *memory*
    32565          *memory*
    32566          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderPrint.M4T
    32567          C:\Sage\MAS90\MAS_IO7\POIO7\PO_MaterialReqHeader.M4T
    32568          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderHeader.M4T
    32569          C:\Sage\MAS90\MAS_IO7\POIO7\PO_ReturnHeader.M4T
    32570          C:\Sage\MAS90\MAS_IO7\POIO7\PO_ReceiptHeader.M4T
    32571          C:\Sage\MAS90\MAS_IO7\POIO7\PO_ShipToAddress.M4T
    32572          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderRecap.M4T
    32573          C:\Sage\MAS90\MAS_IO7\WOIO7\WO_S6IO7.SOA
    32574          C:\Sage\MAS90\MAS_IO7\WOIO7\WO3IO7.SOA
    32575          C:\Sage\MAS90\MAS_IO7\WOIO7\WO1IO7.SOA
    32576          *memory*
    32577          *memory*
    32578          C:\Sage\MAS90\MAS_IO7\CIIO7\CI_ExtendedDescription.M4T
    32579          *memory*
    32580          C:\Sage\MAS90\MAS_IO7\POIO7\PO_OpenOrderDetailByItem.M4T
    32581          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderDetail.M4T
    32582          C:\Sage\MAS90\MAS_IO7\SOIO7\SO_SalesOrderDetail.M4T
    32583          C:\Sage\MAS90\MAS_IO7\IMIO7\IM_ItemVendor.M4T
    32584          C:\Sage\MAS90\MAS_IO7\POIO7\PO404_AutoPOWCLink.M4T
    32585          C:\Sage\MAS90\MAS_IO7\POIO7\PO404_AutoPOWCLink.M4T
    32586          C:\Sage\MAS90\MAS_IO7\POIO7\PO404_AutoPOWOLink.M4T
    32587          C:\Sage\MAS90\MAS_IO7\POIO7\PO404_AutoPOWOLink.M4T
    32588          C:\Sage\MAS90\MAS_IO7\WOIO7\WO0IO7.SOA
    32589          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderDetail.M4T
    32590          *memory*
    32591          C:\Sage\MAS90\MAS_IO7\IMIO7\IM_Warehouse.M4T
    32592          *memory*
    32593          C:\Sage\MAS90\MAS_IO7\WOIO7\WO0IO7.SOA
    32594          *memory*
    32595          C:\Sage\MAS90\MAS_IO7\IMIO7\IM_ItemWarehouse.M4T
    32596          *memory*
    32597          *memory*
    32598          C:\Sage\MAS90\MAS_IO7\IMIO7\IM_ProductLine.M4T
    32599          *memory*
    32600          *memory*
    32601          C:\Sage\MAS90\LOCK\_IO7\CI_Item.LCK
    32602          C:\Sage\MAS90\MAS_IO7\CIIO7\CI_Item.M4T
    32603          *memory*
    32604          *memory*
    32605          C:\Sage\MAS90\MAS_IO7\IMIO7\IM_Warehouse.M4T
    32606          *memory*
    32607          *memory*
    32608          C:\Sage\MAS90\LOCK\_IO7\CI_Item.LCK
    32609          C:\Sage\MAS90\MAS_IO7\CIIO7\CI_Item.M4T
    32610          *memory*
    32611          *memory*
    32612          *memory*
    32613          C:\Sage\MAS90\MAS_IO7\CIIO7\CI_ExtendedDescription.M4T
    32614          *memory*
    32615          *memory*
    32616          *memory*
    32617          C:\Sage\MAS90\MAS_IO7\CIIO7\CI_ExtendedDescription.M4T
    32618          *memory*
    32619          *memory*
    32620          *memory*
    32621          *memory*
    32622          *memory*
    32623          *memory*
    32624          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderDetail.M4T
    32625          *memory*
    32626          C:\Sage\MAS90\MAS_IO7\FLIO7\FL_AssetAccount.M4T
    32627          C:\Sage\MAS90\SOA\SY0AV2.soa
    32628          C:\Sage\MAS90\SOA\SY0AVA.soa
    32629          *memory*
    32630          *memory*
    32631          C:\Sage\MAS90\MAS_IO7\GLIO7\GL_SalesTax.M4T
    32632          C:\Sage\MAS90\MAS_SYSTEM\SY_SalesTaxCodeDetail.M4T
    32633          C:\Sage\MAS90\MAS_SYSTEM\SY_SalesTaxCode.M4T
    32634          C:\Sage\MAS90\MAS_SYSTEM\SY_SalesTaxScheduleDetail.M4T
    32635          C:\Sage\MAS90\MAS_SYSTEM\SY_SalesTaxScheduleDetail.M4T
    32636          *memory*
    32637          *memory*
    32638          *memory*
    32639          *memory*
    32640          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderHistoryDetail.M4T
    32641          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderHistoryHeader.M4T
    32642          *memory*
    32643          C:\Sage\MAS90\MAS_IO7\APIO7\AP_VendorContact.M4T
    32644          *memory*
    32645          *memory*
    32646          C:\Sage\MAS90\MAS_IO7\APIO7\AP_Options.M4T
    32647          *memory*
    32648          C:\Sage\MAS90\SOA\SY0AV2.soa
    32649          C:\Sage\MAS90\SOA\SY0AVA.soa
    32650          *memory*
    32651          *memory*
    32652          C:\Sage\MAS90\MAS_IO7\GLIO7\GL_SalesTax.M4T
    32653          C:\Sage\MAS90\MAS_SYSTEM\SY_SalesTaxCodeDetail.M4T
    32654          C:\Sage\MAS90\MAS_SYSTEM\SY_SalesTaxCode.M4T
    32655          C:\Sage\MAS90\MAS_SYSTEM\SY_SalesTaxScheduleDetail.M4T
    32656          C:\Sage\MAS90\MAS_SYSTEM\SY_SalesTaxScheduleDetail.M4T
    32657          *memory*
    32658          *memory*
    32659          *memory*
    32660          *memory*
    32661          *memory*
    32662          C:\Sage\MAS90\MAS_IO7\POIO7\PO_VendorPurchaseAddress.M4T
    32663          *memory*
    32664          *memory*
    32665          C:\Sage\MAS90\LOCK\_IO7\AP_Vendor.LCK
    32666          C:\Sage\MAS90\MAS_IO7\APIO7\AP_Vendor.M4T
    32667          *memory*
    32668          *memory*
    32669          C:\Sage\MAS90\MAS_SYSTEM\SY_1099Setup.M4T
    32670          *memory*
    32671          *memory*
    32672          C:\Sage\MAS90\MAS_IO7\GLIO7\GL_CompanyMemoManagerSettings.M4T
    32673          *memory*
    32674          *memory*
    32675          C:\Sage\MAS90\MAS_SYSTEM\SY_MemoManager.M4T
    32676          *memory*
    32677          C:\Sage\MAS90\MAS_IO7\GLIO7\GL_CompanyMemoManagerSettings.M4T
    32678          C:\Sage\MAS90\MAS_SYSTEM\SY_MemoDefault.M4T
    32679          *memory*
    32680          *memory*
    32681          *memory*
    32682          *memory*
    32683          *memory*
    32684          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderDefaults.M4T
    32685          *memory*
    32686          C:\Sage\MAS90\MAS_IO7\POIO7\PO_ReceiptReturnMatRqByPO.M4T
    32687          C:\Sage\MAS90\MAS_IO7\SOIO7\SO_ShippingRateHeader.M4T
    32688          *memory*
    32689          C:\Sage\MAS90\MAS_IO7\POIO7\PO_Options.M4T
    32690          *memory*
    32691          *memory*
    32692          *memory*
    32693          *memory*
    32694          *memory*
    32695          *memory*
    32696          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderHeader.M4T
    32697          *memory*
    32698          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderHeader.M4T
    32699          C:\Sage\MAS90\MAS_IO7\GLIO7\GL_FiscalYearDetail.M4T
    32700          *memory*
    32701          C:\Sage\MAS90\MAS_SYSTEM\SY_Module.M4T
    32702          C:\Sage\MAS90\SOA\SY0CTL.SOA
    32703          C:\Sage\MAS90\MAS_SYSTEM\SY_Task.M4T
    32704          *memory*
    32705          C:\Sage\MAS90\MAS_SYSTEM\PL_Options.M4T
    32706          *memory*
    32707          C:\Sage\MAS90\MAS_SYSTEM\SY_ReportManagerFormat.M4T
    32708          *memory*
    32709          *memory*
    32710          C:\Sage\MAS90\MAS_IO7\GLIO7\GL_FiscalYearDetail.M4T
    32711          *memory*
    32712          *memory*
    32713          C:\Sage\MAS90\MAS_IO7\GLIO7\GL_FiscalYearDetail.M4T
    32714          *memory*
    32715          *memory*
    32716          *memory*
    32717          C:\Sage\MAS90\MAS_IO7\GLIO7\GL_FiscalYear.M4T
    32718          *memory*
    32719          *memory*
    32720          C:\Sage\MAS90\MAS_IO7\GLIO7\GL_FiscalYear.M4T
    32721          *memory*
    32722          C:\Sage\MAS90\MAS_IO7\POIO7\PO_ReceiptHistoryDetail.M4T
    32723          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderRecap.M4T
    32724          C:\Sage\MAS90\MAS_IO7\POIO7\PO_OpenOrderDetailByItem.M4T
    32725          C:\Sage\MAS90\MAS_IO7\POIO7\PO_Options.M4T
    32726          C:\Sage\MAS90\MAS_IO7\POIO7\PO_PurchaseOrderHeader.M4T
    32727          C:\Sage\MAS90\LOCK\_IO7\PO_PurchaseOrderHeader.LCK
    32728          C:\Sage\MAS90\LOCK\_IO7\PO_Options.LCK
    32729          C:\Sage\MAS90\MAS_SYSTEM\SY_ReportManagerMaster.M4T
    32730          *memory*
    32731          C:\Sage\MAS90\MAS_IO7\GLIO7\GL_CompanyMemoManagerSettings.M4T
    32732          *memory*
    32733          *memory*
    32734          C:\Sage\MAS90\MAS_SYSTEM\SY_MemoManager.M4T
    32735          *memory*
    32736          C:\Sage\MAS90\MAS_IO7\GLIO7\GL_CompanyMemoManagerSettings.M4T
    32737          C:\Sage\MAS90\MAS_SYSTEM\SY_MemoDefault.M4T
    32738          *memory*
    32739          *memory*
    32740          *memory*
    32741          *memory*
    32742          *memory*
    32743          C:\Sage\MAS90\MAS_SYSTEM\SY_Task.M4T
    32744          *memory*
    32745          *memory*
    32746          *memory*
    32747          *memory*
    32748          *memory*
    32749          *memory*
    32750          C:\Sage\MAS90\MAS_SYSTEM\SY_PERIODENDREPORT.M4T
    32751          *memory*
    32752          *memory*
    32753          *memory*
    32754          C:\Sage\MAS90\MAS_SYSTEM\SY_RoleSecurity.M4T
    32755          C:\Sage\MAS90\MAS_SYSTEM\SY_UserSecurity.M4T
    32756          C:\Sage\MAS90\MAS_SYSTEM\SY_User.M4T
    32757          C:\Sage\MAS90\MAS_SYSTEM\SY_Task.M4T
    32758          *memory*
    32759          C:\Sage\MAS90\MAS_SYSTEM\SY_RoleSecurity.M4T
    32760          C:\Sage\MAS90\MAS_SYSTEM\SY_UserSecurity.M4T
    32761          C:\Sage\MAS90\MAS_SYSTEM\SY_User.M4T
    32762          C:\Sage\MAS90\MAS_SYSTEM\SY_Task.M4T
    32763          C:\Sage\MAS90\MAS_SYSTEM\SY_RoleSecurity.M4T
    32764          C:\Sage\MAS90\MAS_SYSTEM\SY_UserSecurity.M4T
    32765          C:\Sage\MAS90\MAS_SYSTEM\SY_Task.M4T
    32766          C:\Sage\MAS90\providex.dde
    32767          C:\Sage\MAS90\providex.ddf


    Stack    Line       Program
    ----------------------------------------------------------------------------------------------------
    00032   00001  C:\Sage\MAS90\SY\SY_ErrorInfo_ui.pvc
    00031   00290  C:\Sage\MAS90\SY\SY_ErrorInfo_ui.pvc
    00030   00040  C:\Sage\MAS90\Home\lib\_winproc.xeq
    00029   07120  C:\Sage\MAS90\Home\lib\_winproc
    00028   00550  C:\Sage\MAS90\Home\lib\_nomads.pvc
    00027   02006  C:\Sage\MAS90\SY\SY_CommonUI.pvc
    00026   00453  C:\Sage\MAS90\SY\SY_ERROR
    00025   02204  C:\Sage\MAS90\SY\SY_SalesTaxCalculation_bus.pvc
    00024   00218  C:\Sage\MAS90\PO\PO_PurchaseOrderHistory.pvc
    00023   00246  C:\Sage\MAS90\PO\PO_PurchaseOrderDetail_bus.pvc
    00022   00083  C:\Sage\MAS90\PO\PO404_WOEP_PURCHASEORDERDETAIL_BUS.pvc
    00021   00554  C:\Sage\MAS90\SY\SY_LineEntryDetail_bus.pvc
    00020   00161  C:\Sage\MAS90\SY\SY_LineEntryTierDetail.pvc
    00019   00649  C:\Sage\MAS90\PO\PO_CommonEntryDetail.pvc
    00018   00486  C:\Sage\MAS90\PO\PO_PurchaseOrderDetail_bus.pvc
    00017   00288  C:\Sage\MAS90\SY\SY_LineEntryHeader_bus.pvc
    00016   00234  C:\Sage\MAS90\SY\SY_LineEntryHeader_bus.pvc
    00015   00325  C:\Sage\MAS90\SY\SY_BatchDataEntry.pvc
    00014   00626  C:\Sage\MAS90\PO\PO_CommonEntryVendor.pvc
    00013   01155  C:\Sage\MAS90\PO\PO_PurchaseOrder_bus.pvc
    00012   00725  C:\Sage\MAS90\SY\SY_MAINT.pvc
    00011   00528  C:\Sage\MAS90\PO\PO_CommonEntry.pvc
    00010   01408  C:\Sage\MAS90\PO\PO_PurchaseOrder_bus.pvc
    00009   00086  C:\Sage\MAS90\PO\PO_PurgeCompletedPurchaseOrder.pvc
    00008   00326  C:\Sage\MAS90\PO\PO_PERIODENDPROCESSING_UI.pvc
    00007   00614  C:\Sage\MAS90\PO\PO_PERIODENDPROCESSING_UI.pvc
    00006   00268  C:\Sage\MAS90\PO\PO_PERIODENDPROCESSING_UI.pvc
    00005   00040  C:\Sage\MAS90\Home\lib\_winproc.xeq
    00004   07120  C:\Sage\MAS90\Home\lib\_winproc
    00003   00550  C:\Sage\MAS90\Home\lib\_nomads.pvc
    00002   02006  C:\Sage\MAS90\SY\SY_CommonUI.pvc
    00001   00308  C:\Sage\MAS90\soa\SY_StartUp.M4P



    ------------------------------
    Bob Osborn
    Consultant
    ACI Consulting
    ------------------------------


  • 2.  RE: PO Period End error

    Posted 01-27-2024 10:42

    If the issue occurs with the Links folder renamed then at least you can rule that out.  I would start by checking all of the PO_*TaxSummary and PO_*TaxDetail tables for any TaxCode values that are not on file in the SY_SalesTaxCode and/or SY_SalesTaxCodeDetail tables.



    ------------------------------
    David Speck II
    Blytheco LLC
    ------------------------------



  • 3.  RE: PO Period End error

    Posted 01-27-2024 11:17

    HI All,  Well finally figured out the issue.   Tried manually deleting some of the old POs that were not getting deleted and got a message about the line having activity which was not a standard message.   I had completely forgotten that I wrote scripts for them around 8 years ago to prevent deleting lines with activity.  Removed them and Period End worked fine.   

      Going to put on a cast were I shot myself in the foot....  .  



    ------------------------------
    Bob Osborn
    Consultant
    ACI Consulting
    ------------------------------



  • 4.  RE: PO Period End error

    Posted 01-27-2024 11:43

    You could add a filter to your script to check the coSession.StartProgram property or even check if oScript.UIObj is not 0, then set it has an object and check the value returned by the GetScreenName() method to see if it is PO_PurchaseOrder.M4L (I would convert both to uppercase to rule out case-sensitivity causing it to fail).  Another option is to use the UI object's GetValue method to get the value of the "_class$" property, you would want it to be PO_PurchaseOrder_UI (Purchase Order Entry) in order for your script to proceed.

    I also like using the oSession.Updating property which will not be equal to 0 if the script is triggered by a register update but off the top of my head, I don't know if the period end processes set this property.



    ------------------------------
    David Speck II
    Blytheco LLC
    ------------------------------



  • 5.  RE: PO Period End error

    Posted 01-27-2024 14:04

    HI David

      Thanks for the tips.   I think I will try the UIObj check. 

     

    Thank you,

     

    Bob Osborn

    ACI Consulting

    p 714.282.0378     f 714.282.0235

     

    Bob@ACIconsulting.com

     

     ACISignature1                  

    This communication, including attachments, is confidential and may contain proprietary information intended only for the proposed recipient. Please notify the sender and delete this message if you believe that you have received this message in error or if you are not the proposed recipient. Unauthorized disclosure, copying, or distribution of the information is strictly prohibited.