Get Price in Kalipso
MSS 5.1 - Extensibility - Functions MSS to Kalipso - Get Price in Kalipso
When MSS 5.1 tries to get a price and discounts when adding a new product to a document will try to get it from the extension project.
Extension action set = EXT_PRC_GETPRICE
Input Parameters
inDocumentType – Type of the current document;
inCustomerCode – Code of the selected customer;
inArticleCode – Code of the selected article;
inQuantity – Current quantity;
inDeliveryLocationCode – Code of the selected delivery location;
inHeaderUserField1 – Value of user field 1 from document;
inHeaderUserField2 – Value of user field 2 from document;
inHeaderUserField3 – Value of user field 3 from document;
inCustomerPriceLine – Selected Price line;
inLineType – Code of line type (N – Normal, D – Return, … check MSS documentation for full list);
inACL – Aditional columns needed to calculate the price;
inUnit – Unit selected;
Output parameters
outResultCode – Return code: 1 – Done / 0 – Error;
outprice – Calculated price;
outDiscount1 – Calculated discount 1;
outDiscount2 – Calculated discount 2;
outDiscount3 – Calculated discount 3;
outDiscount4 – Calculated discount 4;
outPriceCode – Code of calculated price;
outDiscount1Code – Code of calculated discount 1;
outDiscount2Code – Code of calculated discount 2;
outDiscount3Code – Code of calculated discount 3;
outDiscount4Code – Code of calculated discount 4;
outUserField1 – Aditional field 1(not used);
outUserField2 – Aditional field 2(not used);
outUserField3 – Aditional field 3(not used);
outVATIncluded – If the calculated price has VAT included or not (must return S - VAT included or N – Not included); outVATTax – VAT tax applied;
Last updated