func X3.EN_DEV_VALIDATE_TRANSACTION(Char MODULE_IN, Integer TYPE_IN, Char CODE_IN, Char FOLDER_IN) : Tinyint

Validate transactions.

  • MODULE_IN Char Code of the module to validate:
    • "SAL" : Sale
    • "PUR" : Purchase
    • "STK" : Stock
    • "MFG" : Production
    • "CPT" : Accounting
    • "HDK" : Customer relationship
    • "GTC" : Consultation screens
  • TYPE_IN Integer Function to validate according to the module:
    • "SAL" :
      • 0 = All
      • 1 = Quote
      • 2 = Order
      • 3 = Open Order
      • 4 = Delivery
      • 5 = Invoice
      • 6 = Customer Return
      • 7 = Back Ready
      • 8 = Return of subcontracted materials
      • 52= Credit
    • "PUR" :
      • 0 = All
      • 1 = Tenders
      • 2 = Purchase requests
      • 3 = Orders
      • 5 = Open Orders
      • 6 = Supplier receipts
      • 7 = Supplier Returns
      • 8 = Invoices/Credits
      • 9 = Subcontracting orders
    • "STK" :
      • 0 = All
      • 1 = Miscellaneous Inputs
      • 2 = Miscellaneous outputs
      • 3 = Stock Changes
      • 4 = Lots Change
      • 5 = Storage Plan
      • 6 = Inventories
      • 8 = Quality Control
      • 9 = Replenishment Plan
      • 10= Preparation Plan
      • 11= Packing
      • 12= Preparation Plan
      • 51= Global production schedule
      • 52= Planning workbench
      • 53= Groupings
    • "MFG" :
      • 0 = All
      • 1 = Production order
      • 2 = Manufacturing follow-up
      • 60= Time tracking plan
      • 61= Consumption Plan
      • 62= Production plan
      • 63= Reintegration plan
      • 65= Piloting plans
      • 66= Data Sheet Map
      • 90= Weigh Plan
    • "HDK" :
      • 0 = All
      • 1 = Park
      • 2 = Service Requests
      • 3 = Intervention
  • CODE_IN Char Code of a particular transaction to validate: STD, ALL, etc ...
  • FOLDER_IN Char Name of the folder in which to validate the transactions
Return Tinyint 1 if successful and 0 if not
Example

func X3.EN_DEV_VALIDATE_TRANSACTION("SAL", 1, "", nomap)
Validates all Sales Quote entry transactions in the current file