コード例 #1
0
        private async void MarkOrderLineAgainstOL(CreditorOrderLineClient selectedItem = null)
        {
            OrderAPI orderApi = new OrderAPI(api);

            busyIndicator.IsBusy = true;
            var err = await orderApi.MarkedOrderLineAgainstOrderLine(debtorOrderLine, selectedItem);

            busyIndicator.IsBusy = false;
            if (err != ErrorCodes.Succes)
            {
                UtilDisplay.ShowErrorCode(err);
            }
            else
            {
                dockCtrl.CloseDockItem();
            }
        }