Sage.PL.WebAPI.Interface.Sales.Interfaces Namespace > ISalesIssueController Interface > ISalesIssueController Methods > IssueAdvancePayment Method  > IssueAdvancePayment Method (Int32, AdvancePaymentOptions)

Drukuj

.NET Framework Class Library

ISalesIssueController.IssueAdvancePayment Method (Int32, AdvancePaymentOptions)

Metoda umożliwia dodanie do bufora faktury zaliczkowej do kontraktu sprzedaży o podanym id.

[PUT] /api/SalesIssue/AdvancePayment?documentId=id_dokumentu

Namespace: Sage.PL.WebAPI.Interface.Sales.Interfaces

Assembly:  Sage.PL.WebAPI.Interface.Sales (in Sage.PL.WebAPI.Interface.Sales.dll) Version: 24.2.1.0 (24.2.1.0)

Syntax

Visual Basic

Function IssueAdvancePayment ( _
 documentId As Integer, _
 options As AdvancePaymentOptions _
As IHttpActionResult

C#

IHttpActionResult IssueAdvancePayment(
 int documentId,
 AdvancePaymentOptions options
)

Visual C++

IHttpActionResultIssueAdvancePayment(
 int documentId,
 AdvancePaymentOptionsoptions
)

JavaScript

function issueAdvancePayment(documentIdoptions);

Parameters

documentId

Type: System.Int32

[FromUri] Id dokumentu sprzedaży.

options

Type: Sage.PL.WebAPI.Interface.Sales.ViewModels.AdvancePaymentOptions

[FromBody] Obiekt zawierający opcje utworzenia dokumentu.

Return Value

Zwraca obiekt dokumentu sprzedaży SaleDocument.

See Also

ISalesIssueController Interface

ISalesIssueController Members

IssueAdvancePayment Overload

Sage.PL.WebAPI.Interface.Sales.Interfaces Namespace