🧰
MSS - Extensibility
  • Presentation
  • MSS - Google Maps
  • MSS 5.1
    • Functions Kalipso to MSS
      • Article
        • EXT_Article_GetDefaultUnit
        • EXT_Article_GetImage
        • EXT_Article_GetPrice
        • EXT_Article_GetTotals
        • EXT_Article_Record
        • EXT_Article_Select
        • EXT_Article_ValidatePriceAndDiscounts
      • Customer
        • EXT_Customer_Record
        • EXT_Customer_Select
        • EXT_Customer_SelectContact
        • EXT_Customer_SelectDeliveryPlace
        • EXT_Customer_ValidateNIF
        • EXT_Customer_New
        • EXT_Customer_Edit
      • Deposit
        • EXT_Deposit_Cancel
        • EXT_Deposits_OpenModule
      • Document
        • EXT_Document_Cancel​
        • ​EXT_Document_AddLine​
        • EXT_Document_DeleteLine​
        • ​EXT_Document_EditLine​
        • ​EXT_Document_Finalize​
        • EXT_Document_Recalculate
        • EXT_Documents_OpenModule
        • EXT_Document_Resume
      • Email
        • EXT_Email_SendCurrentAccount
        • EXT_Email_SendReport
        • EXT_Email_SendDocument
      • GMAPS
        • EXT_GMAPS_LoadMap
      • GPS
        • EXT_GPS_Connect
        • EXT_GPS_GetAddressFromLatLong
        • EXT_GPS_GetCoordinates
        • EXT_GPS_GetCoordinatesFromAddress
      • Location
        • EXT_Location_OpenModule
      • Lots
        • EXT_Lots_OpenSeletion
      • Menu
        • EXT_Menu_OpenModule
      • MSS
        • EXT_MSS_GetCurrentVersion
      • Numerators
        • EXT_Numerators_GetNextNumber
        • EXT_Numerators_SetNewNumber
      • Orders
        • EXT_Orders_OpenModule
      • Print
        • EXT_Print_Document
        • EXT_Print_Report
      • Prospect
        • EXT_Prospect_Record
        • EXT_Prospect_Select
        • EXT_Prospect_SelectContact
        • EXT_Prospect_SelectDeliveryPlace
        • EXT_Prospect_ConvertToCustomer
      • Receipts
        • EXT_Receipts_Cancel
        • EXT_Receipts_OpenModule
      • Resources
        • EXT_Resources_OpenWindow
      • Sales
        • EXT_Sales_OpenModule
      • Service
        • EXT_Service_Cancel
        • EXT_Service_Close
        • EXT_Service_NewArticle
        • EXT_Service_OpenService
        • EXT_Service_SaveService
        • EXT_Service_SelectedEquipment
        • EXT_Service_ValidateBeforeInvoice
        • EXT_Service_Invoice
      • Synchronize
        • EXT_Synchronize_OpenModule
        • EXT_Synchronize_SendFileToServer
      • TransportDocument
        • EXT_TransportDocument_OpenModule
      • User
        • EXT_User_GetCurrentUserInfo
      • EndOfDay
        • EXT_EndOfDay_OpenModule
      • Utils
        • EXT_Decrypt_Value
        • EXT_Log_SaveLog
        • EXT_Utils_PickDate
        • EXT_Utils_PickTime
        • EXT_Utils_GetParameter
        • EXT_Utils_HasAccess
      • Visits
        • EXT_Visits_OpenModule
        • EXT_Visits_GetVisitStatus
        • EXT_Visits_CheckIn
        • EXT_Visits_Checkout
    • Functions MSS to Kalipso
      • Menu Button Kalipso
        • General
        • Additional technical services menu
        • Additional dashboards menu
        • Additional pre-sales menu
        • Additional auto-sales menu
        • Additional receipts menu
        • Additional purchases menu
        • Additional customers menu
        • Additional prospects menu
        • Additional products menu
        • Additional main menu popup
      • Get Price in Kalipso
      • Quantity screen
      • Entity selection in Kalipso
      • Article selection in Kalipso
      • Document User Fields
      • Clients
        • 100 - Clients Module
        • 102 - New Client
        • 104 - Duplicate Client
        • 105 - Save Client
        • 120 - New Client Delivery Place
        • 121 - Modify Client Delivery Place
        • 122 - See Client Delivery Place
        • 151 - General Information
        • 152 - Commercial Information
        • 153 - Observations (only Smartphone)
        • 154 - User Fields
        • 155 - Localization
        • 156 - Delivery Places List
        • 157 - Contacts List
        • 158 - New Visit Report
        • 159 - Documents List
        • 160 - Balance / New Receipt
        • 161 - New Order
        • 162 - New Sale
        • 163 - New Purchase
        • 164 - User Table 1 (Smartphone) / Dashboards (Tablet)
        • 165 - User Table 2 (only Smartphone)
        • 166 - Client Sales Statistics (only Tablet)
        • 167 - Client Price Table (only Tablet)
      • Articles
        • 200 - Articles Module
      • Diary
        • 300 - Diary Module
      • Orders
        • 400 - Orders Module
        • 402 - Save Document
        • 403 - Cancel Document
        • 406 - Read Barcode
        • 410 - Quantity screen
        • 411 - Add Article
        • 412 - Select Article Price
        • 413 - Document validations
        • 414 - Edit Article Line
        • 415 - Origin Document Screen
        • 416 - Delete line
        • 418 - Quantity Screen Confirmation
      • Sales
        • 500 - Sales Module
        • 502 - Save Document
        • 503 - Cancel Document
        • 506 - Read Barcode
        • 510 - Quantity screen
        • 511 - Add Article
        • 512 - Select Article Price
        • 513 - Document validations
        • 514 - Edit Article Line
        • 515 - Origin Document Screen
        • 516 - Delete line
        • 518 - Quantity Screen Confirmation
        • 519 - Payments Screen
      • Receipts
        • 600 - Receipts Module
        • 602 - Save Document
        • 603 - Cancel Receipt
        • 613 - Documents button click (Receipt Header)
        • 619 - Receipts Screen
      • Charges
        • 700 - Charges Module
      • Visits
        • 800 - Visits Module
      • Bank Deposits
        • 900 - Bank Deposits Module
      • Documents
        • 1000 - Documents Module
      • Personal Expenses
        • 1100 - Personal Expenses Module
      • Synchronize
        • 1200 - Synchronize Module
      • Start of Day
        • 1300 - Start of Day Module
        • 1301 - Save Start of Day
      • End of Day
        • 1400 - End of Day Module
        • 1401 - Save End of Day
      • Objectives
        • 1500 - Objectives Module
      • Deliveries
        • 1600 - Deliveries Module
        • 1610 - Open delivery
        • 1612 - Set Delivery as Not Delivered
        • 1620 - Save Delivery
        • 1623 - Product Barcode
      • Online Requests
        • 1700 - Online Requests Module
      • Payments/Advancements
        • 1800 - Payments/Advancements Module
      • Stocks
        • 1900 - Stocks Module
      • Equipments
        • 2100 - Equipments Module
      • Catalog
        • 2200 - Catalog Module
        • 2210 - Catalog v3 shopping cart
      • Agenda
        • 2300 - Agenda Module
      • Services
        • 2400 - Services Module
        • 2401 - Equipment Check List
        • 2402 - Replace Historic
        • 2403 - Service Check List
        • 2404 - User fields
        • 2410 - Open Service
        • 2411 - New Service
        • 2412 - Service Change of State
        • 2413 - Save Service
        • 2420 - End intervention
        • 2421 - New / Start intervention
      • Unlock
        • 2500 - Unlock Module
      • Prospects
        • 2600 - Prospects Module
        • 2605 - Save Prospect
      • Unlock Customer
        • 3000 - Unlock Customer Module
      • POS
        • 3100 - Mobile POS Module
      • Purchases
        • 3200 - Purchases Module
        • 3206 - Read Barcode
        • 3210 - Quantity screen
      • Suppliers
        • 3300 - Suppliers Module
        • 3305 – Save Supplier
        • 3354 - User fields
      • Dashboards
        • 3400 - Dashboards Module
      • My Team
        • 3500 - My Team Module
      • Surveys
        • 3600 - Surveys Module
      • Login
        • 3700 - Login validation
      • General
        • 3800 - Select Document Customer
        • 3801 - Clear Document Lines
        • 3802 – On Select Document Type
        • 3803 - On Select Document Delivery Place
      • Transport Document
        • 3900 - Open Module
      • Email
        • 4000 - Send document
        • 4001 - Send report
      • Print
        • 4200 - Print document
      • Menu
        • 4300 - Main Menu
  • MSS 5.0
    • Functions Kalipso to MSS
      • Article
        • EXT_Article_GetDefaultUnit
        • EXT_Article_GetImage
        • EXT_Article_GetPrice
        • EXT_Article_GetTotals
        • EXT_Article_Record
        • EXT_Article_Select
        • EXT_Article_ValidatePriceAndDiscounts
      • Customer
        • EXT_Customer_Record
        • EXT_Customer_Select
      • Deposit
        • EXT_Deposit_Cancel
        • EXT_Deposits_OpenModule
      • Document
        • EXT_Document_Cancel
        • EXT_Document_AddLine
        • EXT_Document_DeleteLine
        • EXT_Document_EditLine
        • EXT_Document_Finalize
        • EXT_Document_Recalculate
        • EXT_Documents_OpenModule
      • GMAPS
        • EXT_GMAPS_LoadMap
      • GPS
        • EXT_GPS_Connect
        • EXT_GPS_GetAddressFromLatLong
        • EXT_GPS_GetCoordinates
        • EXT_GPS_GetCoordinatesFromAddress
      • Lots
        • EXT_Lots_OpenSeletion
      • MSS
        • EXT_MSS_GetCurrentVersion
      • Numerators
        • EXT_Numerators_GetNextNumber
        • EXT_Numerators_SetNewNumber
      • Orders
        • EXT_Orders_OpenModule
      • Print
        • EXT_Print_Document
        • EXT_Print_Report
      • Prospect
        • EXT_Prospect_Record
        • EXT_Prospect_Select
      • Receipts
        • EXT_Receipts_Cancel
        • EXT_Receipts_OpenModule
      • Resources
        • EXT_Resources_OpenWindow
      • Sales
        • EXT_Sales_OpenModule
      • Service
        • EXT_Service_Cancel
      • Synchronize
        • EXT_Synchronize_OpenModule
      • TransportDocument
        • EXT_TransportDocument_OpenModule
      • User
        • EXT_User_GetCurrentUserInfo
      • EndOfDay
        • EXT_EndOfDay_OpenModule
    • Functions MSS to Kalipso
      • Menu Button Kalipso
      • Get Price in Kalipso
      • Quantity screen
      • Entity selection in Kalipso
      • Article selection in Kalipso
      • Clients
        • 100 - (Clients) Clients Module
        • 102 - (Clients) New Client
        • 104 - (Clients) Duplicate Client
        • 120 - (Clients->Delivery Place) New Client Delivery Place
        • 121 - (Clients->Delivery Place) Modify Client Delivery Place
        • 122 - (Clients->Delivery Place) See Client Delivery Place
        • 151 - (Clients) General Information
        • 152 - (Clients) Commercial Information
        • 153 - (Clients) Observations (only Smartphone)
        • 154 - (Clients) User Fields
        • 155 - (Clients) Localization
        • 156 - (Clients) Delivery Places List
        • 157 - (Clients) Contacts List
        • 158 - (Clients) New Visit Report
        • 159 - (Clients) Documents List
        • 160 - (Clients) Balance / New Receipt
        • 161 - (Clients) New Order
        • 162 - (Clients) New Sale
        • 163 - (Clients) New Purchase
        • 164 - (Clients) User Table 1 (Smartphone) / Dashboards (Tablet)
        • 165 - (Clients) User Table 2 (only Smartphone)
        • 166 - (Clients) Client Sales Statistics (only Tablet)
        • 167 - (Clients) Client Price Table (only Tablet)
      • Articles
        • 200 - (Articles) Articles Module
      • Diary
        • 300 - (Diary) Diary Module
      • Orders
        • 400 - (Orders) Orders Module
        • 402 - (Orders) Save Document
        • 403 - (Orders) Cancel Document
        • 406 - (Orders) Read Barcode
        • 410 – (Orders) Quantity screen
        • 411 - (Orders) Add Article
        • 412 - (Orders) Select Article Price
        • 413 - (Orders) Document validations
        • 414 - (Orders) Edit Article Line
        • 415 - (Orders) Origin Document Screen
        • 416 - (Orders) Delete line
      • Sales
        • 500 - (Sales) Sales Module
        • 502 - (Sales) Save Document
        • 503 - (Sales) Cancel Document
        • 506 - (Sales) Read Barcode
        • 510 - (Sales) Quantity screen
        • 511 - (Sales) Add Article
        • 512 - (Sales) Select Article Price
        • 513 - (Sales) Document validations
        • 514 - (Sales) Edit Article Line
        • 515 - (Sales) Origin Document Screen
        • 516 - (Sales) Delete line
      • Receipts
        • 600 - (Receipts) Receipts Module
        • 602 - (Receipts) Save Document
        • 603 - (Receipts) Cancel Receipt
      • Charges
        • 700 - (Charges) Charges Module
      • Visits
        • 800 - (Visits) Visits Module
      • Bank Deposits
        • 900 - (Bank Deposits) Bank Deposits Module
      • Documents
        • 1000 - (Documents) Documents Module
      • Personal Expenses
        • 1100 - (Personal Expenses) Personal Expenses Module
      • Synchronize
        • 1200 - (Synchronize) Synchronize Module
      • Start of Day
        • 1300 - (Start of Day) Start of Day Module
        • 1301 - (Start of Day) Save Start of Day
      • End of Day
        • 1400 - (End of Day) End of Day Module
        • 1401 - (End of Day) Save End of Day
      • Objectives
        • 1500 - (Objectives) Objectives Module
      • Deliveries
        • 1600 - (Deliveries) Deliveries Module
        • 1610 - (Deliveries) Open delivery
        • 1612 - (Deliveries) Set Delivery as Not Delivered
        • 1620 - (Deliveries) Save Delivery
        • 1623 - (Deliveries) Product Barcode
      • Online Requests
        • 1700 - (Online Requests) Online Requests Module
      • Payments/Advancements
        • 1800 - (Payments/Advancements) Payments/Advancements Modulentitled
      • Stocks
        • 1900 - (Stocks) Stocks Module
      • Equipments
        • 2100 - (Equipments) Equipments Module
      • Catalog
        • 2200 - (Catalog) Catalog Module
        • 2210 - (Catalog) Catalog v3 shopping cart
      • Agenda
        • 2300 - (Agenda) Agenda Module
      • Services
        • 2400 - (Services) Services Module
        • 2401 - (Services) Replace Check List
        • 2402 - (Services) Replace Historic
        • 2420 - (Services) End intervention
      • Unlock
        • 2500 - (Unlock) Unlock Module
      • Prospects
        • 2600 - (Prospects) Prospects Module
      • Unlock Customer
        • 3000 - (Unlock Customer) Unlock Customer Module
      • POS
        • 3100 - (POS) Mobile POS Module
      • Purchases
        • 3200 - (Purchases) Purchases Module
        • 3206 - (Purchases) Read Barcode
        • 3210 - (Purchases) Quantity screen
      • Suppliers
        • 3300 - (Suppliers) Suppliers Module
      • Dashboards
        • 3400 - (Dashboards) Dashboards Module
      • My Team
        • 3500 - (My Team) My Team Module
      • Surveys
        • 3600 - (Surveys) Surveys Module
      • Login
        • 3700 - (Login) Login validation
      • General
        • 3800 - Select Document Customer
        • 3801 - Clear Document Lines
      • Transport Document
        • 3900 - (Transport Document) Open Module
      • Email
        • 4000 - (Email) Send document
        • 4001 - (Email) Send report
      • Print
        • 4200 - (Print) Print document
Powered by GitBook
On this page

Was this helpful?

  1. MSS 5.0
  2. Functions MSS to Kalipso

Quantity screen

MSS 5.0 - Extensibility - Functions MSS to Kalipso - Quantity screen

Replacing quantity screen (Orders, Sales, Deliveries and Services)

This information is valid either for function 410, 510, 2410 and 3210, the input parameters are the same for Before, Replace and After. When Replacing must return values to MSS.

Input Parameters:

  • inOpenMode – 0 new line, 1 when changing a line;

  • inDCCTPD – Type of the current document;

  • inDCCCLI – Code of the selected customer;

  • inCLIPRC – Line price of the customer (DCCACL.42 of the current document because it can be changed in the document)

  • inDCCLCE – Code of the selected delivery location;

  • inDCCDCG – Global discount;

  • inDCCDPP – Prompt payment discount;

  • inARTCOD – Code of the selected article;

  • inARTDSC – Description of the article;

  • inStock – Current Stock of the article;

  • inQty – Current quantity;

  • inUnit – Current selected unit;

  • inPrice – Current price;

  • inDiscount1 – Current discount 1;

  • inDiscount2 – Current discount 2;

  • inDiscount3 – Current discount 3;

  • inDiscount4 – Current discount 4;

  • inOriginalPrice – Original price given by MSS;

  • inOriginalDisc1 – Original discount 1 given by MSS;

  • inOriginalDisc2 – Current discount 2 given by MSS;

  • inOriginalDisc3 – Current discount 3 given by MSS;

  • inOriginalDisc4 – Current discount 4 given by MSS;

  • inDCLACL7_11 – Price and discounts codes concatenated by Character 7;

  • inPriceFactor – Multiplier factor for the price (loaded from units table MSUND, field UNDFCT);

  • inQtyFactor – Multiplier factor for the quantity (loaded from units table MSUND, field UNDFQT);

  • inLineType – Code of line type (N – Normal, D – Return, … check MSS documentation for full list);

  • inDCLMTD – Delivery motive code; inDCLSTM – Stock movement (1 – Normal / 2 – Unsaleable / 0 – Doesn’t move stock);

  • inLength – Length of the article (DCLCMP);

  • inWidth – Width of the article (DCLLGR);

  • inHeight – Height of the article (DCLALT);

  • inWeight – Unit weight of the article (DCLPES);

  • inTotalWeight – Total weight of the article (DCLPET);

  • inMaxQty – To validate Max Qty, for example, credit notes can’t add quantity greater than the origin invoice;

  • inOnlyDevol – To force the type of line to Only Return;

  • inCanChangeOnlyQty – To allow only the change of the quantity, line type, prices and discount can’t be changed;

  • inControlToFocus – Which control should have the focus: P – Price / Q – Quantity / D1 – Discount 1 / D2 – Discount 2 / D3 – Discount 3 / D4 – Discount 4 / if empty will assume Q;

  • inTypesToDisable – Disable line types, the codes of line type will be concatenated, for example β€œOB” will disable Bonus and Offer line types;

Output parameters:

  • outResultCode – Return code: 1 – OK / 0 – Cancel;

  • outprice – Price;

  • outDiscount1 – Discount 1;

  • outDiscount2 – Discount 2;

  • outDiscount3 – Discount 3;

  • outDiscount4 – Discount 4;

  • outLineType – Line type selected;

  • outUnit – Unit selected;

  • outPriceFactor – Price factor;

  • outQtyFactor – Quantity factor;

  • outQty – Quantity;

  • outLength – Length of the article;

  • outWidth – Width of the article;

  • outHeight – Height of the article;

  • outWeight – Weight of the article;

  • outTotalWeight – Total weight of the article;

  • outDCLMTD – Delivery motive code;

  • outDCLSTM - Stock movement;

  • inOriginalPrice – Original price given by MSS;

  • inOriginalDisc1 – Original discount 1 given by MSS;

  • inOriginalDisc2 – Current discount 2 given by MSS;

  • inOriginalDisc3 – Current discount 3 given by MSS;

  • inOriginalDisc4 – Current discount 4 given by MSS;

  • outLastCount – Last count used when article type is counter;

  • outActualCount – Actual count used when article type is counter;

  • outDCLACL_7_11 – Price and discounts codes concatenated by Character 7;

  • outOpenMSSModule – Return code: 1 – Open MSS quantity screen / 0 – Don’t open MSS quantity screen;

PreviousGet Price in KalipsoNextEntity selection in Kalipso

Last updated 4 years ago

Was this helpful?