@globisnv/cypress-core 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. package/README.md +1 -1
  2. package/package.json +7 -7
  3. package/dist/apiMethods/IGS_request.d.ts +0 -98
  4. package/dist/apiMethods/IGS_request.js +0 -161
  5. package/dist/apiMethods/IGS_response.d.ts +0 -47
  6. package/dist/apiMethods/IGS_response.js +0 -1
  7. package/dist/blueprints/GLO_addressPopup.d.ts +0 -45
  8. package/dist/blueprints/GLO_addressPopup.js +0 -96
  9. package/dist/blueprints/GLO_article.d.ts +0 -45
  10. package/dist/blueprints/GLO_article.js +0 -110
  11. package/dist/blueprints/GLO_articleLot.d.ts +0 -12
  12. package/dist/blueprints/GLO_articleLot.js +0 -23
  13. package/dist/blueprints/GLO_articleVersion.d.ts +0 -4
  14. package/dist/blueprints/GLO_articleVersion.js +0 -4
  15. package/dist/blueprints/GLO_attachmentPopup.d.ts +0 -9
  16. package/dist/blueprints/GLO_attachmentPopup.js +0 -10
  17. package/dist/blueprints/GLO_bankAccount.d.ts +0 -7
  18. package/dist/blueprints/GLO_bankAccount.js +0 -7
  19. package/dist/blueprints/GLO_billingProcess.d.ts +0 -4
  20. package/dist/blueprints/GLO_billingProcess.js +0 -4
  21. package/dist/blueprints/GLO_billingProposal.d.ts +0 -9
  22. package/dist/blueprints/GLO_billingProposal.js +0 -9
  23. package/dist/blueprints/GLO_cancel.d.ts +0 -7
  24. package/dist/blueprints/GLO_cancel.js +0 -7
  25. package/dist/blueprints/GLO_commandlist.d.ts +0 -10
  26. package/dist/blueprints/GLO_commandlist.js +0 -10
  27. package/dist/blueprints/GLO_complaint.d.ts +0 -27
  28. package/dist/blueprints/GLO_complaint.js +0 -51
  29. package/dist/blueprints/GLO_composition.d.ts +0 -14
  30. package/dist/blueprints/GLO_composition.js +0 -20
  31. package/dist/blueprints/GLO_consignment.d.ts +0 -61
  32. package/dist/blueprints/GLO_consignment.js +0 -104
  33. package/dist/blueprints/GLO_consignmentContainerGroup.d.ts +0 -6
  34. package/dist/blueprints/GLO_consignmentContainerGroup.js +0 -6
  35. package/dist/blueprints/GLO_consignmentGoods.d.ts +0 -40
  36. package/dist/blueprints/GLO_consignmentGoods.js +0 -62
  37. package/dist/blueprints/GLO_consignmentHandling.d.ts +0 -4
  38. package/dist/blueprints/GLO_consignmentHandling.js +0 -4
  39. package/dist/blueprints/GLO_consignmentOrder.d.ts +0 -31
  40. package/dist/blueprints/GLO_consignmentOrder.js +0 -37
  41. package/dist/blueprints/GLO_consignmentPart.d.ts +0 -13
  42. package/dist/blueprints/GLO_consignmentPart.js +0 -13
  43. package/dist/blueprints/GLO_consignmentParts.d.ts +0 -5
  44. package/dist/blueprints/GLO_consignmentParts.js +0 -12
  45. package/dist/blueprints/GLO_consignmentPrice.d.ts +0 -11
  46. package/dist/blueprints/GLO_consignmentPrice.js +0 -19
  47. package/dist/blueprints/GLO_consignmentSupplier.d.ts +0 -6
  48. package/dist/blueprints/GLO_consignmentSupplier.js +0 -11
  49. package/dist/blueprints/GLO_contacts.d.ts +0 -10
  50. package/dist/blueprints/GLO_contacts.js +0 -14
  51. package/dist/blueprints/GLO_container.d.ts +0 -6
  52. package/dist/blueprints/GLO_container.js +0 -4
  53. package/dist/blueprints/GLO_contract.d.ts +0 -22
  54. package/dist/blueprints/GLO_contract.js +0 -30
  55. package/dist/blueprints/GLO_contractArticle.d.ts +0 -17
  56. package/dist/blueprints/GLO_contractArticle.js +0 -35
  57. package/dist/blueprints/GLO_contractArticleCost.d.ts +0 -5
  58. package/dist/blueprints/GLO_contractArticleCost.js +0 -8
  59. package/dist/blueprints/GLO_countryVatZone.d.ts +0 -8
  60. package/dist/blueprints/GLO_countryVatZone.js +0 -9
  61. package/dist/blueprints/GLO_currencyDeviation.d.ts +0 -14
  62. package/dist/blueprints/GLO_currencyDeviation.js +0 -15
  63. package/dist/blueprints/GLO_customerArticle.d.ts +0 -12
  64. package/dist/blueprints/GLO_customerArticle.js +0 -15
  65. package/dist/blueprints/GLO_customsFlow.d.ts +0 -8
  66. package/dist/blueprints/GLO_customsFlow.js +0 -19
  67. package/dist/blueprints/GLO_customsFlowDefinition.d.ts +0 -15
  68. package/dist/blueprints/GLO_customsFlowDefinition.js +0 -14
  69. package/dist/blueprints/GLO_customsUnion.d.ts +0 -4
  70. package/dist/blueprints/GLO_customsUnion.js +0 -4
  71. package/dist/blueprints/GLO_deliveryReceipt.d.ts +0 -10
  72. package/dist/blueprints/GLO_deliveryReceipt.js +0 -22
  73. package/dist/blueprints/GLO_departureSchedule.d.ts +0 -27
  74. package/dist/blueprints/GLO_departureSchedule.js +0 -57
  75. package/dist/blueprints/GLO_departureScheduleTimes.d.ts +0 -49
  76. package/dist/blueprints/GLO_departureScheduleTimes.js +0 -61
  77. package/dist/blueprints/GLO_document.d.ts +0 -7
  78. package/dist/blueprints/GLO_document.js +0 -7
  79. package/dist/blueprints/GLO_documentAttachment.d.ts +0 -4
  80. package/dist/blueprints/GLO_documentAttachment.js +0 -4
  81. package/dist/blueprints/GLO_documentDefinitionEntity.d.ts +0 -5
  82. package/dist/blueprints/GLO_documentDefinitionEntity.js +0 -5
  83. package/dist/blueprints/GLO_documentGroup.d.ts +0 -4
  84. package/dist/blueprints/GLO_documentGroup.js +0 -4
  85. package/dist/blueprints/GLO_documentType.d.ts +0 -12
  86. package/dist/blueprints/GLO_documentType.js +0 -11
  87. package/dist/blueprints/GLO_enterCountry.d.ts +0 -21
  88. package/dist/blueprints/GLO_enterCountry.js +0 -47
  89. package/dist/blueprints/GLO_enterDiscount.d.ts +0 -8
  90. package/dist/blueprints/GLO_enterDiscount.js +0 -9
  91. package/dist/blueprints/GLO_equipment.d.ts +0 -34
  92. package/dist/blueprints/GLO_equipment.js +0 -55
  93. package/dist/blueprints/GLO_equipmentCategory.d.ts +0 -15
  94. package/dist/blueprints/GLO_equipmentCategory.js +0 -14
  95. package/dist/blueprints/GLO_equipmentEntity.d.ts +0 -5
  96. package/dist/blueprints/GLO_equipmentEntity.js +0 -5
  97. package/dist/blueprints/GLO_equipmentServiceCategory.d.ts +0 -13
  98. package/dist/blueprints/GLO_equipmentServiceCategory.js +0 -13
  99. package/dist/blueprints/GLO_equipmentType.d.ts +0 -21
  100. package/dist/blueprints/GLO_equipmentType.js +0 -20
  101. package/dist/blueprints/GLO_equipmentTypeServiceCategory.d.ts +0 -13
  102. package/dist/blueprints/GLO_equipmentTypeServiceCategory.js +0 -12
  103. package/dist/blueprints/GLO_fieldInputValidation.d.ts +0 -46
  104. package/dist/blueprints/GLO_fieldInputValidation.js +0 -73
  105. package/dist/blueprints/GLO_formula.d.ts +0 -9
  106. package/dist/blueprints/GLO_formula.js +0 -9
  107. package/dist/blueprints/GLO_gang.d.ts +0 -12
  108. package/dist/blueprints/GLO_gang.js +0 -12
  109. package/dist/blueprints/GLO_holiday.d.ts +0 -7
  110. package/dist/blueprints/GLO_holiday.js +0 -8
  111. package/dist/blueprints/GLO_journey.d.ts +0 -18
  112. package/dist/blueprints/GLO_journey.js +0 -24
  113. package/dist/blueprints/GLO_journeyStop.d.ts +0 -32
  114. package/dist/blueprints/GLO_journeyStop.js +0 -44
  115. package/dist/blueprints/GLO_layout.d.ts +0 -6
  116. package/dist/blueprints/GLO_layout.js +0 -6
  117. package/dist/blueprints/GLO_logging.d.ts +0 -9
  118. package/dist/blueprints/GLO_logging.js +0 -12
  119. package/dist/blueprints/GLO_logisticConnection.d.ts +0 -10
  120. package/dist/blueprints/GLO_logisticConnection.js +0 -11
  121. package/dist/blueprints/GLO_logisticConnectionType.d.ts +0 -5
  122. package/dist/blueprints/GLO_logisticConnectionType.js +0 -5
  123. package/dist/blueprints/GLO_logisticContract.d.ts +0 -28
  124. package/dist/blueprints/GLO_logisticContract.js +0 -80
  125. package/dist/blueprints/GLO_logisticContractDetail.d.ts +0 -42
  126. package/dist/blueprints/GLO_logisticContractDetail.js +0 -122
  127. package/dist/blueprints/GLO_logisticContractDetailHandling.d.ts +0 -11
  128. package/dist/blueprints/GLO_logisticContractDetailHandling.js +0 -14
  129. package/dist/blueprints/GLO_logisticContractDetailItem.d.ts +0 -5
  130. package/dist/blueprints/GLO_logisticContractDetailItem.js +0 -8
  131. package/dist/blueprints/GLO_logisticContractItem.d.ts +0 -14
  132. package/dist/blueprints/GLO_logisticContractItem.js +0 -40
  133. package/dist/blueprints/GLO_logisticContractItemActivity.d.ts +0 -4
  134. package/dist/blueprints/GLO_logisticContractItemActivity.js +0 -4
  135. package/dist/blueprints/GLO_logisticContractItemSurcharge.d.ts +0 -7
  136. package/dist/blueprints/GLO_logisticContractItemSurcharge.js +0 -7
  137. package/dist/blueprints/GLO_logisticContractItemSurchargeItem.d.ts +0 -4
  138. package/dist/blueprints/GLO_logisticContractItemSurchargeItem.js +0 -4
  139. package/dist/blueprints/GLO_logisticContractReference.d.ts +0 -4
  140. package/dist/blueprints/GLO_logisticContractReference.js +0 -4
  141. package/dist/blueprints/GLO_logisticContractVolumeConstraint.d.ts +0 -9
  142. package/dist/blueprints/GLO_logisticContractVolumeConstraint.js +0 -8
  143. package/dist/blueprints/GLO_logisticLocation.d.ts +0 -7
  144. package/dist/blueprints/GLO_logisticLocation.js +0 -7
  145. package/dist/blueprints/GLO_logisticPriceRequestDetailExternalPrice.d.ts +0 -19
  146. package/dist/blueprints/GLO_logisticPriceRequestDetailExternalPrice.js +0 -30
  147. package/dist/blueprints/GLO_logisticPurchaseOrder.d.ts +0 -4
  148. package/dist/blueprints/GLO_logisticPurchaseOrder.js +0 -4
  149. package/dist/blueprints/GLO_logistic_waiting_hours.d.ts +0 -6
  150. package/dist/blueprints/GLO_logistic_waiting_hours.js +0 -6
  151. package/dist/blueprints/GLO_operationalDefault.d.ts +0 -23
  152. package/dist/blueprints/GLO_operationalDefault.js +0 -25
  153. package/dist/blueprints/GLO_outputDetailMail.d.ts +0 -14
  154. package/dist/blueprints/GLO_outputDetailMail.js +0 -13
  155. package/dist/blueprints/GLO_postalcode.d.ts +0 -6
  156. package/dist/blueprints/GLO_postalcode.js +0 -6
  157. package/dist/blueprints/GLO_priceDependency.d.ts +0 -5
  158. package/dist/blueprints/GLO_priceDependency.js +0 -4
  159. package/dist/blueprints/GLO_priceEntry.d.ts +0 -17
  160. package/dist/blueprints/GLO_priceEntry.js +0 -17
  161. package/dist/blueprints/GLO_priceRequest.d.ts +0 -8
  162. package/dist/blueprints/GLO_priceRequest.js +0 -20
  163. package/dist/blueprints/GLO_priceRequestLine.d.ts +0 -12
  164. package/dist/blueprints/GLO_priceRequestLine.js +0 -17
  165. package/dist/blueprints/GLO_principal.d.ts +0 -9
  166. package/dist/blueprints/GLO_principal.js +0 -13
  167. package/dist/blueprints/GLO_printPopup.d.ts +0 -10
  168. package/dist/blueprints/GLO_printPopup.js +0 -62
  169. package/dist/blueprints/GLO_production.d.ts +0 -9
  170. package/dist/blueprints/GLO_production.js +0 -9
  171. package/dist/blueprints/GLO_productionLineMaterial.d.ts +0 -8
  172. package/dist/blueprints/GLO_productionLineMaterial.js +0 -13
  173. package/dist/blueprints/GLO_productionMaterial.d.ts +0 -5
  174. package/dist/blueprints/GLO_productionMaterial.js +0 -5
  175. package/dist/blueprints/GLO_purchaseCosts.d.ts +0 -6
  176. package/dist/blueprints/GLO_purchaseCosts.js +0 -9
  177. package/dist/blueprints/GLO_purchaseInvoice.d.ts +0 -12
  178. package/dist/blueprints/GLO_purchaseInvoice.js +0 -25
  179. package/dist/blueprints/GLO_purchaseInvoiceLine.d.ts +0 -8
  180. package/dist/blueprints/GLO_purchaseInvoiceLine.js +0 -13
  181. package/dist/blueprints/GLO_purchaseOrder.d.ts +0 -14
  182. package/dist/blueprints/GLO_purchaseOrder.js +0 -25
  183. package/dist/blueprints/GLO_purchaseOrderLine.d.ts +0 -10
  184. package/dist/blueprints/GLO_purchaseOrderLine.js +0 -24
  185. package/dist/blueprints/GLO_purchasePrices.d.ts +0 -10
  186. package/dist/blueprints/GLO_purchasePrices.js +0 -10
  187. package/dist/blueprints/GLO_quotation.d.ts +0 -12
  188. package/dist/blueprints/GLO_quotation.js +0 -32
  189. package/dist/blueprints/GLO_quotationLine.d.ts +0 -12
  190. package/dist/blueprints/GLO_quotationLine.js +0 -28
  191. package/dist/blueprints/GLO_receipt.d.ts +0 -13
  192. package/dist/blueprints/GLO_receipt.js +0 -17
  193. package/dist/blueprints/GLO_receiptFromTempReceipt.d.ts +0 -8
  194. package/dist/blueprints/GLO_receiptFromTempReceipt.js +0 -8
  195. package/dist/blueprints/GLO_receiptLine.d.ts +0 -22
  196. package/dist/blueprints/GLO_receiptLine.js +0 -28
  197. package/dist/blueprints/GLO_relationAddress.d.ts +0 -26
  198. package/dist/blueprints/GLO_relationAddress.js +0 -58
  199. package/dist/blueprints/GLO_relationBankAccount.d.ts +0 -9
  200. package/dist/blueprints/GLO_relationBankAccount.js +0 -9
  201. package/dist/blueprints/GLO_relationContact.d.ts +0 -23
  202. package/dist/blueprints/GLO_relationContact.js +0 -45
  203. package/dist/blueprints/GLO_relationGroupType.d.ts +0 -7
  204. package/dist/blueprints/GLO_relationGroupType.js +0 -6
  205. package/dist/blueprints/GLO_relations.d.ts +0 -67
  206. package/dist/blueprints/GLO_relations.js +0 -186
  207. package/dist/blueprints/GLO_relationtype.d.ts +0 -15
  208. package/dist/blueprints/GLO_relationtype.js +0 -31
  209. package/dist/blueprints/GLO_remarkType.d.ts +0 -10
  210. package/dist/blueprints/GLO_remarkType.js +0 -9
  211. package/dist/blueprints/GLO_remarkTypeDefaultValue.d.ts +0 -4
  212. package/dist/blueprints/GLO_remarkTypeDefaultValue.js +0 -14
  213. package/dist/blueprints/GLO_remarkTypeEntityType.d.ts +0 -10
  214. package/dist/blueprints/GLO_remarkTypeEntityType.js +0 -9
  215. package/dist/blueprints/GLO_representative.d.ts +0 -7
  216. package/dist/blueprints/GLO_representative.js +0 -6
  217. package/dist/blueprints/GLO_salesInvoice.d.ts +0 -9
  218. package/dist/blueprints/GLO_salesInvoice.js +0 -15
  219. package/dist/blueprints/GLO_salesInvoiceLine.d.ts +0 -9
  220. package/dist/blueprints/GLO_salesInvoiceLine.js +0 -13
  221. package/dist/blueprints/GLO_salesOrder.d.ts +0 -13
  222. package/dist/blueprints/GLO_salesOrder.js +0 -25
  223. package/dist/blueprints/GLO_salesOrderLine.d.ts +0 -13
  224. package/dist/blueprints/GLO_salesOrderLine.js +0 -34
  225. package/dist/blueprints/GLO_stockCorrection.d.ts +0 -14
  226. package/dist/blueprints/GLO_stockCorrection.js +0 -24
  227. package/dist/blueprints/GLO_stopSchedule.d.ts +0 -4
  228. package/dist/blueprints/GLO_stopSchedule.js +0 -4
  229. package/dist/blueprints/GLO_supplierArticle.d.ts +0 -8
  230. package/dist/blueprints/GLO_supplierArticle.js +0 -8
  231. package/dist/blueprints/GLO_tclSetting.d.ts +0 -6
  232. package/dist/blueprints/GLO_tclSetting.js +0 -6
  233. package/dist/blueprints/GLO_todo.d.ts +0 -10
  234. package/dist/blueprints/GLO_todo.js +0 -21
  235. package/dist/blueprints/GLO_todoSchedule.d.ts +0 -23
  236. package/dist/blueprints/GLO_todoSchedule.js +0 -79
  237. package/dist/blueprints/GLO_tractionDistance.d.ts +0 -6
  238. package/dist/blueprints/GLO_tractionDistance.js +0 -6
  239. package/dist/blueprints/GLO_transportOrder.d.ts +0 -4
  240. package/dist/blueprints/GLO_transportOrder.js +0 -4
  241. package/dist/blueprints/GLO_transportPrice.d.ts +0 -18
  242. package/dist/blueprints/GLO_transportPrice.js +0 -34
  243. package/dist/blueprints/GLO_transportRequirement.d.ts +0 -18
  244. package/dist/blueprints/GLO_transportRequirement.js +0 -32
  245. package/dist/blueprints/GLO_transportRequirementContainer.d.ts +0 -8
  246. package/dist/blueprints/GLO_transportRequirementContainer.js +0 -8
  247. package/dist/blueprints/GLO_transportRequirementGoods.d.ts +0 -33
  248. package/dist/blueprints/GLO_transportRequirementGoods.js +0 -51
  249. package/dist/blueprints/GLO_transportScenarioExecutionLeg.d.ts +0 -6
  250. package/dist/blueprints/GLO_transportScenarioExecutionLeg.js +0 -6
  251. package/dist/blueprints/GLO_transportStock.d.ts +0 -4
  252. package/dist/blueprints/GLO_transportStock.js +0 -4
  253. package/dist/blueprints/GLO_visit.d.ts +0 -9
  254. package/dist/blueprints/GLO_visit.js +0 -10
  255. package/dist/blueprints/GLO_warehouseMove.d.ts +0 -9
  256. package/dist/blueprints/GLO_warehouseMove.js +0 -9
  257. package/dist/blueprints/GLO_warehouseOrderSubline.d.ts +0 -6
  258. package/dist/blueprints/GLO_warehouseOrderSubline.js +0 -11
  259. package/dist/blueprints/GLO_workflowLoggingTable.d.ts +0 -20
  260. package/dist/blueprints/GLO_workflowLoggingTable.js +0 -20
  261. package/dist/blueprints/GLO_workflowVerification.d.ts +0 -10
  262. package/dist/blueprints/GLO_workflowVerification.js +0 -19
  263. package/dist/blueprints/GLO_zone.d.ts +0 -9
  264. package/dist/blueprints/GLO_zone.js +0 -9
  265. package/dist/blueprints/GLO_zone_postalcode.d.ts +0 -12
  266. package/dist/blueprints/GLO_zone_postalcode.js +0 -10
  267. package/dist/blueprints/GLO_zone_type.d.ts +0 -8
  268. package/dist/blueprints/GLO_zone_type.js +0 -7
  269. package/dist/blueprints/GLT_goods.d.ts +0 -2
  270. package/dist/blueprints/GLT_goods.js +0 -12
  271. package/dist/commands/FOB_commands.d.ts +0 -124
  272. package/dist/commands/FOB_commands.js +0 -211
  273. package/dist/commands/GLJ_commands.d.ts +0 -28
  274. package/dist/commands/GLJ_commands.js +0 -40
  275. package/dist/commands/GLO_commands.d.ts +0 -685
  276. package/dist/commands/GLO_commands.js +0 -2315
  277. package/dist/commands/GLS_commands.d.ts +0 -63
  278. package/dist/commands/GLS_commands.js +0 -103
  279. package/dist/commands/GLT_commands.d.ts +0 -78
  280. package/dist/commands/GLT_commands.js +0 -148
  281. package/dist/commands/POR_commands.d.ts +0 -85
  282. package/dist/commands/POR_commands.js +0 -122
  283. package/dist/config.d.ts +0 -9
  284. package/dist/config.js +0 -115
  285. package/dist/index.d.ts +0 -2
  286. package/dist/index.js +0 -15
  287. package/dist/plugins/prometheusWriter.d.ts +0 -15
  288. package/dist/plugins/prometheusWriter.js +0 -111
  289. package/dist/register.d.ts +0 -8
  290. package/dist/register.js +0 -23
  291. package/dist/tsHelper.d.ts +0 -161
  292. package/dist/tsHelper.js +0 -294
  293. package/dist/types.d.ts +0 -363
  294. package/dist/types.js +0 -4
  295. package/dist/websocketDetector.d.ts +0 -71
  296. package/dist/websocketDetector.js +0 -1593
@@ -1,4 +0,0 @@
1
- export type objLogisticContractItemSurchargeItem = {
2
- articleCode?: string;
3
- };
4
- export declare const GLO_enterLogisticContractItemSurchargeItem: (obj: objLogisticContractItemSurchargeItem) => void;
@@ -1,4 +0,0 @@
1
- export const GLO_enterLogisticContractItemSurchargeItem = (obj) => {
2
- const formName = 'ng$logistic_contract_item_surcharge_item_dtl';
3
- cy.GLO_popupWindow([formName, 'btn_select_article'], obj.articleCode);
4
- };
@@ -1,4 +0,0 @@
1
- export type objLogisticContractReference = {
2
- blanketPurchaseOrderNr?: string | JQuery;
3
- };
4
- export declare const GLO_enterLogisticContractReference: (obj: objLogisticContractReference) => void;
@@ -1,4 +0,0 @@
1
- export const GLO_enterLogisticContractReference = (obj) => {
2
- const formName = 'ng$logistic_contract_reference_dtl';
3
- cy.GLO_addInput([formName, 'blanket_purchase_order_id'], obj.blanketPurchaseOrderNr);
4
- };
@@ -1,9 +0,0 @@
1
- import type { CheckState } from '../tsHelper.js';
2
- export type objLogisticContractVolumeConstraint = {
3
- fromCountry?: string;
4
- toCountry?: string;
5
- period?: string;
6
- limit?: string;
7
- flagActive?: CheckState;
8
- };
9
- export declare const GLO_enterLogisticContractVolumeConstraint: (obj: objLogisticContractVolumeConstraint) => void;
@@ -1,8 +0,0 @@
1
- export const GLO_enterLogisticContractVolumeConstraint = (obj) => {
2
- const formName = 'ng$logistic_contract_volume_constraint_dtl';
3
- cy.GLO_popupWindow([formName, 'from_country_id'], obj.fromCountry);
4
- cy.GLO_popupWindow([formName, 'to_country_id'], obj.toCountry);
5
- cy.GLO_addInput([formName, 'period'], obj.period);
6
- cy.GLO_addInput([formName, 'limit'], obj.limit);
7
- cy.GLO_checkbox([formName, 'flag_active'], obj.flagActive);
8
- };
@@ -1,7 +0,0 @@
1
- export type objLogisticLocation = {
2
- locationCode?: string;
3
- locationName?: string;
4
- LogisticLocationType?: string;
5
- country?: string;
6
- };
7
- export declare const GLO_enterLogisticLocation: (obj: objLogisticLocation) => void;
@@ -1,7 +0,0 @@
1
- export const GLO_enterLogisticLocation = (obj) => {
2
- const formName = 'ng$logistic_location_dtl';
3
- cy.GLO_addInput([formName, 'logistic_location_code'], obj.locationCode);
4
- cy.GLO_addInput([formName, 'logistic_location_name'], obj.locationName);
5
- cy.GLO_addInput([formName, 'logistic_location_type_id'], obj.LogisticLocationType);
6
- cy.GLO_popupWindow([formName, 'logistic_location_country_id'], obj.country);
7
- };
@@ -1,19 +0,0 @@
1
- export type objLogisticPriceRequestDetailExternalPrice = {
2
- articleCode?: string;
3
- price?: number;
4
- articleUnitCode?: string;
5
- priceUnitCode?: string;
6
- relationCode?: string;
7
- containerTypeSubType?: string;
8
- quantity?: number;
9
- handling?: string;
10
- goods?: string;
11
- logisticContainer?: string;
12
- priceArticleCode?: string;
13
- currencyCode?: string;
14
- pricePer?: number;
15
- externalPlatformRelationCode?: string;
16
- remark?: string;
17
- };
18
- export declare const GLO_enterlogisticPriceRequestDetailExternalPriceDialog: (obj: objLogisticPriceRequestDetailExternalPrice) => void;
19
- export declare const GLO_enterLogisticPriceRequestDetailExternalPrice: (obj: objLogisticPriceRequestDetailExternalPrice) => void;
@@ -1,30 +0,0 @@
1
- export const GLO_enterlogisticPriceRequestDetailExternalPriceDialog = (obj) => {
2
- const formName = 'ng$add_logistic_price_request_detail_external_price_dlg';
3
- cy.GLO_addInput([formName, 'relation_id'], obj.relationCode);
4
- cy.GLO_addInput([formName, 'handling'], obj.handling);
5
- cy.GLO_addInput([formName, 'container_subtype'], obj.containerTypeSubType);
6
- cy.GLO_addInput([formName, 'logistic_container'], obj.logisticContainer);
7
- cy.GLO_addInput([formName, 'local_article_code'], obj.articleCode);
8
- cy.GLO_addInput([formName, 'quantity'], obj.quantity);
9
- cy.GLO_addInput([formName, 'price'], obj.price);
10
- cy.GLO_addInput([formName, 'articleunit_id'], obj.articleUnitCode);
11
- cy.GLO_addInput([formName, 'price_per_unit_id'], obj.priceUnitCode);
12
- cy.GLO_clickButton([formName, 'btn_add']);
13
- };
14
- export const GLO_enterLogisticPriceRequestDetailExternalPrice = (obj) => {
15
- const formName = 'ng$logistic_price_request_detail_external_price_dtl';
16
- cy.GLO_addInput([formName, 'handling'], obj.handling);
17
- cy.GLO_addInput([formName, 'goods'], obj.goods);
18
- cy.GLO_popupWindow([formName, 'article'], obj.articleCode);
19
- cy.GLO_addInput([formName, 'logistic_container'], obj.logisticContainer);
20
- cy.GLO_addInput([formName, 'container_subtype'], obj.containerTypeSubType);
21
- cy.GLO_popupWindow([formName, 'price_article'], obj.priceArticleCode);
22
- cy.GLO_addInput([formName, 'quantity'], obj.quantity);
23
- cy.GLO_addInput([formName, 'articleunit_id'], obj.articleUnitCode);
24
- cy.GLO_addInput([formName, 'price'], obj.price);
25
- cy.GLO_addInput([formName, 'currency_code'], obj.currencyCode);
26
- cy.GLO_addInput([formName, 'price_per'], obj.pricePer);
27
- cy.GLO_addInput([formName, 'price_per_unit_id'], obj.priceUnitCode);
28
- cy.GLO_addInput([formName, 'external_platform_relation_code'], obj.externalPlatformRelationCode);
29
- cy.GLO_addInput([formName, 'remark'], obj.remark);
30
- };
@@ -1,4 +0,0 @@
1
- export type objLogisticPurchaseOrder = {
2
- invoiceRelation?: string;
3
- };
4
- export declare const GLO_enterLogisticPurchaseOrder: (obj: objLogisticPurchaseOrder) => void;
@@ -1,4 +0,0 @@
1
- export const GLO_enterLogisticPurchaseOrder = (obj) => {
2
- const formName = 'ng$logistic_purchase_order_dtl';
3
- cy.GLO_addInput([formName, 'invoice_relation'], obj.invoiceRelation);
4
- };
@@ -1,6 +0,0 @@
1
- export type objLogisticWaitingHours = {
2
- timeActivityCodeId?: string;
3
- logisticContrctItemId?: string;
4
- waitingHours?: string;
5
- };
6
- export declare const GLO_enterLogisticWaitingHours: (obj: objLogisticWaitingHours) => void;
@@ -1,6 +0,0 @@
1
- const formName = 'ng$logistic_waiting_hours_dtl';
2
- export const GLO_enterLogisticWaitingHours = (obj) => {
3
- cy.GLO_popupWindow([formName, 'logistic_contract_item_id'], obj.logisticContrctItemId);
4
- cy.GLO_addInput([formName, 'time_activity_code_id'], obj.timeActivityCodeId);
5
- cy.GLO_addInput([formName, 'waiting_hours'], obj.waitingHours);
6
- };
@@ -1,23 +0,0 @@
1
- import { type objAddressPopup } from './GLO_addressPopup.js';
2
- type AddressType = 'Country' | 'Postalcode range' | 'Zones' | 'Single address' | 'Logistic location';
3
- export type objOperationalDefault = {
4
- company?: string;
5
- orderByCode?: string;
6
- description?: string;
7
- validFrom?: string;
8
- score?: number;
9
- ownerName?: string;
10
- address?: {
11
- fromType?: AddressType;
12
- toType?: AddressType;
13
- fromCountry?: string;
14
- toCountry?: string;
15
- fromPostalFrom?: number;
16
- fromPostalTo?: number;
17
- toAddressCodePick?: objAddressPopup;
18
- fromZone?: string;
19
- toLogisticLocation?: string;
20
- };
21
- };
22
- export declare const GLO_enterOperationalDefault: (args: objOperationalDefault) => void;
23
- export {};
@@ -1,25 +0,0 @@
1
- import { input, open } from '../tsHelper.js';
2
- import { GLO_enterAddressPopup } from './GLO_addressPopup.js';
3
- const formNameOperationalDefault = 'ng$operational_default_dtl';
4
- const formNameOperationalDefaultAddress = `${formNameOperationalDefault}_address`;
5
- export const GLO_enterOperationalDefault = (args) => {
6
- cy.GLO_addInput([formNameOperationalDefault, 'company'], args.company);
7
- cy.GLO_popupWindow([formNameOperationalDefault, 'order_by_relation_code'], args.orderByCode);
8
- cy.GLO_popupWindow([formNameOperationalDefault, 'responsible_user'], args.ownerName);
9
- cy.GLO_addInput([formNameOperationalDefault, 'description'], args.description);
10
- cy.GLO_addDate(input, [formNameOperationalDefault, 'valid_from'], args.validFrom);
11
- cy.GLO_addInput([formNameOperationalDefault, 'score_manual'], args.score);
12
- cy.GLO_selectTab([formNameOperationalDefault, 'tabs_70'], 'Addresses', open);
13
- cy.GLO_radioListCData([formNameOperationalDefaultAddress, 'from_address_data_type'], args.address.fromType);
14
- cy.GLO_radioListCData([formNameOperationalDefaultAddress, 'to_address_data_type'], args.address.toType);
15
- cy.GLO_addInput([formNameOperationalDefaultAddress, 'from_country_code'], args.address.fromCountry);
16
- cy.GLO_addInput([formNameOperationalDefaultAddress, 'to_country_code'], args.address.toCountry);
17
- cy.GLO_addInput([formNameOperationalDefaultAddress, 'from_postalcoderangefrom'], args.address.fromPostalFrom);
18
- cy.GLO_addInput([formNameOperationalDefaultAddress, 'from_postalcoderangeto'], args.address.fromPostalTo);
19
- if (args.address.toAddressCodePick) {
20
- cy.GLO_clickButton([formNameOperationalDefaultAddress, 'to_address'], 'fa-search-plus');
21
- GLO_enterAddressPopup(args.address.toAddressCodePick);
22
- }
23
- cy.GLO_addInput([formNameOperationalDefaultAddress, 'from_zone_id'], args.address.fromZone);
24
- cy.GLO_addInput([formNameOperationalDefaultAddress, 'to_logistic_location'], args.address.toLogisticLocation);
25
- };
@@ -1,14 +0,0 @@
1
- import type { CheckState } from '../tsHelper.js';
2
- export type objMail = {
3
- mailFrom?: string;
4
- mailTo?: string;
5
- mailCc?: string;
6
- mailBcc?: string;
7
- mailSubject?: string;
8
- mailMessage?: string;
9
- checkSendAsSeperate?: CheckState;
10
- checkIsEnabled?: CheckState;
11
- checkIsDefault?: CheckState;
12
- language?: string;
13
- };
14
- export declare const GLO_enterMail: (obj: objMail) => void;
@@ -1,13 +0,0 @@
1
- export const GLO_enterMail = (obj) => {
2
- const formName = 'ng$mail_output_dtl';
3
- cy.GLO_addInput([formName, 'mail_from'], obj.mailFrom);
4
- cy.GLO_addInput([formName, 'mail_to'], obj.mailTo);
5
- cy.GLO_addInput([formName, 'mail_cc'], obj.mailCc);
6
- cy.GLO_addInput([formName, 'mail_bcc'], obj.mailBcc);
7
- cy.GLO_addInput([formName, 'subject'], obj.mailSubject);
8
- cy.GLO_addInput([formName, 'mail_message'], obj.mailMessage);
9
- cy.GLO_checkbox([formName, 'send_as_separate_mail'], obj.checkSendAsSeperate);
10
- cy.GLO_checkbox([formName, 'is_enabled'], obj.checkIsEnabled);
11
- cy.GLO_checkbox([formName, 'is_default'], obj.checkIsDefault);
12
- cy.GLO_addInput([formName, 'language_code_selected'], obj.language);
13
- };
@@ -1,6 +0,0 @@
1
- export type objPostalcode = {
2
- country?: string;
3
- PC?: string;
4
- city?: string;
5
- };
6
- export declare const GLO_enterPostalcode: (obj: objPostalcode) => void;
@@ -1,6 +0,0 @@
1
- export const GLO_enterPostalcode = (obj) => {
2
- const formName = 'ng$postalcode_dtl';
3
- cy.GLO_addInput([formName, 'country_id'], obj.country);
4
- cy.GLO_addInput([formName, 'city'], obj.city);
5
- cy.GLO_addInput([formName, 'postalcode'], obj.PC);
6
- };
@@ -1,5 +0,0 @@
1
- import type { CheckState } from '../tsHelper.js';
2
- export type objPriceDependency = {
3
- readOnly?: CheckState;
4
- };
5
- export declare const GLO_enterPriceDependency: (obj: objPriceDependency) => void;
@@ -1,4 +0,0 @@
1
- const formName = 'ng$price_dependency_dtl';
2
- export const GLO_enterPriceDependency = (obj) => {
3
- cy.GLO_checkbox([formName, 'flag_readonly'], obj.readOnly);
4
- };
@@ -1,17 +0,0 @@
1
- import { type CheckState } from '../tsHelper.js';
2
- export type objPriceEntry = {
3
- validFrom?: string;
4
- validTill?: string;
5
- currency?: string;
6
- result?: number;
7
- perType?: string;
8
- priceAmount?: number;
9
- pricePerUnit?: string;
10
- minAmount?: number;
11
- maxAmount?: number;
12
- flagAccrual?: CheckState;
13
- quantity?: number;
14
- articleunit?: string;
15
- dangerousgoodsforpri?: string;
16
- };
17
- export declare const GLO_enterPriceEntry: (obj: objPriceEntry) => void;
@@ -1,17 +0,0 @@
1
- import { input } from '../tsHelper.js';
2
- const formName = 'ng$price_entry_dtl';
3
- export const GLO_enterPriceEntry = (obj) => {
4
- cy.GLO_addDate(input, [formName, 'valid_from'], obj.validFrom);
5
- cy.GLO_addDate(input, [formName, 'valid_till'], obj.validTill);
6
- cy.GLO_addInput([formName, 'currency_id'], obj.currency);
7
- cy.GLO_addInput([formName, 'result_value'], obj.result);
8
- cy.GLO_addInput(['result_value_per_unit_id'], obj.perType);
9
- cy.GLO_addInput([formName, 'min_amount'], obj.minAmount);
10
- cy.GLO_addInput([formName, 'max_amount'], obj.maxAmount);
11
- cy.GLO_checkbox([formName, 'flag_accrual'], obj.flagAccrual);
12
- if (obj.quantity) {
13
- cy.GLO_addInput(['entry_quantity'], obj.quantity);
14
- }
15
- cy.GLO_addInput(['entry_unit_id'], obj.articleunit);
16
- cy.GLO_addInput(['dynamic_attribute_dangerousgoodsforpri'], obj.dangerousgoodsforpri);
17
- };
@@ -1,8 +0,0 @@
1
- export type objPriceRequest = {
2
- requestDate?: string;
3
- dueDate?: string;
4
- validFrom?: string;
5
- validTo?: string;
6
- relationCode?: string;
7
- };
8
- export declare const GLO_enterPriceRequest$Terminal: (obj: objPriceRequest) => void;
@@ -1,20 +0,0 @@
1
- import { close, input, open } from '../tsHelper.js';
2
- const formName = 'ng$price_request_dtl';
3
- const formNameGeneralTab = 'ng$price_request_dtl_general';
4
- export const GLO_enterPriceRequest$Terminal = (obj) => {
5
- cy.GLO_addDate(input, [formName, 'request_date'], obj.requestDate);
6
- cy.GLO_addDate(input, [formName, 'target_date'], obj.dueDate);
7
- cy.GLO_addDate(input, [formName, 'valid_from'], obj.validFrom);
8
- cy.GLO_addDate(input, [formName, 'valid_till'], obj.validTo);
9
- if (obj.relationCode) {
10
- GLO_createPriceRequestLine(obj);
11
- }
12
- };
13
- const GLO_createPriceRequestLine = (obj) => {
14
- // Tab 'General'
15
- cy.GLO_selectTab([formName, 'tabs_70'], 'General', open);
16
- cy.GLO_popupWindow([formNameGeneralTab, 'btn_select_relation'], obj.relationCode);
17
- cy.GLO_checkField([formNameGeneralTab, 'relation_code'], obj.relationCode);
18
- cy.GLO_dialogChoice('OK');
19
- cy.GLO_selectTab([formName, 'tabs_70'], 'General', close);
20
- };
@@ -1,12 +0,0 @@
1
- export type objPriceRequestLine = {
2
- articleCode?: string;
3
- quantityOne?: number;
4
- quantityTwo?: number;
5
- grossPrice?: number;
6
- grossPriceTwo?: number;
7
- purchaseCost?: number;
8
- purchaseCostTwo?: number;
9
- discountTwoValue?: number;
10
- discountTwoPercentage?: number;
11
- };
12
- export declare const GLO_enterPriceRequestLine$Terminal: (obj: objPriceRequestLine) => void;
@@ -1,17 +0,0 @@
1
- export const GLO_enterPriceRequestLine$Terminal = (obj) => {
2
- const formName = 'ng$price_request_line_dtl';
3
- const qtFormName = 'ng$price_request_line_dtl_quantity';
4
- cy.GLO_popupWindow([formName, 'btn_select_article'], obj.articleCode);
5
- cy.GLO_addInput([formName, 'input_quantity_1'], obj.quantityOne);
6
- cy.GLO_addInput([formName, 'input_quantity_2'], obj.quantityTwo);
7
- cy.GLO_getElement(['ng$price_request_line_dtl', 'tabs_break_1']).within(() => {
8
- cy.GLO_addInput([qtFormName, 'gross_price'], obj.grossPrice);
9
- cy.GLO_addInput([qtFormName, 'purchase_costs_euro'], obj.purchaseCost);
10
- });
11
- cy.GLO_getElement(['ng$price_request_line_dtl', 'tabs_break_2']).within(() => {
12
- cy.GLO_addInput([qtFormName, 'gross_price'], obj.grossPriceTwo);
13
- cy.GLO_addInput([qtFormName, 'purchase_costs_euro'], obj.purchaseCostTwo);
14
- cy.GLO_addInput([qtFormName, 'discount_amount'], obj.discountTwoValue);
15
- cy.GLO_addInput([qtFormName, 'discount_percentage'], obj.discountTwoPercentage);
16
- });
17
- };
@@ -1,9 +0,0 @@
1
- export type objPrincipal = {
2
- principalCode?: string;
3
- description?: string;
4
- principalName?: string;
5
- inboundRelation?: string;
6
- internalRelation?: string;
7
- startDate?: string;
8
- };
9
- export declare const GLO_enterPrincipal: (obj: objPrincipal) => void;
@@ -1,13 +0,0 @@
1
- import { close, input, open } from '../tsHelper.js';
2
- const formPrincipal = 'ng$principal_parameters_dtl';
3
- const formPrincipalGeneral = 'ng$principal_parameters_general';
4
- export const GLO_enterPrincipal = (obj) => {
5
- cy.GLO_addInput([formPrincipal, 'principal_code'], obj.principalCode);
6
- cy.GLO_addInput([formPrincipal, 'principal_description'], obj.description);
7
- cy.GLO_addInput([formPrincipal, 'principal_name'], obj.principalName);
8
- cy.GLO_selectTab([formPrincipal, 'tabs_70'], 'General', open);
9
- cy.GLO_addInput([formPrincipalGeneral, 'inbound_relation'], obj.inboundRelation);
10
- cy.GLO_addInput([formPrincipalGeneral, 'internal_relation'], obj.internalRelation);
11
- cy.GLO_addDate(input, [formPrincipalGeneral, 'startdate'], obj.startDate);
12
- cy.GLO_selectTab([formPrincipal, 'tabs_70'], 'General', close);
13
- };
@@ -1,10 +0,0 @@
1
- export type objPrintPopup = {
2
- outputSet?: string | string[];
3
- outputDetail?: string | string[];
4
- outputChannel?: string | string[];
5
- outputDestination?: string | string[];
6
- fileName?: [fileName: string, fileType: fileType];
7
- closeOrSend?: 'close' | 'send';
8
- openPreview?: boolean;
9
- };
10
- export declare const GLO_printPopup: (obj: objPrintPopup) => void;
@@ -1,62 +0,0 @@
1
- const formName = 'ng$svy_nav_channel_output';
2
- export const GLO_printPopup = (obj) => {
3
- // Make sure print popup is fully loaded
4
- cy.get(`[data-cy="${formName}_print"]`, { timeout: 15000 }).should('not.be.empty');
5
- if (obj.outputSet && obj.outputSet.length > 0)
6
- iterateList('output_set_list', obj.outputSet);
7
- if (obj.outputDetail && obj.outputDetail.length > 0)
8
- iterateList('output_detail_list', obj.outputDetail);
9
- if (obj.outputChannel && obj.outputChannel.length > 0)
10
- iterateList('channel_list', obj.outputChannel);
11
- if (obj.outputDestination && obj.outputDestination.length > 0)
12
- iterateList('destination_list', obj.outputDestination);
13
- if (obj.openPreview) {
14
- cy.GLO_clickButton(['ng$svy_nav_channel_output', 'print_preview']);
15
- cy.GLO_clickButton(['ng$svy_nav_channel_output', 'btn_close_preview']);
16
- }
17
- if (obj.fileName) {
18
- cy.get('[data-cy="ng$svy_nav_channel_output.download_btn"] [aria-disabled="true"]', { timeout: 30000 }).should('not.exist');
19
- cy.GLO_clickButton([formName, 'download_btn']);
20
- cy.GLO_readFile(obj.fileName[0], obj.fileName[1]);
21
- cy.GLO_log(`Downloaded ${obj.fileName[0]}`);
22
- }
23
- if (obj.closeOrSend) {
24
- cy.GLO_clickButton([formName, `btn_${obj.closeOrSend}`], 'dx-button');
25
- }
26
- };
27
- const iterateList = (listName, listData) => {
28
- if (typeof listData === 'string')
29
- listData = [listData]; // Convert to array if it is a string
30
- listData = listData.map((s) => s.replace(/\s+/g, ' ').trim()); // Normalize whitespace in listData
31
- cy.GLO_getElement([formName, listName], { timeout: 10000 }).should('not.contain', 'No data to display'); // Make sure list section is fully loaded
32
- cy.GLO_getElement([formName, listName]).within(($list) => {
33
- const $checked = $list.find('.dx-checkbox-checked');
34
- const $items = $list.find('.dx-item');
35
- const checkedTexts = $checked.map((_i, el) => Cypress.$(el).closest('.dx-item').text().trim()).get();
36
- const allMatch = listData.length === checkedTexts.length && listData.every((item) => checkedTexts.includes(item));
37
- if (allMatch || (listData.length === 1 && checkedTexts.length === 1 && checkedTexts[0] === listData[0])) {
38
- // Checked items already match, skip iteration.
39
- cy.log(`All items in ${listName} already checked: ${checkedTexts.join(', ')}`);
40
- return;
41
- }
42
- cy.wrap($items).each(($item) => {
43
- // See if current checkbox is in its correct state or not to put it in the correct state
44
- const itemText = $item.text().replace(/\s+/g, ' ').trim();
45
- const $checkbox = $item.find('.dx-checkbox');
46
- const shouldBeChecked = listData.includes(itemText);
47
- const isChecked = $checkbox.hasClass('dx-checkbox-checked');
48
- if (isChecked !== shouldBeChecked) {
49
- if (!$item.hasClass('dx-state-focused'))
50
- cy.wrap($item).find('.dx-item-content').click(); // Ensure item is selected
51
- cy.wrap($item).should('have.class', 'dx-state-focused'); // Check if item is selected
52
- cy.wrap($checkbox).click();
53
- cy.wrap(null).then(() => {
54
- cy.GLO_checkLoadingIndicator();
55
- });
56
- }
57
- });
58
- // End with selecting (the first) item in the list. Needed if last iteration unchecked a checkbox.
59
- cy.wrap($items).find('.dx-item-content').contains(listData[0]).click();
60
- });
61
- cy.GLO_checkLoadingIndicator();
62
- };
@@ -1,9 +0,0 @@
1
- export type objProduction = {
2
- relationCode?: string;
3
- articleCode?: string;
4
- warehouseCode?: string;
5
- principalCode?: string;
6
- routingCode?: string;
7
- quantity?: number;
8
- };
9
- export declare const GLO_enterProduction: (obj: objProduction, formName?: string) => void;
@@ -1,9 +0,0 @@
1
- const formNameDefault = 'ng$production_dtl';
2
- export const GLO_enterProduction = (obj, formName = formNameDefault) => {
3
- cy.GLO_popupWindow([formName, 'btn_select_relation'], obj.relationCode);
4
- cy.GLO_popupWindow([formName, 'article_code'], obj.articleCode);
5
- cy.GLO_addInput([formName, 'warehouse_id'], obj.warehouseCode);
6
- cy.GLO_addInput([formName, 'ordernumber'], obj.principalCode);
7
- cy.GLO_addInput([formName, 'production_routing_id'], obj.routingCode);
8
- cy.GLO_addInput([formName, 'quantity'], obj.quantity);
9
- };
@@ -1,8 +0,0 @@
1
- export type objProductionLineMaterial = {
2
- articleCode?: string;
3
- quantity?: number;
4
- serialCode?: string;
5
- containerCode?: string;
6
- lotCode?: string;
7
- };
8
- export declare const GLO_enterProductionLineMaterial: (obj: objProductionLineMaterial) => void;
@@ -1,13 +0,0 @@
1
- import { row, skipCheck } from '../tsHelper.js';
2
- const formName = 'ng$production_line_material_dtl';
3
- export const GLO_enterProductionLineMaterial = (obj) => {
4
- cy.GLO_popupWindow([formName, 'btn_select_article'], obj.articleCode);
5
- cy.GLO_addInput([formName, 'quantity'], obj.quantity);
6
- const formnameSelectStock = 'ng$production_line_material_assign_stock_dlg';
7
- if (obj.serialCode) {
8
- cy.GLO_clickButton([formName, 'select_location_stock_id'], 'fa-search');
9
- cy.GLO_filterGrid('serial_nr', [formnameSelectStock, 'grid_location_stock'], obj.serialCode);
10
- cy.GLO_checkNumberOfRowsInGrid([formnameSelectStock, 'grid_location_stock'], 1);
11
- cy.GLO_dblClickRowInGrid(row, [formnameSelectStock, 'grid_location_stock'], 0, undefined, skipCheck);
12
- }
13
- };
@@ -1,5 +0,0 @@
1
- export type GLO_objProductionMaterial = {
2
- article?: string;
3
- quantity?: number;
4
- };
5
- export declare const GLO_enterProductionMaterial: (obj: GLO_objProductionMaterial) => void;
@@ -1,5 +0,0 @@
1
- export const GLO_enterProductionMaterial = (obj) => {
2
- const formNameProductionMaterial = 'ng$production_line_material_dtl';
3
- cy.GLO_popupWindow([formNameProductionMaterial, 'btn_select_article'], obj.article);
4
- cy.GLO_addInput([formNameProductionMaterial, 'quantity'], obj.quantity);
5
- };
@@ -1,6 +0,0 @@
1
- export type objPurchaseCosts = {
2
- purchaseCostType?: string;
3
- costType?: 'Fixed' | 'Percentage';
4
- costValue?: number;
5
- };
6
- export declare const GLO_enterPurchaseCosts: (obj: objPurchaseCosts) => void;
@@ -1,9 +0,0 @@
1
- export const GLO_enterPurchaseCosts = (obj) => {
2
- const formName = 'ng$purchase_costs_dtl';
3
- cy.GLO_addInput([formName, 'article_id'], obj.purchaseCostType);
4
- cy.GLO_addInput([formName, 'cost_type'], obj.costType);
5
- if (obj.costType === 'Fixed')
6
- cy.GLO_addInput([formName, 'cost_value'], obj.costValue);
7
- else if (obj.costType === 'Percentage')
8
- cy.GLO_addInput([formName, 'cost_value_perc'], obj.costValue);
9
- };
@@ -1,12 +0,0 @@
1
- export type objPurchaseInvoice = {
2
- supplierCode?: string;
3
- externalInvoiceNr?: string;
4
- externalInvoiceDate?: string;
5
- invoiceType?: string;
6
- totalAmountOnInvoice?: string | number;
7
- externalTotalAmountExclVat?: number;
8
- externalTotalAmountVat?: number;
9
- externalTotalAmountInclVat?: number;
10
- };
11
- export declare const GLO_enterPurchaseInvoice: (obj: objPurchaseInvoice) => void;
12
- export declare const GLO_enterPurchaseInvoice$logistics: (obj: objPurchaseInvoice) => void;
@@ -1,25 +0,0 @@
1
- import { close, equalBool, input, open } from '../tsHelper.js';
2
- export const GLO_enterPurchaseInvoice = (obj) => {
3
- const formName = 'ng$purchase_invoice_dtl';
4
- const formNameInvoiceAmount = 'ng$purchase_invoice_dtl_general';
5
- cy.GLO_addInput([formName, 'purchase_invoice_type_id'], obj.invoiceType);
6
- cy.GLO_popupWindow([formName, 'relation_code'], obj.supplierCode, 'relation_code', equalBool);
7
- cy.GLO_addInput([formName, 'external_invoice_nr'], obj.externalInvoiceNr);
8
- cy.GLO_addDate(input, [formName, 'external_invoice_date'], obj.externalInvoiceDate);
9
- // Tab is open (Invoice amounts)
10
- cy.GLO_addInput([formNameInvoiceAmount, 'total_amount_on_invoice'], obj.totalAmountOnInvoice);
11
- };
12
- export const GLO_enterPurchaseInvoice$logistics = (obj) => {
13
- const formName = 'ng$purchase_invoice$logistics_dtl';
14
- const formNameInvoiceAmounts = 'ng$purchase_invoice$logistics_dtl_invoice_amounts';
15
- cy.GLO_popupWindow([formName, 'relation_code'], obj.supplierCode);
16
- cy.GLO_addInput([formName, 'external_invoice_nr'], obj.externalInvoiceNr);
17
- cy.GLO_addDate(input, [formName, 'external_invoice_date'], obj.externalInvoiceDate);
18
- if (obj.externalTotalAmountExclVat || obj.externalTotalAmountVat || obj.externalTotalAmountInclVat) {
19
- cy.GLO_selectTab([formName, 'tabs_70'], 'Invoice amounts', open);
20
- cy.GLO_addInput([formNameInvoiceAmounts, 'external_total_amount_excl_vat_copy563'], obj.externalTotalAmountExclVat);
21
- cy.GLO_addInput([formNameInvoiceAmounts, 'total_external_amount_vat'], obj.externalTotalAmountVat);
22
- cy.GLO_addInput([formNameInvoiceAmounts, 'external_total_amount_incl_vat'], obj.externalTotalAmountInclVat);
23
- cy.GLO_selectTab([formName, 'tabs_70'], 'Invoice amounts', close);
24
- }
25
- };
@@ -1,8 +0,0 @@
1
- export type objPurchaseInvoiceLine = {
2
- articleCode?: string;
3
- quantity?: number;
4
- price?: number;
5
- vatRegime?: string;
6
- };
7
- export declare const GLO_enterPurchaseInvoiceLine: (obj: objPurchaseInvoiceLine) => void;
8
- export declare const GLO_enterPurchaseInvoiceLine$logistics: (obj: objPurchaseInvoiceLine) => void;
@@ -1,13 +0,0 @@
1
- export const GLO_enterPurchaseInvoiceLine = (obj) => {
2
- const formName = 'ng$purchase_invoiceline_dtl';
3
- cy.GLO_popupWindow([formName, 'article_code'], obj.articleCode);
4
- cy.GLO_addInput([formName, 'quantity'], obj.quantity);
5
- cy.GLO_addInput([formName, 'price'], obj.price);
6
- };
7
- export const GLO_enterPurchaseInvoiceLine$logistics = (obj) => {
8
- const formName = 'ng$purchase_invoiceline$logistics_dtl';
9
- cy.GLO_popupWindow([formName, 'article_code'], obj.articleCode);
10
- cy.GLO_addInput([formName, 'quantity'], obj.quantity);
11
- cy.GLO_addInput([formName, 'price'], obj.price);
12
- cy.GLO_addInput([formName, 'vat_regime'], obj.vatRegime);
13
- };
@@ -1,14 +0,0 @@
1
- export type objPurchaseOrder = {
2
- purchaseOrderType?: string;
3
- purchaseOrderSubType?: string;
4
- relationCode?: number | string;
5
- requestedDeliveryDate?: string;
6
- expectedDeliveryDate?: string;
7
- yourReference?: string;
8
- ourReference?: string;
9
- warehouse?: string;
10
- deliveryRelationCode?: string;
11
- deliveryRelationAddress?: string;
12
- paymentCondition?: string;
13
- };
14
- export declare const GLO_enterPurchaseOrder: (obj: objPurchaseOrder) => void;