Raktárközi átadásról és szállítói visszárúról lehet szállítólevelet készíteni

This commit is contained in:
2017-07-25 16:01:15 +02:00
parent 1998088f31
commit 484309b6d6
13 changed files with 577 additions and 125 deletions
@@ -30,6 +30,8 @@
{
this.components = new System.ComponentModel.Container();
this.aCreateDeliveryNoteOutfromStorageOut = new DevExpress.ExpressApp.Actions.PopupWindowShowAction(this.components);
this.aPrint_DeliveryNoteOutHeader = new DevExpress.ExpressApp.Actions.SimpleAction(this.components);
this.aStornoDeliveryNoteOutfromStorageOut = new DevExpress.ExpressApp.Actions.SimpleAction(this.components);
//
// aCreateDeliveryNoteOutfromStorageOut
//
@@ -38,20 +40,50 @@
this.aCreateDeliveryNoteOutfromStorageOut.Caption = "aCreate Delivery Note Outfrom Storage Out";
this.aCreateDeliveryNoteOutfromStorageOut.ConfirmationMessage = null;
this.aCreateDeliveryNoteOutfromStorageOut.Id = "aCreateDeliveryNoteOutfromStorageOut";
this.aCreateDeliveryNoteOutfromStorageOut.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject;
this.aCreateDeliveryNoteOutfromStorageOut.TargetObjectType = typeof(Nuvolar.Module.StorageOutHeader);
this.aCreateDeliveryNoteOutfromStorageOut.TargetViewNesting = DevExpress.ExpressApp.Nesting.Root;
this.aCreateDeliveryNoteOutfromStorageOut.TargetViewType = DevExpress.ExpressApp.ViewType.ListView;
this.aCreateDeliveryNoteOutfromStorageOut.ToolTip = null;
this.aCreateDeliveryNoteOutfromStorageOut.TypeOfView = typeof(DevExpress.ExpressApp.ListView);
this.aCreateDeliveryNoteOutfromStorageOut.CustomizePopupWindowParams += new DevExpress.ExpressApp.Actions.CustomizePopupWindowParamsEventHandler(this.aCreateDeliveryNoteOutfromStorageOut_CustomizePopupWindowParams);
this.aCreateDeliveryNoteOutfromStorageOut.Execute += new DevExpress.ExpressApp.Actions.PopupWindowShowActionExecuteEventHandler(this.aCreateDeliveryNoteOutfromStorageOut_Execute);
//
// aPrint_DeliveryNoteOutHeader
//
this.aPrint_DeliveryNoteOutHeader.Caption = "aPrint_DeliveryNoteOutHeader";
this.aPrint_DeliveryNoteOutHeader.ConfirmationMessage = null;
this.aPrint_DeliveryNoteOutHeader.Id = "aPrint_DeliveryNoteOutHeader";
this.aPrint_DeliveryNoteOutHeader.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject;
this.aPrint_DeliveryNoteOutHeader.TargetObjectType = typeof(Nuvolar.Module.StorageOutHeader);
this.aPrint_DeliveryNoteOutHeader.TargetViewNesting = DevExpress.ExpressApp.Nesting.Root;
this.aPrint_DeliveryNoteOutHeader.TargetViewType = DevExpress.ExpressApp.ViewType.ListView;
this.aPrint_DeliveryNoteOutHeader.ToolTip = null;
this.aPrint_DeliveryNoteOutHeader.TypeOfView = typeof(DevExpress.ExpressApp.ListView);
this.aPrint_DeliveryNoteOutHeader.Execute += new DevExpress.ExpressApp.Actions.SimpleActionExecuteEventHandler(this.aPrint_DeliveryNoteOutHeader_Execute);
//
// aStornoDeliveryNoteOutfromStorageOut
//
this.aStornoDeliveryNoteOutfromStorageOut.Caption = "aStorno Delivery Note Outfrom Storage Out";
this.aStornoDeliveryNoteOutfromStorageOut.ConfirmationMessage = null;
this.aStornoDeliveryNoteOutfromStorageOut.Id = "aStornoDeliveryNoteOutfromStorageOut";
this.aStornoDeliveryNoteOutfromStorageOut.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject;
this.aStornoDeliveryNoteOutfromStorageOut.TargetObjectType = typeof(Nuvolar.Module.StorageOutHeader);
this.aStornoDeliveryNoteOutfromStorageOut.ToolTip = null;
this.aStornoDeliveryNoteOutfromStorageOut.Execute += new DevExpress.ExpressApp.Actions.SimpleActionExecuteEventHandler(this.aStornoDeliveryNoteOutfromStorageOut_Execute);
//
// StorageOut_VC
//
this.Actions.Add(this.aCreateDeliveryNoteOutfromStorageOut);
this.Actions.Add(this.aPrint_DeliveryNoteOutHeader);
this.Actions.Add(this.aStornoDeliveryNoteOutfromStorageOut);
}
#endregion
private DevExpress.ExpressApp.Actions.PopupWindowShowAction aCreateDeliveryNoteOutfromStorageOut;
private DevExpress.ExpressApp.Actions.SimpleAction aPrint_DeliveryNoteOutHeader;
private DevExpress.ExpressApp.Actions.SimpleAction aStornoDeliveryNoteOutfromStorageOut;
}
}
@@ -13,6 +13,9 @@ using DevExpress.ExpressApp.Templates;
using DevExpress.ExpressApp.Utils;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.Validation;
using DevExpress.ExpressApp.Xpo;
using DevExpress.Persistent.BaseImpl;
using Nuvolar.Module.Helpers;
namespace Nuvolar.Module.Controllers
{
@@ -39,5 +42,107 @@ namespace Nuvolar.Module.Controllers
// Unsubscribe from previously subscribed events and release other references and resources.
base.OnDeactivated();
}
/// <summary>
/// Kitárolási bizonylatról => szállítólevél (egy az egyben !)
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void aCreateDeliveryNoteOutfromStorageOut_Execute(object sender, PopupWindowShowActionExecuteEventArgs e)
{
//Ellenőrzés, hogy készült-e már minden kitárolási sorról szállítólevél
XPObjectSpace _ocur = View.ObjectSpace as XPObjectSpace;
StorageOutHeader _StorageOutHeader = _ocur.GetObject(View.CurrentObject) as StorageOutHeader;
bool _Ok = true;
foreach (StorageOutRows _StorageOutRows in _StorageOutHeader.StorageOutRows)
{
if (_StorageOutRows.QTT_To_DeliveryOut == _StorageOutRows.QTT)
{
_Ok = false;
break;
}
}
if (_StorageOutHeader.DeliveryNoteOutHeader != null)
{
_Ok = false;
}
if (_Ok)
{
DeliveryNoteOutHeader _DeliveryNoteOutHeader = BusinessDocumentHelper.CreateNewDeliveryNoteOutHeader(_ocur, e.PopupWindow.View.CurrentObject as DeliveryNoteView);
long i = 1;
foreach (StorageOutRows _StorageOutRows in _StorageOutHeader.StorageOutRows)
{
foreach (StorageOutRowsInRows _StorageOutRowsInRows in _StorageOutRows.StorageOutRowsInRows)
{
_StorageOutRowsInRows.QTT_Will = _StorageOutRowsInRows.QTT;
BusinessDocumentHelper.AddNewDeliveryNoteOutRows(_ocur, _DeliveryNoteOutHeader, _StorageOutRowsInRows, i);
i += 1;
}
}
if (BusinessDocumentHelper.FinalizeDeliveryNoteOutHeader(_ocur, _DeliveryNoteOutHeader, _StorageOutHeader))
{
//Nyomtatás
BusinessDocumentHelper.PrintDeliveryNoteOutHeader(_ocur, Frame, _DeliveryNoteOutHeader);
}
}
}
private void aCreateDeliveryNoteOutfromStorageOut_CustomizePopupWindowParams(object sender, CustomizePopupWindowParamsEventArgs e)
{
XPObjectSpace _onew = Application.CreateObjectSpace() as XPObjectSpace;
DeliveryNoteView _DeliveryNoteView = _onew.CreateObject<DeliveryNoteView>();
StorageOutHeader _StorageOutHeader = _onew.GetObject(View.CurrentObject) as StorageOutHeader;
_DeliveryNoteView.Customers = _StorageOutHeader.Customers;
_DeliveryNoteView.TransportAddress = _StorageOutHeader.Storage.Address;
_DeliveryNoteView.DateExecution = DateTime.Now;
_DeliveryNoteView.CurrencyName = _onew.FindObject<CurrencyName>(CriteriaOperator.Parse("ShortName='HUF'"));
if (_StorageOutHeader.StorageMoveType.MoveType==eMoveType.InventoryTransfer)
{
_DeliveryNoteView.DeliveryNoteOutType = _StorageOutHeader.Storage.DeliveryNoteOutType_InventoryTransfer;
}
if (_StorageOutHeader.StorageMoveType.MoveType == eMoveType.ReturnBack)
{
_DeliveryNoteView.DeliveryNoteOutType = _StorageOutHeader.Storage.DeliveryNoteOutType_ReturnBack;
}
if (_StorageOutHeader.Customers != null)
{
if (_StorageOutHeader.Customers.Address1 != null) _DeliveryNoteView.TransportAddress = _onew.GetObjectByKey<Address>(_StorageOutHeader.Customers.Address1.Oid);
if (_StorageOutHeader.Customers.Address2 != null) _DeliveryNoteView.TransportAddress = _onew.GetObjectByKey<Address>(_StorageOutHeader.Customers.Address2.Oid);
if (_StorageOutHeader.Customers.ShipmentOption != null) _DeliveryNoteView.ShipmentOption = _onew.GetObjectByKey<ShipmentOption>(_StorageOutHeader.Customers.ShipmentOption.Oid);
if (_StorageOutHeader.Customers.QualityOption != null) _DeliveryNoteView.QualityOption = _onew.GetObjectByKey<QualityOption>(_StorageOutHeader.Customers.QualityOption.Oid);
}
e.View = Application.CreateDetailView(_onew, "DeliveryNoteView_DetailView", false, _DeliveryNoteView);
}
/// <summary>
/// Kitárolási bizonylathoz kapcsolódó szállítólevél újranyomtatása
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void aPrint_DeliveryNoteOutHeader_Execute(object sender, SimpleActionExecuteEventArgs e)
{
XPObjectSpace _ocur = View.ObjectSpace as XPObjectSpace;
StorageOutHeader _StorageOutHeader = View.CurrentObject as StorageOutHeader;
BusinessDocumentHelper.PrintDeliveryNoteOutHeader(_ocur, Frame, _StorageOutHeader.DeliveryNoteOutHeader);
}
private void aStornoDeliveryNoteOutfromStorageOut_Execute(object sender, SimpleActionExecuteEventArgs e)
{
XPObjectSpace _ocur = View.ObjectSpace as XPObjectSpace;
StorageOutHeader _StorageOutHeader = View.CurrentObject as StorageOutHeader;
DeliveryNoteOutHeader _DeliveryNoteOutHeader = BusinessDocumentHelper.StornoDeliveryNoteOutHeaderfromStorageOutHeader(_ocur, _StorageOutHeader);
if (_DeliveryNoteOutHeader!=null)
{
BusinessDocumentHelper.PrintDeliveryNoteOutHeader(_ocur, Frame, _DeliveryNoteOutHeader);
}
}
}
}
@@ -118,7 +118,13 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="aCreateDeliveryNoteOutfromStorageOut.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
<value>17, 56</value>
</metadata>
<metadata name="aPrint_DeliveryNoteOutHeader.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>290, 17</value>
</metadata>
<metadata name="aStornoDeliveryNoteOutfromStorageOut.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>290, 56</value>
</metadata>
<metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
@@ -1,4 +1,6 @@
using DevExpress.ExpressApp.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Xpo;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -19,14 +21,206 @@ namespace Nuvolar.Module.Helpers
return _DeliveryNoteOutHeader;
}
public static bool AddNewDeliveryNoteOutRows(XPObjectSpace _ObjectSpace, DeliveryNoteOutHeader _DeliveryNoteOutHeader)
/// <summary>
/// Új kimenő szállíttólevél fejléc a _deliveryNoteView popup alapján
/// </summary>
/// <param name="_ObjectSpace"></param>
/// <param name="_DeliveryNoteView"></param>
/// <returns></returns>
public static DeliveryNoteOutHeader CreateNewDeliveryNoteOutHeader(XPObjectSpace _ObjectSpace, DeliveryNoteView _DeliveryNoteView)
{
return true;
DeliveryNoteOutHeader _DeliveryNoteOutHeader = _ObjectSpace.CreateObject<DeliveryNoteOutHeader>();
try
{
_DeliveryNoteOutHeader.CustomersFrom = _ObjectSpace.GetObject(_DeliveryNoteView.CustomersFrom);
_DeliveryNoteOutHeader.ConnectInfo = "";
_DeliveryNoteOutHeader.CurrencyName = _ObjectSpace.GetObject((_DeliveryNoteView.CurrencyName));
_DeliveryNoteOutHeader.Customers = _ObjectSpace.GetObject((_DeliveryNoteView.Customers));
_DeliveryNoteOutHeader.DateCreated = GeneralFunction.GetSQLTime(_ObjectSpace.Session);
_DeliveryNoteOutHeader.DateExecution = GeneralFunction.GetSQLTime(_ObjectSpace.Session);
_DeliveryNoteOutHeader.DeliveryNoteOutType = _ObjectSpace.GetObject((_DeliveryNoteView.DeliveryNoteOutType));
_DeliveryNoteOutHeader.DocumentNumber = "";
_DeliveryNoteOutHeader.IsEditable = false;
_DeliveryNoteOutHeader.IsStorno = false;
_DeliveryNoteOutHeader.Note = _ObjectSpace.GetObject((_DeliveryNoteView.Note));
_DeliveryNoteOutHeader.QualityOption = _ObjectSpace.GetObject((_DeliveryNoteView.QualityOption));
_DeliveryNoteOutHeader.ShipmentOption = _ObjectSpace.GetObject((_DeliveryNoteView.ShipmentOption));
_DeliveryNoteOutHeader.TransportAddress = _ObjectSpace.GetObject((_DeliveryNoteView.TransportAddress));
}
catch (Exception)
{
_ObjectSpace.Delete(_DeliveryNoteOutHeader);
_DeliveryNoteOutHeader = null;
}
return _DeliveryNoteOutHeader;
}
/// <summary>
/// Létrehoz egy új DeliveryNoteOutRows objektumot (üresen, de a DeliveryNoteOutHeader-t beilleszti)
/// </summary>
/// <param name="_ObjectSpace"></param>
/// <param name="_DeliveryNoteOutHeader"></param>
/// <returns></returns>
public static DeliveryNoteOutRows AddNewDeliveryNoteOutRows(XPObjectSpace _ObjectSpace, DeliveryNoteOutHeader _DeliveryNoteOutHeader)
{
DeliveryNoteOutRows _DeliveryNoteOutRows = _ObjectSpace.CreateObject<DeliveryNoteOutRows>();
_DeliveryNoteOutRows.DeliveryNoteOutHeader = _DeliveryNoteOutHeader;
return _DeliveryNoteOutRows;
}
/// <summary>
/// Kitárolási sor FIFO lábaiból a QTT alapján egy kiszállítási sort készít
/// </summary>
/// <param name="_ObjectSpace"></param>
/// <param name="_DeliveryNoteOutHeader"></param>
/// <param name="_StorageOutRows"></param>
/// <returns></returns>
public static DeliveryNoteOutRows AddNewDeliveryNoteOutRows(XPObjectSpace _ObjectSpace, DeliveryNoteOutHeader _DeliveryNoteOutHeader, StorageOutRowsInRows _StorageOutRowsInRows, long _RowIndex)
{
DeliveryNoteOutRows _DeliveryNoteOutRows = _ObjectSpace.CreateObject<DeliveryNoteOutRows>();
try
{
_DeliveryNoteOutRows.DeliveryNoteOutHeader = _DeliveryNoteOutHeader;
_DeliveryNoteOutRows.DividedOriginal = 0;
_DeliveryNoteOutRows.QTT = _StorageOutRowsInRows.QTT_Will;
_DeliveryNoteOutRows.QTT_Invoiced = 0;
_DeliveryNoteOutRows.QTT_Will = 0;
_DeliveryNoteOutRows.RowIndex = _RowIndex;
_DeliveryNoteOutRows.StorageOutRowsInRows = _ObjectSpace.GetObject(_StorageOutRowsInRows);
_StorageOutRowsInRows.QTT_To_DeliveryOut = _DeliveryNoteOutRows.QTT; // A kitárolási sor is update !!!!
}
catch (Exception)
{
_ObjectSpace.Delete(_DeliveryNoteOutRows);
_DeliveryNoteOutRows = null;
}
return _DeliveryNoteOutRows;
}
/// <summary>
/// Véglegesíti a korábban elkezdett DeliveryNoteOutHeader-t
/// </summary>
/// <param name="_ObjectSpace"></param>
/// <param name="_DeliveryNoteOutHeader"></param>
/// <returns></returns>
public static bool FinalizeDeliveryNoteOutHeader(XPObjectSpace _ObjectSpace, DeliveryNoteOutHeader _DeliveryNoteOutHeader)
{
return true;
bool _Ok = true;
try
{
_ObjectSpace.CommitChanges();
}
catch (Exception)
{
_Ok = false;
}
return _Ok;
}
public static bool FinalizeDeliveryNoteOutHeader(XPObjectSpace _ObjectSpace, DeliveryNoteOutHeader _DeliveryNoteOutHeader, StorageOutHeader _StorageOutHeader)
{
bool _Ok = true;
try
{
_StorageOutHeader.DeliveryNoteOutHeader = _ObjectSpace.GetObject(_DeliveryNoteOutHeader);
_ObjectSpace.CommitChanges();
}
catch (Exception)
{
_Ok = false;
}
return _Ok;
}
/// <summary>
/// Szállítólevél nyomtatása
/// </summary>
/// <param name="_ObjectSpace"></param>
/// <param name="_Frame"></param>
/// <param name="_DeliveryNoteOutHeader"></param>
public static void PrintDeliveryNoteOutHeader(XPObjectSpace _ObjectSpace, Frame _Frame, DeliveryNoteOutHeader _DeliveryNoteOutHeader)
{
if (_DeliveryNoteOutHeader==null)
{
return;
}
if (_DeliveryNoteOutHeader.DeliveryNoteOutType.ReportDataV2 != null)
{
XAFPrintHelper _XAFPrintHelper = new XAFPrintHelper(_ObjectSpace, _Frame, _DeliveryNoteOutHeader.DeliveryNoteOutType.ReportDataV2,
CriteriaOperator.Parse("DeliveryNoteOutHeader.Oid = ?", _DeliveryNoteOutHeader.Oid));
_XAFPrintHelper.ShowPreviewV2();
}
}
/// <summary>
/// Kitárolási bizonylatról kiszállítótt szállító stornírozása
/// </summary>
/// <param name="_ObjectSpace"></param>
/// <param name="_DeliveryNoteOutHeader_Original"></param>
/// <param name="_StorageOutHeader"></param>
/// <returns></returns>
public static DeliveryNoteOutHeader StornoDeliveryNoteOutHeaderfromStorageOutHeader(XPObjectSpace _ObjectSpace, StorageOutHeader _StorageOutHeader)
{
DeliveryNoteOutHeader _DeliveryNoteOutHeader = CreateNewDeliveryNoteOutHeader(_ObjectSpace);
try
{
_StorageOutHeader.DeliveryNoteOutHeader.IsEditable = false;
_StorageOutHeader.DeliveryNoteOutHeader.IsStorno = true;
_DeliveryNoteOutHeader.ConnectInfo = _StorageOutHeader.DeliveryNoteOutHeader.DocumentNumber;
_DeliveryNoteOutHeader.CurrencyName = _StorageOutHeader.DeliveryNoteOutHeader.CurrencyName;
_DeliveryNoteOutHeader.Customers = _StorageOutHeader.DeliveryNoteOutHeader.Customers;
_DeliveryNoteOutHeader.CustomersFrom = _StorageOutHeader.DeliveryNoteOutHeader.CustomersFrom;
_DeliveryNoteOutHeader.DateCreated = GeneralFunction.GetSQLTime(_ObjectSpace.Session);
_DeliveryNoteOutHeader.DateExecution = GeneralFunction.GetSQLTime(_ObjectSpace.Session);
_DeliveryNoteOutHeader.DeliveryNoteOutType = _StorageOutHeader.DeliveryNoteOutHeader.DeliveryNoteOutType;
_DeliveryNoteOutHeader.IsEditable = false;
_DeliveryNoteOutHeader.IsStorno = true;
_DeliveryNoteOutHeader.Note = _StorageOutHeader.DeliveryNoteOutHeader.Note;
_DeliveryNoteOutHeader.QualityOption = _StorageOutHeader.DeliveryNoteOutHeader.QualityOption;
_DeliveryNoteOutHeader.ShipmentOption = _StorageOutHeader.DeliveryNoteOutHeader.ShipmentOption;
_DeliveryNoteOutHeader.TransportAddress = _StorageOutHeader.DeliveryNoteOutHeader.TransportAddress;
foreach (DeliveryNoteOutRows _DeliveryNoteOutRows_Original in _StorageOutHeader.DeliveryNoteOutHeader.DeliveryNoteOutRows)
{
_DeliveryNoteOutRows_Original.StorageOutRowsInRows.QTT_To_DeliveryOut = 0;
DeliveryNoteOutRows _DeliveryOutRows = _ObjectSpace.CreateObject<DeliveryNoteOutRows>();
_DeliveryOutRows.DeliveryNoteOutHeader = _DeliveryNoteOutHeader;
_DeliveryOutRows.ADRNumber = _DeliveryNoteOutRows_Original.ADRNumber;
_DeliveryOutRows.Note = _DeliveryNoteOutRows_Original.Note;
_DeliveryOutRows.QTT = _DeliveryNoteOutRows_Original.QTT * -1;
_DeliveryOutRows.QTT_Invoiced = 0;
_DeliveryOutRows.QTT_Will = 0;
_DeliveryOutRows.RowIndex = _DeliveryNoteOutRows_Original.RowIndex;
_DeliveryOutRows.StorageOutRowsInRows = _DeliveryNoteOutRows_Original.StorageOutRowsInRows;
}
_StorageOutHeader.DeliveryNoteOutHeader = null;
_ObjectSpace.CommitChanges();
}
catch (Exception)
{
}
finally
{
}
return _DeliveryNoteOutHeader;
}
#endregion
#region Invoice
@@ -2,11 +2,14 @@
<Application>
<ActionDesign>
<Actions>
<Action Id="aCreateDeliveryNoteOutfromStorageOut" Caption="Raktárközi szállítólevél készítése" />
<Action Id="aCreateNAVInvoiceReportXML" Caption="Lekérdezés futtatása" ConfirmationMessage="Niztosan lefuttatja a lekérdezést ?" />
<Action Id="aMoveOrderIn" Caption="Átvitel másik rendelésre" />
<Action Id="aOpenWindowsExplorer" Caption="Windows Intéző megnyitása" />
<Action Id="aOrderInStorageOut" Caption="Kitárolás" />
<Action Id="aPrint_DeliveryNoteOutHeader" Caption="Szállítólevél nyomtatása" />
<Action Id="aRecreateCustomersOrderDocuments" Caption="Beszállítói dokumentum paraméter generálása" />
<Action Id="aStornoDeliveryNoteOutfromStorageOut" Caption="Szállítólevél stornírozása" />
</Actions>
</ActionDesign>
<BOModel>
@@ -2,13 +2,15 @@
<Application>
<ActionDesign>
<Actions>
<Action Id="aCreateDeliveryNoteOutfromStorageOut" ImageName="document_lock" Caption="Szállítólevél készítése" TargetObjectsCriteria="[StorageMoveType.MoveDirection] = ##Enum#Nuvolar.Module.eMoveDirection,eOutput# And [StorageMoveType.MoveType] = ##Enum#Nuvolar.Module.eMoveType,InventoryTransfer#" />
<Action Id="aCreateDeliveryNoteOutfromStorageOut" ImageName="document_lock" Caption="Szállítólevél készítése" TargetObjectsCriteria="[StorageMoveType.MoveDirection] = ##Enum#Nuvolar.Module.eMoveDirection,eOutput# And [DeliveryNoteOutHeader] Is Null And [StorageMoveType.MoveType] In (##Enum#Nuvolar.Module.eMoveType,InventoryTransfer#, ##Enum#Nuvolar.Module.eMoveType,ReturnBack#)" />
<Action Id="aCreateNAVInvoiceReportXML" ImageName="Action_Export_ToXML" />
<Action Id="aDeliveryNoteOutPrint_Divided" ImageName="MenuBar_Print" TargetObjectsCriteria="[DividedOriginal] In (2L, 1L)" />
<Action Id="aMoveOrderIn" ImageName="replace2" />
<Action Id="aMoveOrderInBack" ImageName="selection_replace" TargetObjectsCriteria="[OrderInHeader.IsEditable] = True And [QTT_Invoiced] = 0.0 And [QTT_DeliveryNoted] &gt; 0.0 And [QTT_DeliveryNoted] = [QTT_Storaged] And [DividedOriginal] = 1L" />
<Action Id="aOpenWindowsExplorer" ImageName="console" />
<Action Id="aOrderInStorageOut" ImageName="document_out" />
<Action Id="aPrint_DeliveryNoteOutHeader" ImageName="Action_Printing_Print" TargetObjectsCriteria="[DeliveryNoteOutHeader] Is Not Null" />
<Action Id="aStornoDeliveryNoteOutfromStorageOut" ImageName="document_delete" TargetObjectsCriteria="[DeliveryNoteOutHeader] Is Not Null And [DeliveryNoteOutHeader.IsStorno] = False And [StorageMoveType.MoveType] In (##Enum#Nuvolar.Module.eMoveType,InventoryTransfer#, ##Enum#Nuvolar.Module.eMoveType,ReturnBack#) And [StorageMoveType.MoveDirection] = ##Enum#Nuvolar.Module.eMoveDirection,eOutput#" />
<Action Id="aViewPriceFixCustomers" Caption="Ármátrix áttekintése" ImageName="money2" />
</Actions>
<ActionToContainerMapping>