Posts

Showing posts from February, 2012

How to export financial statements

Export this table list and import into the target environment: DimensionSetTable DimensionPriorityTable LedgerBalHeaderDim LedgerRowDef LedgerRowDefLine LedgerRowDefLineCalc LedgerBalColumnsDim

Updating a sales order from a technical perspective

Formletter <- SalesFormLetter <- SalesFormLetter_PickingList If a posting is done in batch on server SalesFormLetter will automatically spawn tasks of the type FormLetterMultiThread and use multiple threads to complete the tasks simultaneously. The batchjob is saved with parameters in the table SalesParmUpdate along with its query. For each head that will be created a record in SalesParmTable will be created with its lines in SalesParmLine. FormLetterMultiThread has no error handling for duplicate key. This can cause problems when the more than one task will try to insert the same record in InventDim

Disable AxToolbar when the grid is empty

By adding this code to the page it's possible to disable or hide the AxToolbar and add logic on menu items. void Page_Init(object sender, EventArgs e) { // Setup event handler for toolbar connected via webpart connections if (this.NameofAxToolbar != null) this.NameofAxToolbar.SetMenuItemProperties += new EventHandler (webpart_SetToolbarMenuItemProperties); } protected void webpart_SetToolbarMenuItemProperties(object sender, SetMenuItemPropertiesEventArgs e) { if(EPProjTableList.GetDataSourceView(this.EPProjTableListGrid.DataMember).DataSetView.Count < 1) { e.MenuItem.Disabled= true; } } Read more here