Method PlaceOpenArticle
PlaceOpenArticle(string, int, string, HandingType, string, string, double, double, bool, double)
Places an "open article", i.e. an article not belonging to any catalog, in the current scene.
Declaration
public Scene.Object PlaceOpenArticle(string supplierId, int headingRank, string articleReference, Scene.Object.HandingType handingType, string name, string description, double purchasePrice, double sellingPrice, bool isVatIncluded, double quantity)
Parameters
Type | Name | Description |
---|---|---|
string | supplierId | The identifier of the supplier to which the article will belong. |
int | headingRank | The rank of the scene heading to which the article will be attached. |
string | articleReference | The article reference. |
Scene.Object.HandingType | handingType | The handing type if the article. |
string | name | Short name of the article (30 characters max). |
string | description | Description of the article (it will appear in the estimate). |
double | purchasePrice | Unit purchase price of the article. |
double | sellingPrice | Unit sales price of the article. |
bool | isVatIncluded | Indicades whether the selling price includes VAT. |
double | quantity | The quantity of the article (with decimals if necessary). |
Returns
Type | Description |
---|---|
Scene.Object |